]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Fix wallclock version writing race
authorAvi Kivity <avi@redhat.com>
Tue, 4 May 2010 12:00:37 +0000 (15:00 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 19 May 2010 08:36:36 +0000 (11:36 +0300)
commitc0b615df42604acccdaf15632f7beff1b42328e4
tree4214bfb01447b73768ae1e8175b04fccb2b3495f
parent72350ea3f2485574636a5df86a9ddff399ecbad9
KVM: Fix wallclock version writing race

Wallclock writing uses an unprotected global variable to hold the version;
this can cause one guest to interfere with another if both write their
wallclock at the same time.

Acked-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c