Skip to content
Commit 95c5c7c7 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: nVMX: list VMX MSRs in KVM_GET_MSR_INDEX_LIST



This allows userspace to know which MSRs are supported by the hypervisor.
Unfortunately userspace must resort to tricks for everything except
MSR_IA32_VMX_VMFUNC (which was just added in the previous patch).
One possibility is to use the feature control MSR, which is tied to nested
VMX as well and is present on all KVM versions that support feature MSRs.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent e8a70bd4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment