zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

KVM don’t shut down properly

August 1, 2010 by Igor Drobot Leave a Comment

I was playing again a little bit with KVM virtualization and found one very strange thing, my KVM kills guests instead of properly shutdown.

KVM just sends an ACPI signal to the guest to tell it to shut down. Of course, this means the guest needs to do something useful when it receives the signal. By default Debian/Ubuntu guests don’t understand ACPI signals.

The solution is: install acpid in each guest.

1
aptitude update ; aptitude install acpid

aptitude update ; aptitude install acpid

After installing this, the ’shutdown’ and ‘reboot’ buttons worked perfectly!

Filed Under: Debian, Linux, Virtualization Tagged With: acpid, Debian, KVM, qemu, virtualization

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok