Commit 1f645d52 authored by Tinghao Zhang's avatar Tinghao Zhang Committed by Tomasz Nowicki
Browse files

ANDROID: pkvm: introduce port I/O emulation framework



Add io_emulate.c and its header to place I/O emulation code for host vm.

Introduce a new data structure pkvm_pio_emul_table to store port I/O
handler. Add a helper function to register port I/O handler into the
emulation table. Define host_pio_emul_table for host port I/O emulation.

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

Bug: 349990461
Test: Android can run protected VMs

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