commit | d1a30dd4a36732987a40656c07138876bce94167 | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Wed Nov 30 09:39:54 2022 +0000 |
committer | Alan Stokes <alanstokes@google.com> | Thu Dec 01 17:57:25 2022 +0000 |
tree | 95292c63b02e570011f976941db9937df74df06f | |
parent | 714f647eaae3706348605d12509b9bb8e5f816ec [diff] |
More tests: connectVsock, no debug Add a test for VirtualMachine#connectVsock, to prove that raw vsock communication between payload and host works. Initially this wasn't working, and when I tried to diagnose that I was getting no useful debug output. So: - I changed almost all the tests to run with DEBUG_LEVEL_FULL, apart from an explicit test for NONE. - I modified testbinary to write to log (which we capture as part of the test) rather than cerr (which now goes nowhere). As a side-effect, this demonstrates that the payload can use NDK logging. Also removed some redundant #includes, and a few other minor tweaks. Bug: 244561836 Test: atest MicrodroidTests Change-Id: Ie4e1312aded571acc70a66e9864a801851ed4b7e
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.