summary refs log tree commit diff stats
path: root/python/qemu/accel.py
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2020-01-20 11:49:35 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2020-02-02 14:07:57 +1100
commit493028d8d798f4ac7b933c91598605acd7e61c7e (patch)
tree515917071f32e8d0617530cae87a7869eda9492b /python/qemu/accel.py
parent5ba7ba1da096de0b70f65c08df5584a4878012e7 (diff)
downloadfocaccia-qemu-493028d8d798f4ac7b933c91598605acd7e61c7e.tar.gz
focaccia-qemu-493028d8d798f4ac7b933c91598605acd7e61c7e.zip
target/ppc: add support for Hypervisor Facility Unavailable Exception
The privileged message send and clear instructions (msgsndp & msgclrp)
are privileged, but will generate a hypervisor facility unavailable
exception if not enabled in the HFSCR and executed in privileged
non-hypervisor state.

Add checks when accessing the DPDES register and when using the
msgsndp and msgclrp isntructions.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20200120104935.24449-3-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'python/qemu/accel.py')
0 files changed, 0 insertions, 0 deletions