]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ppc/pnv.c
ppc/pnv: generate an OEM SEL event on shutdown
authorCédric Le Goater <clg@kaod.org>
Tue, 11 Apr 2017 15:30:06 +0000 (17:30 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 26 Apr 2017 02:41:56 +0000 (12:41 +1000)
commitbce0b6915971968e3d00e13af5369f6df3daaeb6
tree3fc271cc3c7b49b9d84a34c404f230097186ac36
parentaeaef83dabfec1c1666e65a0c5375983c7a23089
ppc/pnv: generate an OEM SEL event on shutdown

OpenPOWER systems expect to be notified with such an event before a
shutdown or a reboot. An OEM SEL message is sent with specific
identifiers and a user data containing the request : OFF or REBOOT.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv.c
hw/ppc/pnv_bmc.c
include/hw/ppc/pnv.h