]> rtime.felk.cvut.cz Git - linux-imx.git/commit
KVM: x86: fix pvclock guest stopped flag reporting
authorMarcelo Tosatti <mtosatti@redhat.com>
Fri, 3 Aug 2012 18:57:49 +0000 (15:57 -0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 13 Aug 2012 19:10:45 +0000 (16:10 -0300)
commit51d59c6b422f3f95940ae4e5b42f165595906aee
treedc1afa1f084c78b09af2dc829a5bfda8cfa00a0c
parent64eb0620296f924d5fded755c5ed95fb73649e06
KVM: x86: fix pvclock guest stopped flag reporting

kvm_guest_time_update unconditionally clears hv_clock.flags field,
so the notification never reaches the guest.

Fix it by allowing PVCLOCK_GUEST_STOPPED to passthrough.

Reviewed-by: Eric B Munson <emunson@mgebm.net>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c