KVM: x86 emulator: add (set|get)_msr callbacks to x86_emulate_ops
Add (set|get)_msr callbacks to x86_emulate_ops instead of calling them directly. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
@ -3811,6 +3811,8 @@ static struct x86_emulate_ops emulate_ops = {
|
||||
.set_rflags = emulator_set_rflags,
|
||||
.get_dr = emulator_get_dr,
|
||||
.set_dr = emulator_set_dr,
|
||||
.set_msr = kvm_set_msr,
|
||||
.get_msr = kvm_get_msr,
|
||||
};
|
||||
|
||||
static void cache_all_regs(struct kvm_vcpu *vcpu)
|
||||
|
Reference in New Issue
Block a user