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 /linux-user/syscall.c | |
| parent | 868cb6bac51376a38b18f432a047242fed840998 (diff) | |
| download | focaccia-qemu-6026fdbdbdf5f30edc906de0ae287e95c1b6892b.tar.gz focaccia-qemu-6026fdbdbdf5f30edc906de0ae287e95c1b6892b.zip | |
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 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions