commit | 92acafb14c799227225471bede77ae88492654e7 | [log] [tgz] |
---|---|---|
author | Clarissa Garvey <clarissagarvey@chromium.org> | Fri Jul 29 01:18:56 2022 +0000 |
committer | crosvm LUCI <crosvm-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 15 23:15:12 2022 +0000 |
tree | 4dce8dd304f8b2c9633f55cdd00badd1b09ebd41 | |
parent | c345f378bb2bbd25dca76c51fb3e18f659aaed06 [diff] |
base/src: Prepare Unix StreamChannel for Tube use This CL is one of two CLs in a series that migrate the Unix Tube from using UnixSeqpackets directly to instead use StreamChannels backed by UnixSeqpackets. This CL adds some pass-through functions to StreamChannel that are needed by Tube in the follow-up CL, as well as a new function to create a StreamChannel directly from a UnixSeqpacket. Additionally, a test is added for the new constructor-like function. This migration (Tube from UnixSeqpacket to Stream) is intended to move the Unix Tube API closer to the Windows API, with the eventual goal of creating a platform-agnostic API for Tube. Bug: b:231641496 Change-Id: I8d7da6a0e64d38d8f9833ae8e62ec7a2c4cfda5c Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3818249 Tested-by: Clarissa Garvey <clarissagarvey@chromium.org> Reviewed-by: Noah Gold <nkgold@google.com>
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 Chrome OS 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 Chrome OS devices.