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 -=| -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list