|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] [PATCH][RESEND] Add monitor command for system_reboot |
Date: | Wed, 08 Jul 2009 19:02:16 +0300 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 |
On 07/08/2009 06:43 PM, Ryan Harper wrote:
That suffers from the same problem as a system_reboot command in that the guest may never start the shutdown. If that's an acceptable limitation, then we might as well implement it directly in QEMU as system_reboot so its easily available to everyone. Make 'system_reboot' take an optional timeout arg (default to 60 seconds) after which it cancels its plans.This seems the most reasonable thing to me. As already mentioned, system_powerdown already is non-deterministic since the guest could ignore the ACPI event.
It could also send the guest to sleep or initiate the self destruct sequence. I don't think we should press the power button unless the user explicitly asked us to. This means we'll need a guest agent like Xen.
I believe ACPI supports additional buttons, we can add a new one and designate it as a shutdown button. It will only work with modified guests though.
-- error compiling committee.c: too many arguments to function
[Prev in Thread] | Current Thread | [Next in Thread] |