commit | 0d7d84498fb43c42fa730c3a46b3048dc62165a5 | [log] [tgz] |
---|---|---|
author | David Edmondson <david.edmondson@oracle.com> | Mon Sep 20 11:37:37 2021 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Oct 25 06:48:25 2021 -0400 |
tree | e20e0e5b7893a4e7c592e0ee28408acc94467b88 | |
parent | e615e355894e619785af81479ad6f5a05a8a2e3f [diff] |
KVM: x86: SGX must obey the KVM_INTERNAL_ERROR_EMULATION protocol When passing the failing address and size out to user space, SGX must ensure not to trample on the earlier fields of the emulation_failure sub-union of struct kvm_run. Signed-off-by: David Edmondson <david.edmondson@oracle.com> Reviewed-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210920103737.2696756-5-david.edmondson@oracle.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>