]> git.proxmox.com Git - mirror_qemu.git/commit
iothread: generalize iothread_set_param/iothread_get_param
authorStefano Garzarella <sgarzare@redhat.com>
Wed, 21 Jul 2021 09:42:09 +0000 (11:42 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 21 Jul 2021 12:47:50 +0000 (13:47 +0100)
commit0445409d7497bededa1047f0d8298b0d4bb3b1a3
treece03cac34214891e84b2f53b3ed3f7032621e561
parent801f3db7564dcce8a37a70833c0abe40ec19f8ce
iothread: generalize iothread_set_param/iothread_get_param

Changes in preparation for next patches where we add a new
parameter not related to the poll mechanism.

Let's add two new generic functions (iothread_set_param and
iothread_get_param) that we use to set and get IOThread
parameters.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-id: 20210721094211.69853-2-sgarzare@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
iothread.c