Description of problem: Using both virt-manager and virsh, shutting down a domain does not result in anything (tried using QEMU and QEMU-KVM) Version-Release number of selected component (if applicable): 0.4.2-1.fc9 to 0.4.3-1.fc10 How reproducible: Always Steps to Reproduce: 1. Create a virtual machine, say Foo 2. Start Foo 3. virsh shutdown Foo Actual results: "Domain Foo is being shutdown" -- but nothing happens if you're watching on the graphical console. Foo keeps running normally Expected results: Foo should receive an ACPI shutdown signal Additional info: I tried shutting down the machine (in this case, DragonFly BSD). Even when the machine is in powered-down state, the Shutdown button does not do anything and I had to 'destroy' the machine (perhaps that option should be renamed. Force shutdown?)
yes confirmed, I have noticed that on F-9/KVM too but didn't chase it yet, Daniel
This is a KVM problem. The KVM 65 in Fedora 9 doesn't send the ACPI power off event correctly. I tested rawhide KVM-70 and it works as required. F9 needs an updated KVM package....
For the record, virsh will use qemu's system_powerdown monitor command to accomplish that, right ? I'm trying it in kvm-userspace.git right now, and it does not seem to be working. (i.e.: machine keeps running). Dan, what are you seeing exactly in rawhide to make you believe it works there? Is the machine properly stopped at there?
Yes, libvirt will invoke system_powerdown, which sends an ACPI event. You need to make sure your VM does *not* pass -no-acpi to QEMU. Depending on the guest, you may also need acpi=force on the guest kernel command line. The guest also needs to be runnning acpid daemon. For the record I used a RHEL-5.2 guest, on i386, and had acpi=force. With kvm-65 shutdown didn't work (no acpi event appeaed in /proc/interrupts). With kvm-70 from rawhide re-built on F9, it correctly shutdown.
Please check if http://koji.fedoraproject.org/koji/taskinfo?taskID=789251 fixes this problem.
I'm currently on Rawhide; the binary RPM does not install, and rebuilding the SRPM fails: http://koji.fedoraproject.org/koji/taskinfo?taskID=789365 due to Rawhide RPM's stricter constraint on patch fuzziness.
Confirmed that kvm-65-8_private_glommer_acpi.fc9.x86_64.rpm fixes the problem - please build for updates
kvm-65-9.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/kvm-65-9.fc9
kvm-65-9.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update kvm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-7437
kvm-65-9.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.