KVM: MMU: emulated cmpxchg8b should be atomic on i386
authorMarcelo Tosatti <marcelo@kvack.org>
Wed, 12 Dec 2007 15:46:12 +0000 (10:46 -0500)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:22 +0000 (17:53 +0200)
Emulate cmpxchg8b atomically on i386. This is required to avoid a guest
pte walker from seeing a splitted write.

[avi: make it compile]

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>

No differences found