This repository was archived by the owner on Jan 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vm_tools: sommelier: WaylandChannel early-init with fallback
While migrating from VirtWaylandChannel to VirtGpuChannel (cross-domain), sommelier should attempt to fallback to VirtWaylandChannel in case the host VMM doesn't provide a Virtio-Gpu cross-domain context-type implementation. This way, VMs may opt-in to VirtGpuChannel when it is possible, and continue to operate normally on VirtWaylandChannel when it is not. Also refactors the event loop initialization flow that depends on the wayland channel. BUG=b:314788008 TEST=`sommelier --virtgpu-channel ...` falls back to VirtWaylandChannel when Virtio-Gpu doesn't advertise its "cross-domain" context-type. TEST=USE=fuzzer cros_sdk emerge-tatl sommelier TEST=cros_sdk cros_workon_make --verbose --board tatl --test sommelier Change-Id: I925bef4af41dc5fa76a6816191b15b34b27384f4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/5523855 Reviewed-by: Chloe Pelling <[email protected]> Commit-Queue: Ryan Neph <[email protected]> Tested-by: Ryan Neph <[email protected]>
- Loading branch information
Ryan Neph
authored and
Chromeos LUCI
committed
May 9, 2024
1 parent
f7c824f
commit 3b1f502
Showing
5 changed files
with
121 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters