Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx> --- arch/x86/kvm/x86.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index ea0775842c9c..9d0c06c88c89 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -7697,9 +7697,9 @@ static int rsm_load_state_32(struct x86_emulate_ctxt *ctxt, u64 smbase) *reg_write(ctxt, i) = GET_SMSTATE(u32, smbase, 0x7fd0 + i * 4); val = GET_SMSTATE(u32, smbase, 0x7fcc); - ctxt->ops->set_dr(ctxt, 6, (val & DR6_VOLATILE) | DR6_FIXED_1); + __kvm_set_dr(vcpu, 6, (val & DR6_VOLATILE) | DR6_FIXED_1); val = GET_SMSTATE(u32, smbase, 0x7fc8); - ctxt->ops->set_dr(ctxt, 7, (val & DR7_VOLATILE) | DR7_FIXED_1); + __kvm_set_dr(vcpu, 7, (val & DR7_VOLATILE) | DR7_FIXED_1); selector = GET_SMSTATE(u32, smbase, 0x7fc4); set_desc_base(&desc, GET_SMSTATE(u32, smbase, 0x7f64)); @@ -7751,9 +7751,9 @@ static int rsm_load_state_64(struct x86_emulate_ctxt *ctxt, u64 smbase) ctxt->eflags = GET_SMSTATE(u32, smbase, 0x7f70) | X86_EFLAGS_FIXED; val = GET_SMSTATE(u32, smbase, 0x7f68); - ctxt->ops->set_dr(ctxt, 6, (val & DR6_VOLATILE) | DR6_FIXED_1); + __kvm_set_dr(vcpu, 6, (val & DR6_VOLATILE) | DR6_FIXED_1); val = GET_SMSTATE(u32, smbase, 0x7f60); - ctxt->ops->set_dr(ctxt, 7, (val & DR7_VOLATILE) | DR7_FIXED_1); + __kvm_set_dr(vcpu, 7, (val & DR7_VOLATILE) | DR7_FIXED_1); cr0 = GET_SMSTATE(u64, smbase, 0x7f58); cr3 = GET_SMSTATE(u64, smbase, 0x7f50); -- 2.21.0