| commit | 61f8614ee78ae3d143ebf7dbc5ecd67b0bfddddd | [log] [tgz] |
|---|---|---|
| author | Jaewan Kim <jaewan@google.com> | Tue Mar 28 15:12:52 2023 +0900 |
| committer | Jaewan Kim <jaewan@google.com> | Mon Apr 03 11:31:21 2023 +0900 |
| tree | 5290e8610090bc96c854e604cac218f6ef5cc297 | |
| parent | d4dae651b3ca64907ffde7520d88d1038a2957ce [diff] |
Ignore debug policy with sysprop
Read system property hypervisor.virtualizationmanager.debug_policy.path
to decide whether to ignore debug policy or not.
Follow-up CLs will use the system property to disable debug policy for
tests and also allows to set custom debug policy for debug policy test.
Bug: 272496125, Bug: 275047565
Test: Run following tests twice with/without the sysprop \
1) `atest MicrodroidTestApp MicrodroidHostTestCases` for \
checking no regression. \
2) Launched VM on a debug policy enabled device without debug level
Change-Id: I9f3a829c84a55441942953979e3aec893c0405fd
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.