]> xenbits.xensource.com Git - xen.git/commit
domain: expose newly introduced hypercalls as XENFEAT
authorRoger Pau Monné <roger.pau@citrix.com>
Fri, 6 Oct 2023 13:00:59 +0000 (15:00 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 6 Oct 2023 17:16:31 +0000 (18:16 +0100)
commit48a3fd14327fba9692bc458825de8328c6faa399
tree7d0817ca8485a25668ef134e0a64a79f17168451
parent6ba83845924723f3b354a30f29a3ae18d713d5de
domain: expose newly introduced hypercalls as XENFEAT

XENFEAT_runstate_phys_area is exposed to all architectures, while
XENFEAT_vcpu_time_phys_area is currently only implemented for x86, and hence
the feature flag is also only exposed on x86.

Additionally add dummy guards with TODOs in the respective hypercall
implementations, to signal the intention to control the availability of those
hypercalls on a guest-by-guest basis from the toolstack.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
CHANGELOG.md
xen/arch/x86/domain.c
xen/common/domain.c
xen/common/kernel.c
xen/include/public/features.h
xen/include/public/vcpu.h