From 658357638c2fdd95525dd555c86078ecaed47458 Mon Sep 17 00:00:00 2001 From: Dmitry Torokhov Date: Thu, 26 Jul 2018 14:44:50 -0700 Subject: plugin: allow retrieving list of supported MSRs Add crossvm plugin API to allow fetching list of supported MSRs. BUG=b:111083877 TEST=cargo test -p kvm; cargo test --features=plugin Change-Id: I178c7bc33d606bef10422faac6bb9afb3fe0a014 Signed-off-by: Dmitry Torokhov Reviewed-on: https://chromium-review.googlesource.com/1152229 Reviewed-by: Zach Reizner --- tests/plugins.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/plugins.rs') diff --git a/tests/plugins.rs b/tests/plugins.rs index c760875..7d2d8ff 100644 --- a/tests/plugins.rs +++ b/tests/plugins.rs @@ -241,6 +241,11 @@ fn test_supported_cpuid() { test_plugin(include_str!("plugin_supported_cpuid.c")); } +#[test] +fn test_msr_index_list() { + test_plugin(include_str!("plugin_msr_index_list.c")); +} + #[test] fn test_vm_state_manipulation() { test_plugin(include_str!("plugin_vm_state.c")); -- cgit 1.4.1