Skip to content
Commit b0996ae4 authored by Nicolas Iooss's avatar Nicolas Iooss Committed by Paolo Bonzini
Browse files

KVM: x86: remove data variable from kvm_get_msr_common

Commit 609e36d3 ("KVM: x86: pass host_initiated to functions that
read MSRs") modified kvm_get_msr_common function to use msr_info->data
instead of data but missed one occurrence.  Replace it and remove the
unused local variable.

Fixes: 609e36d3

 ("KVM: x86: pass host_initiated to functions that
read MSRs")
Signed-off-by: default avatarNicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 431dae77
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment