diff options
author | Stefano Garzarella | 2021-07-27 16:59:36 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2021-10-07 16:29:50 +0200 |
commit | 1cc7eada97914f090125e588497986f6f7900514 (patch) | |
tree | a1ffac217f3694318a33b0cd0880cf460980e172 /python/qemu | |
parent | iothread: rename PollParamInfo to IOThreadParamInfo (diff) | |
download | qemu-1cc7eada97914f090125e588497986f6f7900514.tar.gz qemu-1cc7eada97914f090125e588497986f6f7900514.tar.xz qemu-1cc7eada97914f090125e588497986f6f7900514.zip |
iothread: use IOThreadParamInfo in iothread_[set|get]_param()
Commit 0445409d74 ("iothread: generalize
iothread_set_param/iothread_get_param") moved common code to set and
get IOThread parameters in two new functions.
These functions are called inside callbacks, so we don't need to use an
opaque pointer. Let's replace `void *opaque` parameter with
`IOThreadParamInfo *info`.
Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20210727145936.147032-3-sgarzare@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'python/qemu')
0 files changed, 0 insertions, 0 deletions