crosvm/hypervisor/tests
Daniel Verkamp d83234fcf7 hypervisor: remove unused Vcpu functions
These Vcpu functions are never called anywhere (some were previously
used but the uses have been removed; some were part of the initial
hypervisor API port and were never used):

- get_hyperv_cpuid()
- handle_hyperv_hypercall()
- handle_rdmsr()
- handle_wrmsr()

Additionally, these KVM-specific VM functions that are no longer called
can be removed (related to the handle_rdrmsr/handle_wrmsr functions):

- enable_userspace_msr()
- set_msr_filter()

Remove the dead code (including the corresponding VcpuExit codes where
relevant) to simplify the Vcpu API.

If these are ever re-added, they should be implemented on VcpuX86_64
rather than the generic Vcpu, as they are x86-specific features.

BUG=b:337131577
TEST=tools/dev_container tools/presubmit

Change-Id: I0187127170b30d7720212e26a84fd06773c824c4
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5499407
Reviewed-by: Idan Raiter <idanr@google.com>
Reviewed-by: Noah Gold <nkgold@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2024-05-07 18:22:14 +00:00
..
kvm hypervisor: remove unused Vcpu functions 2024-05-07 18:22:14 +00:00
dirty_log.rs hypervisor: tests: require windows for haxm 2024-03-08 01:12:21 +00:00
hypervisor_virtualization.rs Added test for hypervisor register read/write. 2024-05-03 11:48:30 +00:00
mmio_and_pio.rs hypervisor: tests: require windows for haxm 2024-03-08 01:12:21 +00:00
mmio_fetch_memory.rs Remove target_arch = "x86" checks 2023-08-18 23:36:47 +00:00
read_only_memory.rs hypervisor: tests: require windows for haxm 2024-03-08 01:12:21 +00:00
real_run_addr.rs hypervisor: tests: require windows for haxm 2024-03-08 01:12:21 +00:00
remove_memory.rs hypervisor: tests: require windows for haxm 2024-03-08 01:12:21 +00:00
tsc_offsets.rs hypervisor: x86_64: provide single-MSR get/set APIs 2024-04-09 19:37:24 +00:00