Re: [PATCH v4 01/15] spapr: nested: register nested-hv api hcalls only for cap-nested-hv

2024-02-27 Thread Nicholas Piggin
On Tue Feb 20, 2024 at 6:35 PM AEST, Harsh Prateek Bora wrote: > 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 gue

[PATCH v4 01/15] spapr: nested: register nested-hv api hcalls only for cap-nested-hv

2024-02-20 Thread Harsh Prateek Bora
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