On Fri, Aug 01, 2008 at 01:22:43PM -0400, Bryan Kearney wrote:
How does virt-manager send shutdown to guests? Does it depend on if
you
are running kvm or xen? I have been building images with acpid enabled
and acpi=force on the command line. After upgrading to f9 and running
kvm my images no longer respond to shutdown. Is there a tweak which I
have missed?
virt-manager just invokes the shutdown API in libvirt, which has different
impls depending on the underlying hypervisor. In KVM case it invokes the
QEMU 'system_shutdown' command, which then triggers an ACPI power button
event in the guest. You need to make sure your guest has the <acpi/>
feature enabled in its XML config of course, and that the kernel has
activated ACPI (may need the acpi=force param), and that acpid is running.
IIRC certainly KVM versions have a bug wrt this causing it not to work
Daniel
--
|: Red Hat, Engineering, London -o-
http://people.redhat.com/berrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org -o-
http://ovirt.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|