diff options
author | Eric B Munson <emunson@mgebm.net> | 2012-03-10 14:37:26 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-04-08 05:48:59 -0400 |
commit | 3b5d56b9317fa7b5407dff1aa7b115bf6cdbd494 (patch) | |
tree | d733bab15dcf193c3364d14fc2d973aa20a28fe3 /arch/ia64 | |
parent | eae3ee7d8a7c59cf63441dedf28674889f5fc477 (diff) |
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/ia64')
-rw-r--r-- | arch/ia64/include/asm/kvm_para.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/kvm_para.h b/arch/ia64/include/asm/kvm_para.h index 1588aee781a2..2019cb99335e 100644 --- a/arch/ia64/include/asm/kvm_para.h +++ b/arch/ia64/include/asm/kvm_para.h | |||
@@ -26,6 +26,11 @@ static inline unsigned int kvm_arch_para_features(void) | |||
26 | return 0; | 26 | return 0; |
27 | } | 27 | } |
28 | 28 | ||
29 | static inline bool kvm_check_and_clear_guest_paused(void) | ||
30 | { | ||
31 | return false; | ||
32 | } | ||
33 | |||
29 | #endif | 34 | #endif |
30 | 35 | ||
31 | #endif | 36 | #endif |