Commit f47953f4 authored by Chuanxiao Dong's avatar Chuanxiao Dong Committed by Tomasz Nowicki
Browse files

ANDROID: pkvm: vmx: Handle EPT_MISCONFIG vmexit



For the pVM, it will be enlighted to use hypercall to access MMIO thus
there is no EPT_MISCONFIG. Inject #GP to the guest if this happens.

For the npVM, the EPT_MISCONFIG is allowed. Share the GPA information
with the host via the exit_gpa field in the vcpu_vmx structure.

Bug: 391539939
Test: pKVM works
Upstream-Task: 402758258

Change-Id: Ifee322d1f3bc9e0cc68aa21ab2c8e6c41a5aa9cf
Signed-off-by: default avatarChuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: default avatarDmytro Maluka <dmaluka@google.com>
parent f7cdf664
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment