diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2018-12-12 13:30:08 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-12-14 18:00:04 +0100 |
commit | f9b245e182ac9beb40f48faa0fd04ed3f3830d50 (patch) | |
tree | 4703a8462585c7a4fea98912e8e5f6ee8b1db164 /drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | |
parent | 461b4ba4c7ad79137171de2887e5d4d05a0ec8c1 (diff) |
KVM: nVMX: Remove param indirection from nested_vmx_check_msr_switch()
Passing the enum and doing an indirect lookup is silly when we can
simply pass the field directly. Remove the "fast path" code in
nested_vmx_check_msr_switch_controls() as it's now nothing more than a
redundant check.
Remove the debug message rather than continue passing the enum for the
address field. Having debug messages for the MSRs themselves is useful
as MSR legality is a huge space, whereas messing up a physical address
means the VMM is fundamentally broken.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c')
0 files changed, 0 insertions, 0 deletions