Commit 4b66c717 authored by Tinghao Zhang's avatar Tinghao Zhang Committed by Tomasz Nowicki
Browse files

ANDROID: pkvm: implement port I/O emulation



Introduce port I/O emulation logic. When host VM-exit for a tracked
I/O access, parse the exit qualification field and wrap it into an
port I/O access request. If a proper handler is found in the I/O
emulation table, call the handler to emulate the I/O access.

Signed-off-by: default avatarTinghao Zhang <tinghao.zhang@intel.com>

Bug: 349990461
Test: Android can run protected VMs

Change-Id: Ifa7488fa18910a0242f5364cc48e29d60ed8b908
Signed-off-by: default avatarDmytro Maluka <dmaluka@google.com>
parent 28acd4c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment