[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: "Daniel P. Berrange" <berrange redhat com>
- To: Guido Guenther <agx sigxcpu org>
- Cc: libvir-list redhat com
- Subject: Re: [Libvir] [patch] qemu/kvm: use_system_powerdown instead of killing the vm hard
- Date: Tue, 8 Jan 2008 16:37:02 +0000
On Tue, Jan 08, 2008 at 12:15:56PM +0100, Guido Guenther wrote:
> Hi,
> currently domainShutdown kills qemu/kvm instances hard which is not very
> filesystem friendly. However recent kvm git acquired system_powerdown to
> shutdown the system gracefully by simulating an acpi power button press.
> We can now use this in libvirt:
Excellant, although we still need to use the 'kill' approach for any VMs
which don't support the 'system_powerdown' monitor command. We should
probably try 'system_powerdown' and if that gets rejected then fallback
to just killing it. Figuring out if its rejected could be fun though;
Would have to look at the returned 'info' for an error message - hopefully
QEMU has one.
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]