QEMU/KVM ACPI Guest Shutdown: Difference between revisions

From Proxmox VE
Jump to navigation Jump to search
No edit summary
(Added to Qemu/KVM and added headlines + cleaned up language a bit. todo: adding something about ACPI to pve-docs?)
Line 1: Line 1:
When using Fully Virtualized Machines (KVM) Proxmox will use ACPI to send clean shutdown signals to the Virtual Machines via the web gui and scripts.  Your Virtual Machines need to support ACPI to be able to shut down clean.
= Introduction =


For Linux Virtual Machines, make sure that the ACPI event daemon is installed and running.  Desktop distributions should already have it, but minimal or Server distributions may not.
Proxmox VE uses ACPI to send clean shutdown signals to the Virtual Machines (QEMU/KVM).
Thus your Virtual Machines need to support ACPI so it can react to such signals.


For Ubuntu and Debian, all versions, install the package acpid in the Virtual Machine.
You should check if your VM reacts properly to the ACPI signals


For Windows, make sure an ACPI hal is installed.  
= Linux =
 
For Linux Virtual Machines, make sure that the ACPI event daemon is installed and running. Desktop distributions should already have it, but minimal or Server distributions may not.
 
For Ubuntu and Debian install the 'acpid' package in the Virtual Machine.
 
= Windows =
 
For Windows, make sure an ACPI HAL is installed.  


On Windows server 2003/8 also make sure to change policy to allow shutdown without being logged into the system.
On Windows server 2003/8 also make sure to change policy to allow shutdown without being logged into the system.
Start->Run:
Start -> Run:
<pre>gpedit.msc</pre>
  gpedit.msc
 
Find the following key:
Find the following key:
<pre>Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Shutdown: Allow system to be shut down without having to log on</pre>
Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Shutdown: Allow system to be shut down without having to log on
Change it to Enabled.  
 
Change it to Enabled.


===Windows HAL Links===
===Windows HAL Links===
Line 19: Line 30:


[[Category: HOWTO]]
[[Category: HOWTO]]
[[Category: Qemu/KVM]]

Revision as of 11:57, 4 October 2016

Introduction

Proxmox VE uses ACPI to send clean shutdown signals to the Virtual Machines (QEMU/KVM). Thus your Virtual Machines need to support ACPI so it can react to such signals.

You should check if your VM reacts properly to the ACPI signals

Linux

For Linux Virtual Machines, make sure that the ACPI event daemon is installed and running. Desktop distributions should already have it, but minimal or Server distributions may not.

For Ubuntu and Debian install the 'acpid' package in the Virtual Machine.

Windows

For Windows, make sure an ACPI HAL is installed.

On Windows server 2003/8 also make sure to change policy to allow shutdown without being logged into the system. Start -> Run:

 gpedit.msc

Find the following key:

Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Shutdown: Allow system to be shut down without having to log on

Change it to Enabled.

Windows HAL Links