qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] virtio-serial-bus: Delete timer from list before free it
@ 2017-03-06  3:29 zhanghailiang
  2017-03-06 17:02 ` Paolo Bonzini
  2017-03-07 20:01 ` Amit Shah
  0 siblings, 2 replies; 4+ messages in thread
From: zhanghailiang @ 2017-03-06  3:29 UTC (permalink / raw)
  To: amit, mst, pbonzini; +Cc: qemu-devel, zhanghailiang

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
---
 hw/char/virtio-serial-bus.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/char/virtio-serial-bus.c b/hw/char/virtio-serial-bus.c
index d544cd9..d797a67 100644
--- a/hw/char/virtio-serial-bus.c
+++ b/hw/char/virtio-serial-bus.c
@@ -724,6 +724,7 @@ static void virtio_serial_post_load_timer_cb(void *opaque)
         }
     }
     g_free(s->post_load->connected);
+    timer_del(s->post_load->timer);
     timer_free(s->post_load->timer);
     g_free(s->post_load);
     s->post_load = NULL;
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] virtio-serial-bus: Delete timer from list before free it
  2017-03-06  3:29 [Qemu-devel] [PATCH] virtio-serial-bus: Delete timer from list before free it zhanghailiang
@ 2017-03-06 17:02 ` Paolo Bonzini
  2017-03-07 20:01 ` Amit Shah
  1 sibling, 0 replies; 4+ messages in thread
From: Paolo Bonzini @ 2017-03-06 17:02 UTC (permalink / raw)
  To: zhanghailiang, amit, mst; +Cc: qemu-devel, qemu-stable



On 06/03/2017 04:29, zhanghailiang wrote:
> Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
> ---
>  hw/char/virtio-serial-bus.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/hw/char/virtio-serial-bus.c b/hw/char/virtio-serial-bus.c
> index d544cd9..d797a67 100644
> --- a/hw/char/virtio-serial-bus.c
> +++ b/hw/char/virtio-serial-bus.c
> @@ -724,6 +724,7 @@ static void virtio_serial_post_load_timer_cb(void *opaque)
>          }
>      }
>      g_free(s->post_load->connected);
> +    timer_del(s->post_load->timer);
>      timer_free(s->post_load->timer);
>      g_free(s->post_load);
>      s->post_load = NULL;
> 

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-stable@nongnu.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] virtio-serial-bus: Delete timer from list before free it
  2017-03-06  3:29 [Qemu-devel] [PATCH] virtio-serial-bus: Delete timer from list before free it zhanghailiang
  2017-03-06 17:02 ` Paolo Bonzini
@ 2017-03-07 20:01 ` Amit Shah
  2017-03-14 12:26   ` Hailiang Zhang
  1 sibling, 1 reply; 4+ messages in thread
From: Amit Shah @ 2017-03-07 20:01 UTC (permalink / raw)
  To: zhanghailiang; +Cc: mst, pbonzini, qemu-devel

On (Mon) 06 Mar 2017 [11:29:31], zhanghailiang wrote:
> Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>

Reviewed-by: Amit Shah <amit@kernel.org>

Michael, please pick this up.

		Amit
-- 
http://log.amitshah.net/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] virtio-serial-bus: Delete timer from list before free it
  2017-03-07 20:01 ` Amit Shah
@ 2017-03-14 12:26   ` Hailiang Zhang
  0 siblings, 0 replies; 4+ messages in thread
From: Hailiang Zhang @ 2017-03-14 12:26 UTC (permalink / raw)
  To: Amit Shah, mst; +Cc: pbonzini, qemu-devel

ping... ?

On 2017/3/8 4:01, Amit Shah wrote:
> On (Mon) 06 Mar 2017 [11:29:31], zhanghailiang wrote:
>> Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
>
> Reviewed-by: Amit Shah <amit@kernel.org>
>
> Michael, please pick this up.
>
> 		Amit
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-14 12:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-06  3:29 [Qemu-devel] [PATCH] virtio-serial-bus: Delete timer from list before free it zhanghailiang
2017-03-06 17:02 ` Paolo Bonzini
2017-03-07 20:01 ` Amit Shah
2017-03-14 12:26   ` Hailiang Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).