Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b94b64c9 authored by Vadim Rozenfeld's avatar Vadim Rozenfeld Committed by Paolo Bonzini
Browse files

KVM: x86: mark hyper-v hypercall page as dirty

parent c760f5e2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1840,6 +1840,7 @@ static int set_msr_hyperv_pw(struct kvm_vcpu *vcpu, u32 msr, u64 data)
		if (__copy_to_user((void __user *)addr, instructions, 4))
			return 1;
		kvm->arch.hv_hypercall = data;
		mark_page_dirty(kvm, gfn);
		break;
	}
	case HV_X64_MSR_REFERENCE_TSC: {