de76d90b76
Extra APK is given to the VM when it boots (via various of vm_config*.json) depending on whether the build manifest APK exists or not. On the request, the directory FD of /system_ext needs to come with the request accordingly, so that authfs can set up the remote file access. The current implementation is problematic when there's inconsistency. Even if /system_ext exists, we shouldn't pass the FD in the compilation request because the VM may not be set up with a build manifest APK for /system_ext. This can happen when /system_ext exists but without BuildManifestSystemExt.apk. The simple fix is to condition the FD passing on whether the extra APK exists. Bug: 267262026 Bug: 273393637 Test: rm /system_ext/etc/security/fsverity/BuildManifestSystemExt.apk ComposHostTestCases only after this change Change-Id: I415343ddb69e4c8cac0b77274db9f629da33fbdd |
||
---|---|---|
apex | ||
apkdmverity | ||
authfs | ||
compos | ||
demo | ||
docs | ||
encryptedstore | ||
javalib | ||
launcher | ||
libs | ||
microdroid | ||
microdroid_manager | ||
pvmfw | ||
rialto | ||
tests | ||
virtualizationmanager | ||
virtualizationservice | ||
vm | ||
vm_payload | ||
vmbase | ||
vmclient | ||
zipfuse | ||
.clang-format | ||
.gitignore | ||
Android.bp | ||
OWNERS | ||
PREUPLOAD.cfg | ||
README.md | ||
TEST_MAPPING | ||
rustfmt.toml |
README.md
Virtualization
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.