commit | 287f6ce73d8da5f4087be5864c57e6be8e2ebcc1 | [log] [tgz] |
---|---|---|
author | Nikita Ioffe <ioffe@google.com> | Thu Feb 09 15:51:24 2023 +0000 |
committer | Nikita Ioffe <ioffe@google.com> | Fri Feb 10 14:31:21 2023 +0000 |
tree | 7218df293c2df7a24362a36915142bc63bb6820c | |
parent | 7adc92025d80bf74cf68e1f4d6f9b921f421d307 [diff] |
Test that we can parcel & unparcel VirtualMachineDescriptor The test creates a VirtualMachineDescriptor, writes it to a parcel, reads it from the parcel, and then tries to create a VM from it. This change also fixes the bug in how VirtualMachineDescriptor is parceled/unparceled: the writeToParcel was writing a full ParcelFileDescriptor parcelable, while VirtualMachineDescriptor(Parcel) c-tor was reading just a raw fd. Bug: 259384440 Test: atest MicrodroidTestApp Change-Id: I809fa635ebb934e0ba957d3e2642d1b40d21ec50
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.