Go to file
Shikha Panwar 7afc13991c Enable exporting of tombstones out of guest VMs
Microdroid init will start the tombstone_transmit service which will
connect to a server (thread of virtualization service).

virtualizationservice listens for incoming connections from guests VMs.
The client (tombstone_transmit in  guest) sends each tombstone file
content through a separate stream.

For each received connection, handle_tombstone would send a connect
request to tombstoned(via libtombstoned_client_rust), which provide a
file  to write the content in (actually managed by the client libary).
Once write is complete notify_completion() would send completion
notification to tombstoned (which then will close the file and rename it).

Test: atest MicrodroidHostTestCases and/or crash a process in microdroid, take and check bugreport
Bug: 202153827

Change-Id: Ifcaa5da968ef39fdd05612d3e0baca4fd1c5eaf1
2022-04-06 20:57:48 +00:00
.prebuilt_info Drop prebuilt files to android source tree. 2022-03-28 16:21:17 +00:00
apex sign_virt_apex: do not use truncate (/usr/bin) 2022-02-26 09:04:17 +09:00
apkdmverity Demote apkdmverity tests to postsubmit 2022-04-05 16:32:55 +09:00
authfs Archive VM logs for test cases 2022-03-10 22:09:43 +00:00
compos Remove reconnectHostAdb hack 2022-04-04 20:37:29 +09:00
demo Enable --extended-status for crosvm and return reason why VM died. 2022-01-14 16:07:03 +00:00
docs/getting_started Update doc about rebuilding kernel for Microdroid 2022-03-18 16:11:03 +09:00
javalib Synchronize VM callbacks 2022-03-16 22:10:53 +00:00
launcher A lib in APK can depend on other libs in the same APK 2021-06-24 01:36:37 +09:00
libs Specify virtual platform version and enforce it 2022-02-25 16:21:22 +09:00
microdroid Enable exporting of tombstones out of guest VMs 2022-04-06 20:57:48 +00:00
microdroid_manager Strict instance boot checks 2022-03-14 11:34:52 +00:00
pvmfw Drop prebuilt files to android source tree. 2022-03-28 16:21:17 +00:00
tests Enable exporting of tombstones out of guest VMs 2022-04-06 20:57:48 +00:00
virtualizationservice Enable exporting of tombstones out of guest VMs 2022-04-06 20:57:48 +00:00
vm vm run --log <logfile> 2022-02-22 05:27:29 +09:00
zipfuse Add zipfuse to hwasan-postsubmit 2022-03-24 18:31:01 +00:00
.clang-format
.gitignore Ignore cargo output in all directories, not just virtualizationservice. 2021-11-30 14:15:52 +00:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to packages/modules/Virtualization 2021-06-14 16:37:09 -07:00
OWNERS Add OWNERS. 2021-06-21 17:04:15 +01:00
PREUPLOAD.cfg Remove google-java-format hook 2021-11-23 11:39:53 +00:00
README.md Add README at top of repository with links to others. 2021-06-30 16:22:17 +00:00
TEST_MAPPING import ./virtualizationservice/TEST_MAPPING 2022-02-19 00:12:34 +09:00
rustfmt.toml

README.md

Virtualization

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.