On Thu, Aug 02, 2012 at 06:00:06PM +0300, Lluís Vilanova wrote: > David Gibson writes: > [...] > > diff --git a/vl.c b/vl.c > > index 9fea320..ac47a7c 100644 > > --- a/vl.c > > +++ b/vl.c > > @@ -1410,6 +1410,14 @@ void qemu_system_reset(bool report) > > cpu_synchronize_all_post_reset(); > > } > > > +void qemu_system_reset(bool report) > > +{ > > + if (current_machine->reset) > > + current_machine->reset(report); > > + else > > + qemu_default_system_reset(report); > > +} > > + > > void qemu_system_reset_request(void) > > { > > if (no_reboot) { > > Nitpick: you're missing the braces.
Ah, oops, thank you. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson