commit | 2d8e1b09a5b1e5362a0f0eb07024bee8e6a205a4 | [log] [tgz] |
---|---|---|
author | Xiong Zhang <xiong.y.zhang@intel.corp-partner.google.com> | Fri Oct 29 17:35:15 2021 +0800 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 05 19:35:10 2021 +0000 |
tree | 3210af9dbe173eca91064bffeeb872d3daeef34c | |
parent | 479efab2f5d658a72c5ea66d095f9bd3ae3fe76b [diff] |
Devices: Return bar reallocation info at bar written Previous commit "devices: Add/Remove device mmio at config memory enable /disable", it has an assumption that when driver update bar's location, driver should disable bar's memory/io at first. But some driver reallocate bar's address even with memory/io enabled, this commit monitor bar's config write, if address is modified, it return this modification. BUG=b:174705596 TEST=boot a vm, monitor resource reallocation and check function. Change-Id: I9aa883192f5e2fec344d3e86c818c7a29287f49a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3184726 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: 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.