crosvm/kvm
Dmitry Torokhov 9dec40e242 kvm: fix get_msrs() to handle case where KVM does not fetch all MSRs
KVM may not return all MSRs that were requested in KVM_GET_MSRS call and
instead stop early. We should handle this case.

BUG=None
TEST=cargo test -p kvm

Change-Id: I18402c0a07b1d0c7657c171873d521fd2f223611
Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1192231
Reviewed-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
2018-08-31 05:22:52 -07:00
..
src kvm: fix get_msrs() to handle case where KVM does not fetch all MSRs 2018-08-31 05:22:52 -07:00
tests kvm: support adding read only memory to VMs 2018-02-06 21:32:39 -08:00
Cargo.toml kvm: add kvm crate to safely use kvm 2017-05-08 12:40:51 -07:00