commit | f7874719135f5169b45ca9d12b60d98e6c2873e4 | [log] [tgz] |
---|---|---|
author | Xiong Zhang <xiong.y.zhang@intel.corp-partner.google.com> | Fri Dec 24 10:53:59 2021 +0800 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Feb 07 21:29:58 2022 +0000 |
tree | 6748eed93f95c9956494ea2d3201559c57e90ebc | |
parent | cf093620a8f412257aeb4a3b9f872b56bf588d3d [diff] |
Linux: Add parameter to pass host pcie root port into guest Add pcie-root-port parameter, it specify host pcie root port's sysfs, then it will have a virtual pcie root port in guest, as guest and host have the same pci address, so virtual pcie root port creation should be prior to build_vm(). BUG=b:185084350 TEST=boot CrOS with --pcie-root-port=sysfs_path in ManaTEE and check virtual RP's function in CrOS Change-Id: Id357e0de057d5387f135213e89702f27163faaee Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3423460 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> 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 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.