[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Libvir] [patch] qemu/kvm: use_system_powerdown instead of killing the vm hard
- From: Guido Guenther <agx sigxcpu org>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [Libvir] [patch] qemu/kvm: use_system_powerdown instead of killing the vm hard
- Date: Wed, 9 Jan 2008 16:11:44 +0100
On Tue, Jan 08, 2008 at 06:34:36PM +0000, Daniel P. Berrange wrote:
> Fair enough. Any idea if the 'system_reboot' command is also wired up
> in KVM yet ? We should probably just add code to call it anyway since
> it'll be near identical code to that which you used for shutdown, and
> its better than leaving domainReboot driver method as a no-op.
There's no system_reboot in either kvm nor qemu. I see two solutions
for wireing up domainReboot(). Either qemu/kvm accepts a parameter to
system_powerdown to signal that we should restart the vm instead of
simply shutting down or we simply send
"sendkey ctrl-alt-delete"
to the monitor which might be very fragile though. Both solutions depend
on the os in the vm doing the right thing (acpi event handling in the
first case).
Cheers,
-- Guido
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]