]> 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)
commiteee66d3cf0a4160b2ad13fa6475dc6aa773871b9
tree63393c8f90a2df6ddc7435b65410d54fc63b4bf1
parente6bb5d53c680bf3cb9faf14d0339317730b7e74a
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