summaryrefslogtreecommitdiffstats
path: root/include/standard-headers/linux/input-event-codes.h
diff options
context:
space:
mode:
authorGreg Kurz2020-01-07 17:32:40 +0100
committerDavid Gibson2020-01-08 01:06:42 +0100
commitfcb7e4a8f4e220306ac0c5acda66ca255d79f658 (patch)
tree3450f360a31b015017dd0df27d21f4773c75add6 /include/standard-headers/linux/input-event-codes.h
parentpnv/xive: Deduce the PnvXive pointer from XiveTCTX::xptr (diff)
downloadqemu-fcb7e4a8f4e220306ac0c5acda66ca255d79f658.tar.gz
qemu-fcb7e4a8f4e220306ac0c5acda66ca255d79f658.tar.xz
qemu-fcb7e4a8f4e220306ac0c5acda66ca255d79f658.zip
pnv/psi: Add device reset hook
And call it from a QEMU reset handler. This allows each PNV child class to override the reset hook if needed, eg. POWER8 doesn't but POWER9 does. The proper way to do that would be to use device_class_set_parent_reset(), but defining a Pnv8PsiClass and a Pnv9PsiClass types with a parent_reset pointer adds a fair amount of code. Calling pnv_psi_reset() explicitely is fine for now. A subsequent patch will consolidate the call to qemu_register_reset() in a single place. Signed-off-by: Greg Kurz <groug@kaod.org> Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <157841476035.66386.17838417527621752518.stgit@bahia.tlslab.ibm.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/standard-headers/linux/input-event-codes.h')
0 files changed, 0 insertions, 0 deletions