commit | c4d5def682ceef239ef1b6c27fc6f77fb6951a51 | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Tue Feb 14 17:01:59 2023 +0000 |
committer | Alan Stokes <alanstokes@google.com> | Wed Feb 15 13:17:56 2023 +0000 |
tree | f1740fd51e57f47270d03b7cb26786f2d0e29886 | |
parent | 738be14804bcd199c57f6f23f95a0509adf03bd8 [diff] |
Don't start composd if VMs are not supported If we attempt to it will abort (because virtmgr will abort), and service manager will keep trying to sstart it forever. To avoid having a third copy of the hypervisor properties code, extract it to a library. Fix "vm info" so it works even in the absence of VM support, by not connecting to virtmgr when we don't need to. Also remove duplication from the composd_cmd build file, to make it harder to accidentally break the test build. Bug: 254599807 Test: "vm info", "vm list", "composd test-compile" with & without VM enabled Test: atest composd_cmd.test Change-Id: I1f33e231fcf9c77ce16a6b2cfb51d67da3986a6d
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.