kvmclock: Add functions to check if the host has stopped the vm
authorEric B Munson <emunson@mgebm.net>
Sat, 10 Mar 2012 19:37:26 +0000 (14:37 -0500)
committerAvi Kivity <avi@redhat.com>
Sun, 8 Apr 2012 09:48:59 +0000 (12:48 +0300)
commit3b5d56b9317fa7b5407dff1aa7b115bf6cdbd494
treed733bab15dcf193c3364d14fc2d973aa20a28fe3
parenteae3ee7d8a7c59cf63441dedf28674889f5fc477
kvmclock: Add functions to check if the host has stopped the vm

When a host stops or suspends a VM it will set a flag to show this.  The
watchdog will use these functions to determine if a softlockup is real, or the
result of a suspended VM.

Signed-off-by: Eric B Munson <emunson@mgebm.net>
asm-generic changes Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
27 files changed:
arch/alpha/include/asm/kvm_para.h [new file with mode: 0644]
arch/arm/include/asm/kvm_para.h [new file with mode: 0644]
arch/avr32/include/asm/kvm_para.h [new file with mode: 0644]
arch/blackfin/include/asm/kvm_para.h [new file with mode: 0644]
arch/c6x/include/asm/kvm_para.h [new file with mode: 0644]
arch/frv/include/asm/kvm_para.h [new file with mode: 0644]
arch/h8300/include/asm/kvm_para.h [new file with mode: 0644]
arch/hexagon/include/asm/kvm_para.h [new file with mode: 0644]
arch/ia64/include/asm/kvm_para.h
arch/m68k/include/asm/kvm_para.h [new file with mode: 0644]
arch/microblaze/include/asm/kvm_para.h [new file with mode: 0644]
arch/mips/include/asm/kvm_para.h [new file with mode: 0644]
arch/mn10300/include/asm/kvm_para.h [new file with mode: 0644]
arch/openrisc/include/asm/kvm_para.h [new file with mode: 0644]
arch/parisc/include/asm/kvm_para.h [new file with mode: 0644]
arch/powerpc/include/asm/kvm_para.h
arch/s390/include/asm/kvm_para.h
arch/score/include/asm/kvm_para.h [new file with mode: 0644]
arch/sh/include/asm/kvm_para.h [new file with mode: 0644]
arch/sparc/include/asm/kvm_para.h [new file with mode: 0644]
arch/tile/include/asm/kvm_para.h [new file with mode: 0644]
arch/um/include/asm/kvm_para.h [new file with mode: 0644]
arch/unicore32/include/asm/kvm_para.h [new file with mode: 0644]
arch/x86/include/asm/kvm_para.h
arch/x86/kernel/kvmclock.c
arch/xtensa/include/asm/kvm_para.h [new file with mode: 0644]
include/asm-generic/kvm_para.h [new file with mode: 0644]