Commit Graph

4 Commits

Author SHA1 Message Date
Victor Hsieh f219cd8fd2 Delete cpu affinity config
Bug: 245746308
Test: TH
Change-Id: I0d74f55b7b41e5d6c38be0705582bf12fc9169d9
2022-09-09 13:46:08 -07:00
Seungjae Yoo 62085c0e65 Send UID and VM identifier to existing atoms
Bug: 236252851
Test: N/A

Change-Id: I5e4db74f9a5cefd071676b9d248e9c5d91c5bfdd
2022-08-22 02:08:34 +00:00
Alan Stokes 0e82b50e23 Move VM callback to vmclient
Instead of having clients directly register a callback with VS,
implement a Rust level callback interface in vmclient. This saves an
extra binder call on each notification, a bunch of boilerplate code,
and allows us to provide a slightly better interface (e.g. we can use
the Rust DeathReason enum, as elsewhere in vmclient, for instantly
better logging).

I also replaced all our usages of <some_interface>::binder::{...} with
direct access to binder::{...}. That makes it clearer what depends on
the interface itself and what is just generic binder code. I realise
this should be a separate change, but I only realised that after doing
bits of both.

Test: composd_cmd test-compile, observe logs (on both success & failure)
Test: atest -b (to make sure all our tests build)
Test: Presubmits
Change-Id: Iceda8d7b8f8008f9d7a2c51106c2794f09bb378e
2022-08-09 17:43:29 +01:00
Andrew Walbran 94bbf2f6d5 Add test to run vmbase example VM.
Bug: 223166344
Test: atest vmbase_example.integration_test
Change-Id: Idef13afb2466a920c1ead9626c81e7a36f6f67c5
2022-05-25 15:00:59 +00:00