qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot
Date: Wed, 08 Jul 2009 08:05:20 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

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?

The drive behind implementing this feature is so that we can implement a proper virDomainReboot in libvirt.

--
Regards,

Anthony Liguori





reply via email to

[Prev in Thread] Current Thread [Next in Thread]