]> git.proxmox.com Git - mirror_qemu.git/commit
virtio/virtio-balloon: Prefer Object* over void* parameter
authorBernhard Beschow <shentey@gmail.com>
Tue, 1 Mar 2022 22:23:01 +0000 (23:23 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 18 Mar 2022 12:57:50 +0000 (13:57 +0100)
commita2d860bb546aa766f6c28a47fabedafbfa191cc2
treecca8eaaaa4b16eddbbefd858a213615868ee5e85
parentd1e9e646298c6635fe84db7af35c1d16e9e8eb8f
virtio/virtio-balloon: Prefer Object* over void* parameter

*opaque is an alias to *obj. Using the ladder makes the code consistent with
with other devices, e.g. accel/kvm/kvm-all and accel/tcg/tcg-all. It also
makes the cast more typesafe.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20220301222301.103821-2-shentey@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/virtio/virtio-balloon.c