qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/2] monitor: delay monitor iothread creation


From: Peter Xu
Subject: Re: [Qemu-devel] [PATCH 2/2] monitor: delay monitor iothread creation
Date: Tue, 25 Sep 2018 12:14:15 +0800
User-agent: Mutt/1.10.1 (2018-07-13)

On Fri, Sep 21, 2018 at 10:28:56AM +0200, Wolfgang Bumiller wrote:

[...]

> @@ -4738,11 +4744,13 @@ void monitor_cleanup(void)
>      /* QEMUBHs needs to be deleted before destroying the I/O thread */
>      qemu_bh_delete(qmp_dispatcher_bh);
>      qmp_dispatcher_bh = NULL;
> -    qemu_bh_delete(qmp_respond_bh);
> -    qmp_respond_bh = NULL;
> +    if (mon_iothread) {
> +        qemu_bh_delete(qmp_respond_bh);

qmp_respond_bh should have been removed.  Please rebase with master
and repost.  When do, feel free to add a cover letter as Eric
suggested.

Otherwise it looks good to me.

Thanks,

> +        qmp_respond_bh = NULL;
>  
> -    iothread_destroy(mon_iothread);
> -    mon_iothread = NULL;
> +        iothread_destroy(mon_iothread);
> +        mon_iothread = NULL;
> +    }
>  }

-- 
Peter Xu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]