commit | 62e1b362a8304fc9111f25fd9d2bd3ebe55c38f7 | [log] [tgz] |
---|---|---|
author | Daniel Verkamp <dverkamp@chromium.org> | Wed Dec 14 13:51:08 2022 -0800 |
committer | crosvm LUCI <crosvm-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 01 19:49:20 2023 +0000 |
tree | 6235a9e7d16ff8f9ac4c093b91819b495c0ab9d2 | |
parent | 6ab50812d8fbee4eacd79b862ccf801c433481e1 [diff] |
windows: move vm_evt_wrtube/rdtube out of Config Config should contain only configuration data (e.g. flags, paths, etc.), not objects used at runtime like tubes and events. The Windows code currently passes a few Tubes from the broker to child processes via Config, which this patch begins moving to a separate BrokerTubes struct that will be serialized and sent over the bootstrap tube from the broker after the Config struct. This helps clean up the cross-platform Config struct, as well as fixing the `crosvm run` command (which does not use the broker) on Windows; previously the vm_evt_wrtube and vm_evt_rdtube were missing in this case. BUG=None TEST=tools/presubmit --all TEST=Boot x86-64 Linux kernel with crosvm run on Windows Change-Id: Ida00ec3948f09735fcdc333b3b5f217dca9fdbb9 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4108782 Reviewed-by: Vikram Auradkar <auradkar@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
crosvm is a virtual machine monitor (VMM) based on Linux’s KVM hypervisor, with a focus on simplicity, security, and speed. crosvm is intended to run Linux guests, originally as a security boundary for running native applications on the ChromeOS platform. Compared to QEMU, crosvm doesn’t emulate architectures or real hardware, instead concentrating on paravirtualized devices, such as the virtio standard.
crosvm is currently used to run Linux/Android guests on ChromeOS devices.