mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
8fef190b71
We don't need to call ioctl(KVM_GET_VCPU_MMAP_SIZE) repeatedly for each vcpu; the result is constant. Retrieve it once during Kvm::new(). BUG=None TEST=tools/dev_container tools/presubmit Change-Id: Ibe9607524198cc65c00f1ac0be1311934d7a9671 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5671063 Reviewed-by: Frederick Mayle <fmayle@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
aarch64.rs | ||
main.rs | ||
x86_64.rs |