- Mar 08, 2022
-
-
Victor Hsieh authored
* changes: fd_server: use RwLock instead of Mutex authfs: use RwLock instead of Mutex Only read backing file if chunk index is in range
-
Treehugger Robot authored
-
Victor Hsieh authored
`nix::dir::Dir` isn't Sync (required by `RwLock`), so I had to replace it with `OwnedFd`. Bug: 220386264 Test: atest AuthFsHostTest Test: performance change before vs after is hard to tell Change-Id: Ib3fd9047970a856b532234f0bebad652172e12de
-
- Mar 07, 2022
-
-
Victor Hsieh authored
Bug: 220386264 Test: Observed faster parallel file reads (at least not much slower, possibly due to lock contention), with prototype of multithread support. Change-Id: I3126932f9b3c769756ec1123e4746d3d1de88a1e
-
Victor Hsieh authored
If the chunk index is out of range (which can be a valid read request), simply return 0. Previously, we had to deal with fd_server when it returned an unexpected result. Now we don't need to handle it (the inconsistant state may still be on Android, but we don't care here). Bug: 221847239 Test: atest AuthFsHostTest Change-Id: I3450f496de58f2933fb3818b42e9510c56875061
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2008219 Change-Id: Ia94cbe02a133fbbfb0ecbb5a51759fc3568b5f0b
-
Treehugger Robot authored
* changes: Fix test action that tampered file at wrong offset Verify the last incomplete chunk on resize Verify read_chunk for writable file
-
Victor Hsieh authored
The implementation in writeZerosAtFileOffsetOnMicrodroid specifies the offset of the output file by "skip" of "dd". But actually, "skip" is for "if=", while "seek" is for "of=". The test expectation did not fail coincidentally. Bug: N/A Test: testWriteFailedIfDetectsTampering Change-Id: I89c9c96d250f4374e51a01c986aa1289b24ac236
-
Victor Hsieh authored
Bug: 221847239 Test: AuthFsHostTest Change-Id: I9c7b68d51faac3e34053d6fbf5d3eeb9f702c7e8
-
Victor Hsieh authored
A new test case is added. Besides, fix a side effect in testWriteThroughCorrectly that truncates the backing by mistake (though doesn't affect the purpose of the case). Bug: 221847239 Test: atest AuthFsHostTest Change-Id: I6b3f2b0c964c42b6bace94ff04b4f5edbc2d9efd
-
Alan Stokes authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2010756 Change-Id: I71f28092ffff46b1d84a4f1d8bfe74f117a48ac2
-
Alan Stokes authored
Check the properties instead (capability not implementation). Bug: 218276733 Test: atest VirtualizationTestCases.64 Change-Id: Ifa5d463effb09b30d0166c0bfde13da86978d90c
-
Alan Stokes authored
We should use the system properties instead (check for capability not implementation). And we should use the new utilities to do so. Bug: 218276733 Test: m ComposHostTestCases AuthFsHostTest MicrodroidHostTestCases Test: atest ComposHostTestCases Change-Id: I5db819dd874487310a40cb6736f873d3b6273ecd
-
- Mar 03, 2022
-
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/1997007 Change-Id: I71ee955ec8531a2611114393b9ed70d0a3ae0fa0
-
Treehugger Robot authored
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2005291 Change-Id: I2aab9593755758f51655c31dbb31d4af5da4058c
-
Treehugger Robot authored
-
Inseob Kim authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/1998181 Change-Id: I6fcbfb0454ec051cafdbad0b442e31b037161185
-
Inseob Kim authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2000670 Change-Id: I5f100c5d3a3f8cca9b58eebbf2f480b6855cacf1
-
Inseob Kim authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/1998180 Change-Id: Ibd7761dee7992637619b8d06083f435fe85fbb21
-
- Mar 02, 2022
-
-
Inseob Kim authored
Bug: 218461230 Test: atest MicrodroidTests Change-Id: Iccf97c822f1043f866b49f9c7e258a8cac1a3f32
-
Inseob Kim authored
u-boot uses instance disk only when protected VM. Bug: 218461230 Test: atest MicrodroidTests Change-Id: I66956f3b4a5c6bf6d134662d4ede652f46e2dcc3
-
Jooyung Han authored
This removes schema-mapped Java classes which are duplication with Rust's mapping type. Bug: 221368644 Test: atest MicdrodroidHostTestCases Change-Id: I8d2fe9ac21a887543adb05298ddaaae0b413d490
-
Inseob Kim authored
For better readability. Bug: 218461230 Test: atest MicrodroidTests Change-Id: I80116b978f520092dc1f6e1c9ecbe889fd62d569
-
- Mar 01, 2022
-
-
Charisee Chiw authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2000464 Change-Id: Iaa01484beb1ad3730471aaf7a0026b0b783e6806
-
Charisee Chiw authored
-
Andrew Walbran authored
Add DeathReason variants for various verification failure possibilities. Bug: 220071963 Change-Id: I2b014fcd48fa571d9e2089fde09f8199955a9e7f
-
- Feb 28, 2022
-
-
Charisee authored
bug: 215232614 Test: TreeHugger and compiling with m rust Change-Id: I8d2d37657a3b1b2afdc1f1594d1065ead0b2548f
-
Pierre-Clément Tosi authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2002292 Change-Id: Iaf8e6fd1cba4daa481e98406ea9f02c829410d6f
-
Pierre-Clément Tosi authored
pvmfw.img Built here: ab/8231605 The change is generated with prebuilt drop tool. Bug: 217161634 Test: boot a VM Change-Id: I31c7ce92c01fc7afae86a9b3b39bda7aead147fd
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/1999391 Change-Id: Id86f877f0fcb04d5f7f041b63144ff0644e24376
-
Treehugger Robot authored
-
- Feb 26, 2022
-
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2000671 Change-Id: I87b05956e27aa68c31ef68c246252a5485ac869f
-
Treehugger Robot authored
-
Jooyung Han authored
We've found signing can be run where truncate is not available. Error: No such file or directory: 'truncate' Use python's truncate() instead. Bug: 193504286 Test: atest sign_virt_apex_test Change-Id: I9c8a78ba381274b406ba509f5f3f7ddd049bd60f
-
- Feb 25, 2022
-
-
Alan Stokes authored
We run VS at early boot (via compos_verify), and we want to see its logs in case something interesting happens. That seems to require using the sytem log. Bug: 215419883 Test: Run staged-apex-compile, reboot, see logs Change-Id: I24c55196b5403df3057c690691f0f585c4a8f2fc
-
Jiyong Park authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/1976386 Change-Id: I0934e1d86fa20e9448281ca12bfa0c0357f4e3a7
-
Jiyong Park authored
VM config can now specify the requirement on the virtual platform version. At runtime, the requirement is matched against the actual virtual platform version that crosvm implements. If they don't match, the VM can't be created. The version format follows SemVer, allowing us to express backwards compatible and incompatible changes in the future. Bug: 193504487 Test: atest VirtualizationTestCases Change-Id: I23d370081e10399502178b9cfe8a46b05addf186
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/1999390 Change-Id: I4e67526cefeebc69e9857046edc375c745fc934f
-
- Feb 24, 2022
-
-
Treehugger Robot authored
-