watchdog: add check for suspended vm in softlockup detector
authorEric B Munson <emunson@mgebm.net>
Sat, 10 Mar 2012 19:37:28 +0000 (14:37 -0500)
committerAvi Kivity <avi@redhat.com>
Sun, 8 Apr 2012 09:49:03 +0000 (12:49 +0300)
commit5d1c0f4a80a6df73395fb3fc2c302510f8f09d36
tree7819e75a82c6620e6240a78813b4217a1f4a08dc
parent1c0b28c2a46d98cd258d96b8c222144b22876c46
watchdog: add check for suspended vm in softlockup detector

A suspended VM can cause spurious soft lockup warnings.  To avoid these, the
watchdog now checks if the kernel knows it was stopped by the host and skips
the warning if so.  When the watchdog is reset successfully, clear the guest
paused flag.

Signed-off-by: Eric B Munson <emunson@mgebm.net>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
kernel/watchdog.c