aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-07Snap for 7343210 from c2cfa754a77b588184e906c54d88587d53c91adf to sc-d1-releaseandroid-12.0.0_r7android-12.0.0_r6android-12.0.0_r5android-12.0.0_r4android-12.0.0_r15android-12.0.0_r14android-12.0.0_r13android-12.0.0_r12android12-d1-s6-releaseandroid12-d1-s5-releaseandroid12-d1-s4-releaseandroid12-d1-s3-releaseandroid12-d1-s2-releaseandroid12-d1-s1-releaseandroid12-d1-releaseandroid-build-team Robot
Change-Id: I522cdfee8a18404fc4c51e7b533cf73e554eee2b
2021-05-06Merge "Not remove surface when resource_id is 0" am: 96334c56f6 am: ↵android-12.0.0_r32android-12.0.0_r29android-12.0.0_r28android-12.0.0_r27android-12.0.0_r26android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android-12.0.0_r16android12-qpr1-releaseandroid12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseandroid12-devTreehugger Robot
d3897fd9fb am: 5e790379ac Original change: https://android-review.googlesource.com/c/platform/external/crosvm/+/1696174 Change-Id: Iecf62c0084e4650b68affef488cdbda67845cb29
2021-05-06Merge "Not remove surface when resource_id is 0" am: 96334c56f6 am: d3897fd9fbTreehugger Robot
Original change: https://android-review.googlesource.com/c/platform/external/crosvm/+/1696174 Change-Id: I1b30d1215f1c5895f294f5f1fe4286b8ab8a62ab
2021-05-06Merge "Not remove surface when resource_id is 0" am: 96334c56f6Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/external/crosvm/+/1696174 Change-Id: I2f0c2bc1ea6308164cdd37ab172edfaa915ec5fc
2021-05-06Merge "Not remove surface when resource_id is 0"android-s-beta-2android-s-beta-1Treehugger Robot
2021-05-05Not remove surface when resource_id is 0Huan Song
This is a workaround to solve the issue of black display Observation is when Surfaceflinger falls back to guest composition, host receives set scanout 0 0, and then set scanout 0 <some valid resid>. The first 0 0 removes the surface, the second creates a new surface with id++, which will be more than 0 and be ignored in vnc or webrtc Test: launch_avd, switch between apps Change-Id: I66516b462201ad2437172c60c8167913071b40a1
2021-05-01Snap for 7328689 from a5e93fd2993094c97c7afd0dea08d403fc066694 to sc-d1-releaseandroid-build-team Robot
Change-Id: I8f1a4b44517ee975c306b7ec0df761984915382a
2021-04-30[LSC] Add LOCAL_LICENSE_KINDS to external/crosvm am: f251ac1801 am: ↵Bob Badour
1df91541ff am: ff5f0be6db Original change: https://android-review.googlesource.com/c/platform/external/crosvm/+/1691556 Change-Id: Iab858c4601f702f693a37ef1ea5e518eec7b3dd7
2021-04-30[LSC] Add LOCAL_LICENSE_KINDS to external/crosvm am: f251ac1801 am: 1df91541ffBob Badour
Original change: https://android-review.googlesource.com/c/platform/external/crosvm/+/1691556 Change-Id: I57e0d6a788a41d5a0aa0257368e1182c780c482d
2021-04-30[LSC] Add LOCAL_LICENSE_KINDS to external/crosvm am: f251ac1801Bob Badour
Original change: https://android-review.googlesource.com/c/platform/external/crosvm/+/1691556 Change-Id: I5273bfd04371aa23c50b63cf96042942f0d24b2e
2021-04-29[LSC] Add LOCAL_LICENSE_KINDS to external/crosvmBob Badour
Added SPDX-license-identifier-BSD to: crosvm_plugin/Android.bp libcrosvm_control/Android.bp qcow_utils/Android.bp tpm2-sys/Android.bp tpm2/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I5bcbf23a80c710f1f1327d380eea7985ab2ad34f
2021-04-29Snap for 7321546 from 20295b94e5714ddc0701ffd651fc555b908acaf7 to sc-d1-releaseandroid-build-team Robot
Change-Id: I64480f791c0bbbacb2e20ad4839b5ab700b982fc
2021-04-28Revert "Conditionally apply linux-only operations" am: 4b8b49f07e am: ↵Jorge E. Moreira
c0c05a6e22 am: 5f2f9d1963 Original change: https://android-review.googlesource.com/c/platform/external/crosvm/+/1684112 Change-Id: If920ade23bc8b29e4b31c95ce036e37fca45d99e
2021-04-28Revert "Conditionally apply linux-only operations" am: 4b8b49f07e am: c0c05a6e22Jorge E. Moreira
Original change: https://android-review.googlesource.com/c/platform/external/crosvm/+/1684112 Change-Id: I3ffacb84d9ec03b5397cf0fa01e2eb8e91e07e8e
2021-04-28Revert "Conditionally apply linux-only operations" am: 4b8b49f07eJorge E. Moreira
Original change: https://android-review.googlesource.com/c/platform/external/crosvm/+/1684112 Change-Id: I56af5accc738d29a24b067bc931f97aa61fd55a8
2021-04-28Snap for 7318334 from c5fcdc4658ea3b5bae9e29f76c732f7edde0305d to sc-d1-releaseandroid-build-team Robot
Change-Id: I3798b117aa75dfa094f3305abf8abc76e0514277
2021-04-27[LSC] Add LOCAL_LICENSE_KINDS to external/crosvmBob Badour
Added SPDX-license-identifier-BSD to: crosvm_plugin/Android.bp libcrosvm_control/Android.bp qcow_utils/Android.bp tpm2-sys/Android.bp tpm2/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I1540d1127fd147a1c6234785141bdc00939527fd
2021-04-26Fix build files am: b36408f79c am: 8f21e42540 am: 0a3932291aJorge E. Moreira
Original change: https://android-review.googlesource.com/c/platform/external/crosvm/+/1684110 Change-Id: I01098bcfab2230d8dbc4ed4f87b700a96a1fde5e
2021-04-26Merge remote-tracking branch 'aosp/upstream-main' am: 67c7636ec8 am: ↵Jorge E. Moreira
47df7974b1 am: 4ce57ef7d2 Original change: https://android-review.googlesource.com/c/platform/external/crosvm/+/1684109 Change-Id: I6af3a25d6dc05032eac8c7880920951344375aaa
2021-04-26Fix build files am: b36408f79c am: 8f21e42540Jorge E. Moreira
Original change: https://android-review.googlesource.com/c/platform/external/crosvm/+/1684110 Change-Id: I30f4757137b090bf950250cd68c588775490ccac
2021-04-26Merge remote-tracking branch 'aosp/upstream-main' am: 67c7636ec8 am: 47df7974b1Jorge E. Moreira
Original change: https://android-review.googlesource.com/c/platform/external/crosvm/+/1684109 Change-Id: I2921d40e005785345f7069998ad2f99ea75d04d6
2021-04-26Fix build files am: b36408f79cJorge E. Moreira
Original change: https://android-review.googlesource.com/c/platform/external/crosvm/+/1684110 Change-Id: I5f9de713d24d69410509d55cfe6007d5a8016735
2021-04-26Merge remote-tracking branch 'aosp/upstream-main' am: 67c7636ec8Jorge E. Moreira
Original change: https://android-review.googlesource.com/c/platform/external/crosvm/+/1684109 Change-Id: I2e837fc22b88e2aa70394d09cde5e76cd685ab12
2021-04-23Revert "Conditionally apply linux-only operations"Jorge E. Moreira
This reverts commit 1e3cb9faa10b7db3812543ec8a74fc836021f740. Change-Id: I578902056b205089b3af95b8cc85ff6e0f550de6
2021-04-23Fix build filesJorge E. Moreira
Bug: 185155959 Test: locally Change-Id: I53ce0b62c3e18e2edfe43aa36d13bc29e039f5ac
2021-04-21Merge remote-tracking branch 'aosp/upstream-main'Jorge E. Moreira
Bug: 185155959 Test: locally with following change Change-Id: I9580972149384e197e57abb09d480d8997f527e5
2021-04-22disk: read up to 4K block when detecting image typeDaniel Verkamp
This makes detect_image_type do a single read of size 4096 instead of doing two smaller reads matching the size of the magic values. This eliminates one source of misaligned disk access, which is needed to enable O_DIRECT. It also reduces the number of reads required, although this probably has very little, if any, performance impact. In addition, the magic comparison is rewritten to make the endian conversion more readable - the qcow2 magic number is written in big endian and the Android sparse disk magic is little endian, but previously this was unclear since the sparse comparison did a double big-endian conversion to get to little endian. BUG=b:184204645 TEST=cargo test -p disk --features=composite-disk Change-Id: I35ae0a6c415d3cf69733a5c6288b99a4cfb30e2f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2824810 Reviewed-by: Dylan Reid <dgreid@chromium.org> Reviewed-by: Junichi Uekawa <uekawa@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2021-04-22disk: add detect_image_type unit testsDaniel Verkamp
BUG=None TEST=cargo test -p disk --features=composite-disk Change-Id: Ib1dd4cbf6b7f22dfa4ef5a8dcda3ca8679487884 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2824809 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Dylan Reid <dgreid@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2021-04-22Improve code around creation of VioS recv threadJorge E. Moreira
The mutex around the thread is locked-unlocked twice, the first time just to check that something actually needs to be done, the second time to check again and do it. The temporary release of the lock is to avoid holding multiple locks while duplicating the fds and avoid the risk of deadlock. Change-Id: I455415dc32a31ae54025454f2709583e54a216b5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2844354 Tested-by: Jorge Moreira Broche <jemoreira@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Jorge Moreira Broche <jemoreira@google.com> Commit-Queue: Zach Reizner <zachr@chromium.org> Auto-Submit: Jorge Moreira Broche <jemoreira@google.com> Reviewed-by: Zach Reizner <zachr@chromium.org>
2021-04-21aarch64: refactor register initializationAndrew Scull
Use single purpose, immutable variables with meaningful names. BUG=b:163789172 TEST=cargo test Change-Id: Icc90918f6154bef8ab93358ba0651fb0ed7b041a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2843604 Reviewed-by: Andrew Walbran <qwandor@google.com> Reviewed-by: Dylan Reid <dgreid@chromium.org> Auto-Submit: Andrew Scull <ascull@google.com> Commit-Queue: Dylan Reid <dgreid@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com>
2021-04-21remove dependencies on syscall_definesZach Reizner
The syscall_defines crate is redundant with an up to date libc. This change removes any dependency on syscall_defines. A new libc is required to bring in some new syscall numbers like the ones for io_uring. TEST=./test_all BUG=None Cq-Depend: chromium:2832000 Change-Id: I6df7fb992bacb5efd54cefca08836d52f4bfcd8c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2832001 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Allen Webb <allenwebb@google.com> Reviewed-by: Dylan Reid <dgreid@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> Commit-Queue: Zach Reizner <zachr@chromium.org>
2021-04-21Add .vscode to .gitignoreAlexandre Courbot
These folders can be created to store local settings. BUG=None TEST=.vscode content does not appear with `git status` Change-Id: I7b6c1b1bdb93ecbadc6e25b5fe9c9ecdbb4a3f0c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2842604 Tested-by: Alexandre Courbot <acourbot@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Auto-Submit: Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
2021-04-21Kokoro: Always build against ToT instead of a fixed manifestDennis Kempin
This will introduce a little instability into our test infrastructure since tests will no longer be hermetic, but build against the latest ToT version of our chromeos dependencies. It will however, make our day-to-day workflows a lot easier. A lot of changes are made across repository boundaries and require annoying extra steps since Kokoro does not understand Cq-Depend. BUG=b:185917395 TEST=./ci/kokoro/simulate_all passes Change-Id: I3c3cae20d418574a3db53cc74d81245b87c228db Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2840057 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Dennis Kempin <denniskempin@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2021-04-21sys_util: Fix 1.51.0 acronym case clippy warnings.Allen Webb
This also fixes a self convention warning for sys_util::sock_ctl_msg and removes a stray semicolon from ac97_bus_master. BUG=None TEST=cargo clippy && cargo test Change-Id: I7fcf7577e09888836f7664d7127f94c9c24d3cfa Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2840050 Tested-by: Allen Webb <allenwebb@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Stephen Barber <smbarber@chromium.org> Commit-Queue: Allen Webb <allenwebb@google.com>
2021-04-20Make Kokoro happyDennis Kempin
Update Kokoro manifest and Cargo.lock. This change does not affect ebuild builds, so it can be safely chumped to get Kokoro green. BUG=None TEST=./ci/kokoro/simulate_all passes Change-Id: If4e2b849f12d4e223dcfe6dd5bb48e034067b466 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2840055 Commit-Queue: Dennis Kempin <denniskempin@google.com> Commit-Queue: Zach Reizner <zachr@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org>
2021-04-20Specify prctl's policy only once per deviceJorge E. Moreira
The libminijail version in AOSP complains when there are multiple entries for the same system call, which was the case for virtio-fs's policy. BUG=b/185811304 Change-Id: I389c07c86e7d79f16e4f47a893abad598033352a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2837307 Commit-Queue: Jorge Moreira Broche <jemoreira@google.com> Tested-by: Jorge Moreira Broche <jemoreira@google.com> Reviewed-by: Dylan Reid <dgreid@chromium.org>
2021-04-20Delay the start of VioS recv thread until after sandboxJorge E. Moreira
The recv thread was started immediately after the client object was created, which caused minijail to abort refusing to fork a multithreaded process. BUG=b/185811304 Change-Id: I5608e3b89eb4dfd944542d163e60b78937d37ba1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2837306 Tested-by: Jorge Moreira Broche <jemoreira@google.com> Commit-Queue: Jorge Moreira Broche <jemoreira@google.com> Reviewed-by: Dylan Reid <dgreid@chromium.org>
2021-04-20crosvm: vfio: allow forwarding of multiple non-MSI IRQsMicah Morton
For vfio-platform we will have many platform IRQs per vfio-platform device, so we need to pass the irq index to these functions in this commit, rather than inferring the IRQ index from the IRQ type (intx vs msi vs msix). In other words, this commit eliminates some assumptions in the common vfio code that we are working with vfio-pci devices when doing vfio passthrough. BUG=b:185504618 TEST=cros_workon_make Change-Id: Iaa02c387fb8a679217d4cc9dabecf7fc61f9c9fb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2829293 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Tomasz Jeznach <tjeznach@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Micah Morton <mortonm@chromium.org>
2021-04-20guest_memory: Introduce set_memory_policy() methodSergey Senozhatsky
set_memory_policy() method accepts MemoryPolicy bitmask - a set of hints what kind of memory advices GuestMemory can provide to the kernel. For the time being we support only one advice - MADV_HUGEPAGE. BUG=b:174206107 TEST=arc.Boot.vm on hatch-arc-r Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org> Change-Id: Ibc3e4a2bb2ac7059de80dfba45e1cee3af4c3bcc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2812546 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
2021-04-20mmap: add use_hugepages() helper methodSergey Senozhatsky
Add use_hugepages() MemoryMapping method, which will advice the kernel to use Huge Pages for memory mappings. BUG=b:174206107 TEST=arc.Boot.vm on hatch-arc-r Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org> Change-Id: I8cf61d71bb7e135594c1a4bc3c68674a1576b766 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2812545 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
2021-04-20base: add hugepages argumentSergey Senozhatsky
hugepages (--hugepages) argument will be passed down to arch layer so that it can configure GuestMemory to support Transparent Huge Pages. BUG=b:174206107 TEST=arc.Boot.vm on hatch-arc-r Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org> Change-Id: I1590238f7be3f12c9aa22b4c9061a56bfc381332 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2812544 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
2021-04-20video: pass buffer modifier to decoder backendChih-Yu Huang
In this CL, the decoder gets the buffer modifier via resource_bridge, and then passes the value to the backend. BUG=b:79682290 TEST=run media CTS and check the modifier is passed to GAVDA Cq-Depend: chromium:2820734 Change-Id: I27b845251bf4a12efb74193945a6cb952c8f14af Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2821108 Tested-by: Chih-Yu Huang <akahuang@chromium.org> Commit-Queue: Chih-Yu Huang <akahuang@chromium.org> Reviewed-by: David Stevens <stevensd@chromium.org> Reviewed-by: Alex Lau <alexlau@chromium.org> Reviewed-by: David Staessens <dstaessens@chromium.org> Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
2021-04-20crosvm: Add utimensat_time64 to arm seccompManoj Gupta
Add utimensat_time64 where utimensat is used. BUG=b:185515575 TEST=CQ Change-Id: I2ad841d8f89d779e487a3abf77e158da4ff21bef Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2836891 Tested-by: Manoj Gupta <manojgupta@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Auto-Submit: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org> Reviewed-by: Stephen Barber <smbarber@chromium.org> Commit-Queue: Muhammad Hasan Khan <mhasank@chromium.org>
2021-04-19sys_util: Migrate additional code from libchromeos-rs.Allen Webb
This migrates: * libchromeos::base::rand_util * libchromeos::net * libchromeos::scoped_path * libchromeos::vsock BUG=chromium:1193155 TEST=cargo test -- --test-threads=1 Change-Id: I801c7cbf8001dcd386792bb120781dacb9a699c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2832311 Tested-by: Allen Webb <allenwebb@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Stephen Barber <smbarber@chromium.org> Commit-Queue: Allen Webb <allenwebb@google.com>
2021-04-19sys_util: descriptor_reflection - fix warning in nightlyDylan Reid
New rustc(1.53) introduces a warning: warning: derive helper attribute is used before it is introduced --> /home/dgreid/src/chromiumos/src/platform/crosvm/sys_util/src/descriptor_reflection.rs:391:3 | 391 | #[serde(transparent)] | ^^^^^ 392 | #[derive(Serialize, Deserialize)] | --------- the attribute is introduced here Fix that by reversing the order. Change-Id: Ifd77322bb9552a3ba6c1c86019e9cb366328b173 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2818897 Reviewed-by: Zach Reizner <zachr@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Dylan Reid <dgreid@chromium.org>
2021-04-19Conditionally apply linux-only operationsJorge E. Moreira
Rust's libc considers android to be different than linux and provides certain functions exclusively for target_os = "linux". BUG=b:185155959 Change-Id: I664821fd678f0c911deb9312fe5fcfc9faf00053 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2822209 Tested-by: Jorge Moreira Broche <jemoreira@google.com> Commit-Queue: Jorge Moreira Broche <jemoreira@google.com> Reviewed-by: Zach Reizner <zachr@chromium.org>
2021-04-17device: respect --gpu vulkan=true in GpuMode::ModeVirglRendererChia-I Wu
BUG=b:178104043 TEST=vkcube Change-Id: I289612f567ddd8221b498de739c18454cb3d9e7c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2823013 Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org> Reviewed-by: David Riley <davidriley@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Tested-by: Chia-I Wu <olv@google.com> Commit-Queue: Chia-I Wu <olv@google.com>
2021-04-17devices: disable vulkan by defaultChia-I Wu
Because the default value for mode is GpuMode::ModeVirglRenderer, make the default value for use_vulkan false as well. Set use_vulkan to true when mode is set to GpuMode::ModeGfxstream for backward compatibility. BUG=b:178104043 TEST=cargo build Change-Id: Idf1417f04d23999cf5a03b0bf640973b69de93e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2823012 Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org> Reviewed-by: David Riley <davidriley@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Tested-by: Chia-I Wu <olv@google.com> Commit-Queue: Chia-I Wu <olv@google.com>
2021-04-17devices: rename GpuMode::Mode3D to GpuMode::ModeVirglRendererChia-I Wu
BUG=b:178104043 TEST=cargo build Change-Id: I0e549dbaf7e804e4a40104426ce58637b478fac2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2827237 Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org> Tested-by: Chia-I Wu <olv@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Chia-I Wu <olv@google.com>
2021-04-17devices: rename gfxstream_support_vulkan to use_vulkanChia-I Wu
BUG=b:178104043 TEST=cargo build Change-Id: Iefb316c41b8e485af3243e54b66ac7cd46ee7733 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2823011 Tested-by: kokoro <noreply+kokoro@google.com> Tested-by: Chia-I Wu <olv@google.com> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org> Reviewed-by: David Riley <davidriley@chromium.org> Commit-Queue: Chia-I Wu <olv@google.com>