Re: [Qemu-devel] [PATCH] balloon: fix segfault and harden the stats queue

2016-03-01 Thread Paolo Bonzini
On 01/03/2016 12:14, Ladi Prosek wrote: > The segfault here is triggered by the driver notifying the stats queue > twice after adding a buffer to it. This effectively resets stats_vq_elem > back to NULL and QEMU crashes on the next stats timer tick in > balloon_stats_poll_cb. > > This is a regress

[Qemu-devel] [PATCH] balloon: fix segfault and harden the stats queue

2016-03-01 Thread Ladi Prosek
The segfault here is triggered by the driver notifying the stats queue twice after adding a buffer to it. This effectively resets stats_vq_elem back to NULL and QEMU crashes on the next stats timer tick in balloon_stats_poll_cb. This is a regression introduced in 51b19ebe4320f3dc, although admitte