diff options
author | 2022-09-30 23:31:32 +0000 | |
---|---|---|
committer | 2022-11-30 15:55:25 -0800 | |
commit | eb3992e833d3a17f9b0a3e0371d0b1d3d566f740 (patch) | |
tree | 298acd26ee8151b9dab5cff325a73ed22d79bec9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: fix uninitialized variable use on KVM_REQ_TRIPLE_FAULT (diff) | |
download | wireguard-linux-eb3992e833d3a17f9b0a3e0371d0b1d3d566f740.tar.xz wireguard-linux-eb3992e833d3a17f9b0a3e0371d0b1d3d566f740.zip |
KVM: VMX: Resume guest immediately when injecting #GP on ECREATE
Resume the guest immediately when injecting a #GP on ECREATE due to an
invalid enclave size, i.e. don't attempt ECREATE in the host. The #GP is
a terminal fault, e.g. skipping the instruction if ECREATE is successful
would result in KVM injecting #GP on the instruction following ECREATE.
Fixes: 70210c044b4e ("KVM: VMX: Add SGX ENCLS[ECREATE] handler to enforce CPUID restrictions")
Cc: stable@vger.kernel.org
Cc: Kai Huang <kai.huang@intel.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20220930233132.1723330-1-seanjc@google.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions