There is a quite common problem with kvm and virsh shutdown which is likely not working with all virtual guests. In my case, I’m using Ubuntu 10.04 LTS and 12.04 LTS as host OS. All guests are working with ubuntu or debian, too.
If your guests are ignoring the virsh-shutdown command, check these indicators:
- Enable ACPI in the guest configuration file
... <features> ... <acpi/> ... </features> ...
- Install acpid on the guest
# apt-get install acpid
- Install acpi-support-base package
# apt-get install acpi-support-base
Next time, I will show how to get the virsh console command working properly.
If you also want to get the virsh console command working properly read the article Get virsh console working.