qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] f0ed36: iothread: rename PollParamInfo to IOT


From: Richard Henderson
Subject: [Qemu-commits] [qemu/qemu] f0ed36: iothread: rename PollParamInfo to IOThreadParamInfo
Date: Mon, 11 Oct 2021 11:23:56 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: f0ed36a64f1750a0ebc5d2a5437f4740985461d7
      
https://github.com/qemu/qemu/commit/f0ed36a64f1750a0ebc5d2a5437f4740985461d7
  Author: Stefano Garzarella <sgarzare@redhat.com>
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
    M iothread.c

  Log Message:
  -----------
  iothread: rename PollParamInfo to IOThreadParamInfo

Commit 1793ad0247 ("iothread: add aio-max-batch parameter") added
a new parameter (aio-max-batch) to IOThread and used PollParamInfo
structure to handle it.

Since it is not a parameter of the polling mechanism, we rename the
structure to a more generic IOThreadParamInfo.

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-2-sgarzare@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 1cc7eada97914f090125e588497986f6f7900514
      
https://github.com/qemu/qemu/commit/1cc7eada97914f090125e588497986f6f7900514
  Author: Stefano Garzarella <sgarzare@redhat.com>
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
    M iothread.c

  Log Message:
  -----------
  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>


  Commit: c09124dcb8401a0d635b4a52b295e9b3fc12392a
      
https://github.com/qemu/qemu/commit/c09124dcb8401a0d635b4a52b295e9b3fc12392a
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-10-11 (Mon, 11 Oct 2021)

  Changed paths:
    M iothread.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into 
staging

Pull request

# gpg: Signature made Mon 11 Oct 2021 05:40:35 AM PDT
# gpg:                using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" [full]
# gpg:                 aka "Stefan Hajnoczi <stefanha@gmail.com>" [full]

* remotes/stefanha/tags/block-pull-request:
  iothread: use IOThreadParamInfo in iothread_[set|get]_param()
  iothread: rename PollParamInfo to IOThreadParamInfo

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


Compare: https://github.com/qemu/qemu/compare/15a0578903dc...c09124dcb840



reply via email to

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