Padma Narwankar
2013-Nov-09 02:21 UTC
[libvirt-users] Unable to shutdown/reboot a SLES 10 SP4 VM
Hello, I am unable to do a graceful shutdown or reboot of SLES 10 SP4 virtual machines (Kernel version: 2.6.16.60-0.85.1-default) with virsh shutdown or virsh reboot commands. (e.g virsh shutdown "vmname" ). On issuing these commands there is no impact on the VM. Also unable to perform the shutdown or reboot operations from the menu options available on the console when accessing the VM via the virt-manager. The virsh shutdown/reboot commands and the shutdown/reboot menu operations work fine for SLES 11 SP2 VMs. I've verified that the acpi daemon is running with the SLES 10 SP4 VM linux-kb8x:~ # ps aux | grep acpi root 8 0.0 0.0 0 0 ? S< 16:27 0:00 [kacpid] root 9 0.0 0.0 0 0 ? S< 16:27 0:00 [kacpi_notify] root 1830 0.0 0.0 2688 528 ? Ss 16:27 0:00 /sbin/acpid Is there any other process that needs to running for these operations to work or is there a known issue with SLES 10 SP4? Thanks, Padmaja
Eric Blake
2013-Nov-11 15:17 UTC
Re: [libvirt-users] Unable to shutdown/reboot a SLES 10 SP4 VM
On 11/08/2013 07:21 PM, Padma Narwankar wrote:> Hello,[Can you please configure your mailer to wrap long lines? It's awkward to reply when there is no wrapping]> I am unable to do a graceful shutdown or reboot of SLES 10 SP4 virtual machines (Kernel version: 2.6.16.60-0.85.1-default) with virsh shutdown or virsh reboot commands. (e.g virsh shutdown "vmname" ). On issuing these commands there is no impact on the VM. Also unable to perform the shutdown or reboot operations from the menu options available on the console when accessing the VM via the virt-manager.'virsh shutdown' (and the virt-manager counterpart) requires guest cooperation. Not all guests are configured to react to ACPI events out of the box; sometimes installing acpid in the guest is sufficient. You may also want to consider using qemu-ga in your guest, as guest agent shutdown is more reliable than ACPI shutdown (but again, requires guest cooperation). There's nothing libvirt can do about a guest that refuses to cooperate - you'll have to solve this in your guest. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org