- Mar 08, 2022
-
-
Victor Hsieh authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2012319 Change-Id: Id017ed15bebae47f39863dca80dc630d18e3a39a
-
Victor Hsieh authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2012319 Change-Id: I37b382650d6d767fe17217e8888abc197547d5ce
-
Victor Hsieh authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2012319 Change-Id: I192f9b34e9065c16ce3a28d17bcf3a2e054c323f
-
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
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2010815 Change-Id: I3ef4e2c2a943119ee3eceb87fb8f230c6f416b38
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2010815 Change-Id: I4fc3a40418667eea884ca7bbdbc641f15ebc96cf
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2010815 Change-Id: I3311fe96614349c45e60a2a051b0c25ef57e26ca
-
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
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2008219 Change-Id: I8b4e7baf1475386ac92bf49efd10fe052265722a
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2008219 Change-Id: Iafe50bb1e6bf70940fcddb4e8fcd94626913fbbc
-
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: I3aa8e397691834449a78fab0a3f29912b177dd08
-
Alan Stokes authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2010756 Change-Id: I03a720e0fc08aedb4764f9326d6d6864fabde99c
-
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
Merge "Pass serial device to VM to report failure reason." am: 83b12765 am: 0f402626 am: 7e50cea9 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/1997007 Change-Id: Idcd08ce25d4984bb0a0d3d29310d5de7774323ac
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/1997007 Change-Id: I4ab8af55d81382d22c5d3263fd603b5129b714a9
-
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: I0036547dbcb94032cc73b0b4e1a6c8cd5121fb68
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2005291 Change-Id: I4e0be884ab6963318a7bba11c5ebe9d6194e038b
-
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: I97925821eaae9f99cc2a4ba7611a304e6f67edf9
-
Inseob Kim authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2000670 Change-Id: I063f863974b89c404ecc294718844499f8b61771
-
Inseob Kim authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/1998180 Change-Id: I1ea015d903d15b8ae5c76a9af990192c57bfebc6
-
Inseob Kim authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/1998181 Change-Id: I2d81c0b4b86df893f30c5304374b93d01334a788
-
Inseob Kim authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2000670 Change-Id: I5e732b745cea6f5c2d1c15fc4db9d031d0b093aa
-
Inseob Kim authored
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/1998180 Change-Id: I439b17bf285519966d22e0051e85678c7195cf83
-
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
-