kvmclock: guest stop notification
authorEric B Munson <emunson@mgebm.net>
Sat, 7 Apr 2012 00:47:47 +0000 (06:17 +0530)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 12 Apr 2012 22:01:42 +0000 (19:01 -0300)
commitf349c12c0434e29c79ecde89029320c4002f7253
tree64e76c6ff7ae5f94d48dd5a6f83d29d42555ade9
parent9ab2195dcb2e7d202287b6db7cfaa4f9e01941f6
kvmclock: guest stop notification

Often when a guest is stopped from the qemu console, it will report spurious
soft lockup warnings on resume.  There are kernel patches being discussed that
will give the host the ability to tell the guest that it is being stopped and
should ignore the soft lockup warning that generates.  This patch uses the qemu
Notifier system to tell the guest it is about to be stopped.

Signed-off-by: Eric B Munson <emunson@mgebm.net>
Signed-off-by: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
hw/kvm/clock.c