commit | ff31bcfb486537c39575fd61f122d0b7c045b69d | [log] [tgz] |
---|---|---|
author | Daniel Verkamp <dverkamp@chromium.org> | Tue Feb 16 15:32:18 2021 -0800 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Nov 03 20:14:01 2021 +0000 |
tree | 87d4547480a8d97d095e719e8863b56ac9982f49 | |
parent | d982b8d9a3428df7055000ff7fd261c17ae7082a [diff] |
devices: bus: add BusDevice function to get ranges When device's bar are reallocated, all the old resource ranges should be deleted, the new resouce ranges shoud be added, this commit add the interface to get device mmmio/io old/new ranges. BUG=b:174705596 TEST=Boot a vm, monitor device bar reallocation and check function Change-Id: I1000607d9f766ff8b445bf92f17969b094f3b2ae Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2718280 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@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.