summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorEric B Munson2012-03-10 20:37:26 +0100
committerAvi Kivity2012-04-08 11:48:59 +0200
commit3b5d56b9317fa7b5407dff1aa7b115bf6cdbd494 (patch)
treed733bab15dcf193c3364d14fc2d973aa20a28fe3 /arch/s390
parentx86: pvclock: Add flag to indicate that a vm was stopped by the host (diff)
downloadkernel-qcow2-linux-3b5d56b9317fa7b5407dff1aa7b115bf6cdbd494.tar.gz
kernel-qcow2-linux-3b5d56b9317fa7b5407dff1aa7b115bf6cdbd494.tar.xz
kernel-qcow2-linux-3b5d56b9317fa7b5407dff1aa7b115bf6cdbd494.zip
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>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/include/asm/kvm_para.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/s390/include/asm/kvm_para.h b/arch/s390/include/asm/kvm_para.h
index 6964db226f83..a98832961035 100644
--- a/arch/s390/include/asm/kvm_para.h
+++ b/arch/s390/include/asm/kvm_para.h
@@ -149,6 +149,11 @@ static inline unsigned int kvm_arch_para_features(void)
return 0;
}
+static inline bool kvm_check_and_clear_guest_paused(void)
+{
+ return false;
+}
+
#endif
#endif /* __S390_KVM_PARA_H */