Re: [Qemu-devel] [PATCH] watchdog: fix deadlock with -watchdog-action pause

2014-07-04 Thread Luiz Capitulino
On Fri, 4 Jul 2014 15:48:50 +0200 Paolo Bonzini wrote: > qemu_clock_enable says: > > /* Disabling the clock will wait for related timerlists to stop > * executing qemu_run_timers. Thus, this functions should not > * be used from the callback of a timer that is based on @clock. > * Doing so

[Qemu-devel] [PATCH] watchdog: fix deadlock with -watchdog-action pause

2014-07-04 Thread Paolo Bonzini
qemu_clock_enable says: /* Disabling the clock will wait for related timerlists to stop * executing qemu_run_timers. Thus, this functions should not * be used from the callback of a timer that is based on @clock. * Doing so would cause a deadlock. */ and it indeed does: vm_stop uses qemu_clo