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

ANDROID: pkvm: audit config space access for ptdev



Audit config space access for ptdev. When pkvm attach ptdev to shadow
vm, cache the BAR registers in ptdev. When host access ptdev config
space, deny BAR write if host writes a different value to the register.

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

Bug: 349990461
Test: Android can run protected VMs

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