commit | 629e352c6772f4033fc125bcb7937517da9e8115 | [log] [tgz] |
---|---|---|
author | Junichi Uekawa <uekawa@chromium.org> | Tue Mar 01 10:06:48 2022 +0000 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Mar 01 11:19:44 2022 +0000 |
tree | d890b550198d2832b0ecfd39d4f0516481acc93c | |
parent | 4d0b6cb59223783decbb080b562e82575197e5c9 [diff] |
Revert "system_allocator: allow more than one region to be in the pool" This reverts commit d2d66bc0a474e7b503fa5e28baccbada1a28aea0. Reason for revert: It turns out that adding the first page to the pool of memory managed by the MMIO allocator has undesired consequences since crosvm will actually use it for MMIO regions. The first page has special semantics in other code though, and thus we get stray accesses to this region, with hard-to-predict consequences. BUG=b:188011323 TEST=cq Original change's description: > system_allocator: allow more than one region to be in the pool > > Allows crosvm-direct to have 0-0xfff regions to be mapped. > > limitations: Only the first regions gets reflected in the > pool_base/pool_size. > > BUG=b:188011323 > BUG=b:184815519 > TEST=build > > Change-Id: I9da3cb2b8d5611068f9323d6ebf62f44162838b4 > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3450017 > Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> > Tested-by: kokoro <noreply+kokoro@google.com> > Commit-Queue: Junichi Uekawa <uekawa@chromium.org> Bug: b:188011323 Bug: b:184815519 Change-Id: Ib42b3007662a7a49ad876b83a01f1bb88d09d5f7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3497136 Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Mattias Nissler <mnissler@chromium.org> Commit-Queue: Mattias Nissler <mnissler@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.