]> xenbits.xensource.com Git - xen.git/commit
x86: wire up VCPUOP_register_vcpu_time_memory_area for 32-bit guests
authorJan Beulich <jbeulich@suse.com>
Thu, 29 Sep 2022 12:47:45 +0000 (14:47 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 29 Sep 2022 12:47:45 +0000 (14:47 +0200)
commitb726541d94bd0a80b5864d17a2cd2e6d73a3fe0a
treeb04f7687315426f9836d025ba0e65309528efcc8
parent9214da34a3cb017ff0417900250bd6d18ca89e15
x86: wire up VCPUOP_register_vcpu_time_memory_area for 32-bit guests

Forever sinced its introduction VCPUOP_register_vcpu_time_memory_area
was available only to native domains. Linux, for example, would attempt
to use it irrespective of guest bitness (including in its so called
PVHVM mode) as long as it finds XEN_PVCLOCK_TSC_STABLE_BIT set (which we
set only for clocksource=tsc, which in turn needs engaging via command
line option).

Fixes: a5d39947cb89 ("Allow guests to register secondary vcpu_time_info")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
xen/arch/x86/x86_64/domain.c