Add ACPI shutdown sequence
authorPablo de Oliveira <pablo@sifflez.org>
Mon, 17 Mar 2014 18:01:59 +0000 (19:01 +0100)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 18 Mar 2014 15:33:10 +0000 (08:33 -0700)
commitf5fa837e313d018a945eaedd28352e7f24e5b1a6
tree274f5d287eef20dec816379270255ae6eb686c15
parent231e61ee5370c93ba90af9525c0a9df34d87f0f1
Add ACPI shutdown sequence

On QEMU emulator version 1.7.0, the previous shutdown sequence (writing
`shutdown` to 0x8900), is not working properly.

This patch adds support for the ACPI shutdown code which works on qemu
1.7.0 and preserves the old sequence for compatibility.
src/devices/shutdown.c