]> git.proxmox.com Git - mirror_qemu.git/commit
iothread: create main loop unconditionally
authorPeter Xu <peterx@redhat.com>
Wed, 6 Mar 2019 11:55:30 +0000 (19:55 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 8 Mar 2019 10:16:15 +0000 (10:16 +0000)
commit0bd2d233c628dcfcd2b24b7b7f59e8fcd2dcbae3
tree0caa11003ca443cf79a028daf75f1c9cffff9bb9
parentb506e0f16c05b68b776752909e4451b54d461fd1
iothread: create main loop unconditionally

Since we've have the gcontext always there, create the main loop
altogether.  The iothread_run() is even cleaner.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-id: 20190306115532.23025-4-peterx@redhat.com
Message-Id: <20190306115532.23025-4-peterx@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
iothread.c