android_packages_modules_Vi.../virtualizationservice
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
..
aidl Enable exporting of tombstones out of guest VMs 2022-04-06 20:57:48 +00:00
src Enable exporting of tombstones out of guest VMs 2022-04-06 20:57:48 +00:00
Android.bp Enable exporting of tombstones out of guest VMs 2022-04-06 20:57:48 +00:00
TEST_MAPPING Create composite disk image in VirtualizationService. 2021-06-22 13:31:03 +00:00