65bbb91d48
This is based on Michael's comments on aosp/2280849. For methods which should never fail unless the VM is already dying, and for which clients cannot take any meaningful action, panic instead of returning false. Make sure we log the cause first. Update client code to match. Update doc comments in the header file. Also clarify that calling notify read more than once is harmless (otherwise it would panic). Incidentally, rename vs_payload_service.rs because it was confusing me (we have a file of the same name in microdroid manager which actually implements the service.) Changes to AVmPayload_runVsockRpcServer will come later. Bug: 243512108 Test: atest MicrodroidTests Test: composd_cmd --test-compile Change-Id: Ie6f6203ba54246cac669f4a68e8ab76f0a5792ae |
||
---|---|---|
apex | ||
apkdmverity | ||
authfs | ||
avmd | ||
compos | ||
demo | ||
docs | ||
encryptedstore | ||
javalib | ||
launcher | ||
libs | ||
microdroid | ||
microdroid_manager | ||
pvmfw | ||
rialto | ||
tests | ||
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.