diff options
author | Paul Durrant <[email protected]> | 2024-02-15 15:29:08 +0000 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-02-22 07:01:17 -0800 |
commit | 3991f35805d0f1ad84c3259dc1435021ccf63f16 (patch) | |
tree | 3d4cd345f0a554247d651fac0915231fec4e7103 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b9220d32799a62c634f7b0b3618da52772626952 (diff) |
KVM: x86/xen: allow vcpu_info to be mapped by fixed HVA
If the guest does not explicitly set the GPA of vcpu_info structure in
memory then, for guests with 32 vCPUs or fewer, the vcpu_info embedded
in the shared_info page may be used. As described in a previous commit,
the shared_info page is an overlay at a fixed HVA within the VMM, so in
this case it also more optimal to activate the vcpu_info cache with a
fixed HVA to avoid unnecessary invalidation if the guest memory layout
is modified.
Signed-off-by: Paul Durrant <[email protected]>
Reviewed-by: David Woodhouse <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[sean: use kvm_gpc_is_{gpa,hva}_active()]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions