commit | f9c6a9b6914e15252939c3ad4e6b10ca406a8b52 | [log] [tgz] |
---|---|---|
author | Pierre-Clément Tosi <ptosi@google.com> | Wed Oct 19 22:04:39 2022 +0100 |
committer | Pierre-Clément Tosi <ptosi@google.com> | Mon Oct 24 14:34:24 2022 +0100 |
tree | a2b84c81f0542d9adcc93a0e808b30e6904f7632 | |
parent | a99bfa6f1f8aef215814f937fcd363b8907222a3 [diff] |
pvmfw: Hack MMIO_GUARD_UNMAP to expect NOT_SUPPORTED Until aosp/2240205, pKVM returned the wrong error code for the HVC (but otherwise properly implemented it) so mask NOT_SUPPORTED in pvmfw until all platforms it runs on have been patched. Keep supporting SUCCESS to allow pvmfw to run on patched platforms. Log the workaround, to help with debugging. Note: this commit is intended to be reverted once the bug is fixed. Bug: 251426790 Test: atest MicrodroidTestApp Change-Id: I74c2d43dd855e0d7f89fe286dea02eceea3c92be
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.