Commit Graph

3 Commits

Author SHA1 Message Date
Jiyong Park 437a88f109 Drop unnecessary dependencies to libbinder_rpc_unstable
Rust modules don't need to depend on the library because it's an
implementation detail of the Rust crate librpcbinder_rs.

Bug: N/A
Test: m
Change-Id: If2e1b98e2297b5a63ad785f2bcbe913a55ed46e0
2023-02-17 14:04:35 +09:00
Alan Stokes c4d5def682 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
2023-02-15 13:17:56 +00:00
David Brazdil 3f0f1e80df Move virtmgr files to their own directory
Create virtualizationmanager/ folder, move the corresponding files into
it and create build rules.

We also remove now unused dependencies of virtualizationservice.

Bug: 245727626
Test: atest -p packages/modules/Virtualization:avf-presubmit
Change-Id: If33e88bdcdac89e1d451589463ce21e11d6aafc8
2023-01-18 18:52:17 +00:00