[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot |
Date: |
Wed, 8 Jul 2009 14:26:23 +0100 |
User-agent: |
Mutt/1.4.1i |
On Wed, Jul 08, 2009 at 08:05:20AM -0500, Anthony Liguori wrote:
> Gleb Natapov wrote:
> >On Tue, Jul 07, 2009 at 02:26:31PM -0500, Ryan Harper wrote:
> >
> >>Add a new monitor command (system_reboot) for a soft reboot which uses
> >>system_powerdown to trigger ACPI shutdown in the guest and once shutdown
> >>is complete, trigger a reset instead of exiting qemu.
> >>
> >>Depends on commit a6d6552426dcbf726e5549f08b70c9318d6be14b which enabled
> >>ACPI power button support.
> >>
> >>V2:
> >> -added reset handler to lower the reboot flag on reset.
> >>
> >OS is free to ignore ACPI shutdown request and in this case
> >reboot_requested will not be reset. On the next user initiated
> >guest power down qemu will reboot instead of exit.
> >
>
> Indeed. This is what has kept me from applying this but I just can't
> think of any better solution.
>
> Any ideas?
Only other option I think of is a pure paravirt shutdown/reboot
handler, ala Xen. That sucks in different ways though, namely
needing a driver in the guest, which is probably worse.
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot, Gleb Natapov, 2009/07/08
- Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot, Anthony Liguori, 2009/07/08
- Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot,
Daniel P. Berrange <=
- Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot, Anthony Liguori, 2009/07/08
- Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot, Daniel P. Berrange, 2009/07/08
- Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot, Anthony Liguori, 2009/07/08
- Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot, Ryan Harper, 2009/07/08
- Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot, Anthony Liguori, 2009/07/08
- Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot, Ryan Harper, 2009/07/08
- Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot, Anthony Liguori, 2009/07/08
Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot, Avi Kivity, 2009/07/08
Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot, Amit Shah, 2009/07/16
Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot, Jamie Lokier, 2009/07/16