commit | 4b4c510ffbb30d046317e6b6c333a9c1b9eb8c4c | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Mon Dec 19 22:56:20 2022 +0000 |
committer | David Brazdil <dbrazdil@google.com> | Thu Jan 05 10:31:00 2023 +0000 |
tree | f3aeeb80defacbb3c70a6ae8358547d4750fa1db | |
parent | 5f341b36d6e7bf8ff2d9a06203f1838eee249db0 [diff] |
Start using virtmgr for running VMs Make the final changes to start running VMs using virtmgr: * Have virtualizationservice host the VirtualizationServiceInternal AIDL service. * Remove memlock rlimit of virtmgr (instead of virtualizationservice) via a method on VirtualizationServiceInternal. * Have VirtualizationServiceInternal create the VM's temporary folder and change its owner to the client's UID. The files keep the same virtualizationservice_data_file SELinux label, but are now owned by the client's virtmgr instance. To this end, virtualizationservice requires CAP_CHOWN. * Switch all users to the new vmclient/javalib API for spawning virtmgr. Bug: 245727626 Test: atest -p packages/modules/Virtualization:avf-presubmit Change-Id: I93b2cadb67a8c125e1a86f9c1ba9cb98336f0cd4
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.