diff options
| author | Sean Christopherson <sean.j.christopherson@intel.com> | 2021-04-12 07:21:34 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-04-20 11:18:54 +0300 |
| commit | 00e7646c3563d2f1a46a8fa1824c32373d77a8be (patch) | |
| tree | 4cf6b3295893100ee241724d21a99804cbfa03fd /tools/perf/scripts/python/sched-migration.py | |
| parent | 54f958cdaa8c43c0e9b9ef850ae613a6e1bda44e (diff) | |
| download | linux-00e7646c3563d2f1a46a8fa1824c32373d77a8be.tar.xz | |
KVM: x86: Define new #PF SGX error code bit
Page faults that are signaled by the SGX Enclave Page Cache Map (EPCM),
as opposed to the traditional IA32/EPT page tables, set an SGX bit in
the error code to indicate that the #PF was induced by SGX. KVM will
need to emulate this behavior as part of its trap-and-execute scheme for
virtualizing SGX Launch Control, e.g. to inject SGX-induced #PFs if
EINIT faults in the host, and to support live migration.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Kai Huang <kai.huang@intel.com>
Message-Id: <e170c5175cb9f35f53218a7512c9e3db972b97a2.1618196135.git.kai.huang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
