diff options
author | Harsh Prateek Bora <harshpb@linux.ibm.com> | 2024-03-08 16:49:27 +0530 |
---|---|---|
committer | Nicholas Piggin <npiggin@gmail.com> | 2024-03-13 02:47:04 +1000 |
commit | 6026fdbdbdf5f30edc906de0ae287e95c1b6892b (patch) | |
tree | bf4adc3ecec3232ae26ffa838ae8add836ae9f33 /hw/pci/trace.h | |
parent | 868cb6bac51376a38b18f432a047242fed840998 (diff) | |
download | qemu-6026fdbdbdf5f30edc906de0ae287e95c1b6892b.zip qemu-6026fdbdbdf5f30edc906de0ae287e95c1b6892b.tar.gz qemu-6026fdbdbdf5f30edc906de0ae287e95c1b6892b.tar.bz2 |
spapr: nested: register nested-hv api hcalls only for cap-nested-hv
Since cap-nested-hv is an optional capability, it makes sense to register
api specfic hcalls only when respective capability is enabled. This
requires to introduce a new API to unregister hypercalls to maintain
sanity across guest reboot since caps are re-applied across reboots and
re-registeration of hypercalls would hit assert otherwise.
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'hw/pci/trace.h')
0 files changed, 0 insertions, 0 deletions