7

I'm always wondering if power management facilities in a virtual machine is necessary?

i.e acpid.

And I'm not sure if they still function in a virtual machine.

8

Strictly speaking, no you don't need acpid in a virtual machine nor on a real system. But you should install acpid in a VM as it typically handles the power button press which is simulated by the hypervisor if you shutdown a VM.

So for practically reasons, yes you should install acpid on a VM.

P.S: acpid doesn't really do power management

  • 1
    This can be really annoying. As it's not part of Windows' genome (at least the earlier versions) to behave well in a VM I one installed W2K or XP in a VM without ACPI (it's no fun on the Windows part to change that later). The result was that the VM used up a whole CPU core while saying: "You may turn the computer off now". – Hauke Laging Apr 27 '13 at 9:47
5

I would leave it. I believe ACPI does more than just power management. For example I believe there is a ACPI event that is sent in via the VM Host to the guests when you want them to shutdown or reboot.

Excerpt from Manual:KVM:

shut-down

issue ACPI shut-down command to KVM guest, if guest does not support ACPI, command have no effect.

reboot

issue ACPI shut-down command to KVM guest, if guest does not support ACPI, command have no effect. After KVM guest is shut-downed it will be automatically started by host when shut down is complete.

References

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.