Commit Graph

5 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
Alan Stokes dfca76c8d1 rialto: Apply timeout to VM exit in test
Now that we have wait_for_death_with_timeout, use it.

Test: Hack VM to not exit, see timeout error
Change-Id: I4f9d03f6de6d441277c949d148c8fd3b30c8f88e
2022-08-03 13:34:24 +01:00
David Brazdil 66fc120377 rialto: Initial commit
Clone of ./vmbase/example with basic setup code.

Test: atest rialto_test
Change-Id: Id3d4e96674c261316e79c020ff0b1bd88f4363ba
2022-07-08 15:12:50 +01:00