diff options
author | Isaku Yamahata <isaku.yamahata@intel.com> | 2024-07-19 00:12:17 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-12-23 16:29:45 +0300 |
commit | 6961ab0bae5282de221fed5fc3e9db2b9180c4d6 (patch) | |
tree | cd457c60b8e3ceb609de0413abe6879637d0e9e6 /tools/perf/scripts/python/parallel-perf.py | |
parent | 3a4eb364a46d00b7b9f643011b4652bd7f4eecf2 (diff) | |
download | linux-6961ab0bae5282de221fed5fc3e9db2b9180c4d6.tar.xz |
KVM: x86/mmu: Add an is_mirror member for union kvm_mmu_page_role
Introduce a "is_mirror" member to the kvm_mmu_page_role union to identify
SPTEs associated with the mirrored EPT.
The TDX module maintains the private half of the EPT mapped in the TD in
its protected memory. KVM keeps a copy of the private GPAs in a mirrored
EPT tree within host memory. This "is_mirror" attribute enables vCPUs to
find and get the root page of mirrored EPT from the MMU root list for a
guest TD. This also allows KVM MMU code to detect changes in mirrored EPT
according to the "is_mirror" mmu page role and propagate the changes to
the private EPT managed by TDX module.
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Signed-off-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Message-ID: <20240718211230.1492011-6-rick.p.edgecombe@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions