commit | 75da78b21b0a1423fa3627570e3e40403d3480c7 | [log] [tgz] |
---|---|---|
author | Keiichi Watanabe <keiichiw@chromium.org> | Tue Dec 07 20:09:44 2021 +0900 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Dec 08 14:50:59 2021 +0000 |
tree | b406ce41df37304f961fa08ef2d32122758a99ab | |
parent | a41f6c9be5683ad3c136a5085c1b17ee46c43f61 [diff] |
vmm_vhost: Remove SlaveReqHandler type parameter in SlaveReqHelper The type parameter `S: SlaveReqHandler` for `SlaveReqHelper` was introduced to check if it's vvu or not. Howver, SlaveReqHelper shouldn't take a type parameter of `SlaveReqHandler` because the helper will be used in the VVU proxy device which doesn't have its own req_handler. So, instead of taking the type parameter, we should have a new bool field which indicates if it's VVU or not. BUG=b:194136484 TEST=cargo test --all-features in vmm_vhost TEST=kokoro Change-Id: I35f20ef7c42cd74678ab5d87b68bbb58586d2fa5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3320122 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> Commit-Queue: Keiichi Watanabe <keiichiw@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.