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

ANDROID: pkvm: vmx: Not to skip the instruction for EPT_MISCONFIG/VIOLATION



The MMIO instruction causing EPT_MISCONFIG/VIOLATION is emulated by the
host KVM rather than the pkvm hypervisor. The host KVM will skip this
instruction by increasing the RIP with the decoded instruction length.
The increased RIP will be updated to the GUEST_RIP VMCS field by the
pkvm hypervisor before entering the guest.

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

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