[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] Allow QEMUMachine to override reset sequenc
From: |
David Gibson |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] Allow QEMUMachine to override reset sequencing |
Date: |
Fri, 3 Aug 2012 12:25:24 +1000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
Re: [Qemu-devel] [PATCH 1/2] Allow QEMUMachine to override reset sequencing, Lluís Vilanova, 2012/08/02
- Re: [Qemu-devel] [PATCH 1/2] Allow QEMUMachine to override reset sequencing,
David Gibson <=