Product SiteDocumentation Site

9.9. Gracefully shutting down guests

Installing virtualized Fedora X (was RHEL6) guests with the Minimal installation option will not install the acpid package.
Without the acpid package, the Fedora X (was RHEL6) guest does not shut down when the virsh shutdown command is executed. The virsh shutdown command is designed to gracefully shut down guests.
Using virsh shutdown is easier and safer for system administration. Without graceful shut down with the virsh shutdown command a system administrator must log into a guest manually or send the Ctrl-Alt-Del key combination to each guest.

Note

Other virtualized operating systems may be affected by this issue. The virsh shutdown command requires that the guest operating system is configured to handle ACPI shut down requests. Many operating systems require additional configuration on the guest operating system to accept ACPI shut down requests.
Procedure 9.1. Workaround for Fedora X (was RHEL6)
  1. Install the acpid package

    The acpid service listen and processes ACPI requests.
    Log into the guest and install the acpid package on the guest:
    # yum install acpid
  2. Enable the acpid service

    Set the acpid service to start during the guest boot sequence and start the service:
    # chkconfig acpid on
    # service acpid start
The guest is now configured to shut down when the virsh shutdown command is used.