]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: emulator_cmpxchg_emulated should mark_page_dirty
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 26 Feb 2014 01:44:54 +0000 (22:44 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 26 Feb 2014 09:11:08 +0000 (10:11 +0100)
commitd1c2d5fab412ad430ac520c8d67b871e5905e26b
tree63393c8f90a2df6ddc7435b65410d54fc63b4bf1
parent4333a6519dd8b43eea702d6ed2ac0ce5289c031c
KVM: x86: emulator_cmpxchg_emulated should mark_page_dirty

emulator_cmpxchg_emulated writes to guest memory, therefore it should
update the dirty bitmap accordingly.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Reviewed-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c