projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c760f5e
)
KVM: x86: mark hyper-v hypercall page as dirty
author
Vadim Rozenfeld
<vrozenfe@redhat.com>
Thu, 23 Jan 2014 07:12:52 +0000
(18:12 +1100)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 23 Jan 2014 18:00:04 +0000
(19:00 +0100)
Signed-off-by: Vadim Rozenfeld <vrozenfe@redhat.com>
Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/x86.c
b/arch/x86/kvm/x86.c
index 0c76f7cfdb32c0f9161ea08427f9144d332eaca5..0fa9c84e36cb10ed4163e7b2ef9db2970c3f029f 100644
(file)
--- a/
arch/x86/kvm/x86.c
+++ b/
arch/x86/kvm/x86.c
@@
-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: {