Re: [PATCH RESEND] virtio/virtio-balloon: Prefer Object* over void* parameter

2022-03-01 Thread Bernhard Beschow
Am 1. März 2022 22:23:00 UTC schrieb Bernhard Beschow : >*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 >Reviewed-by: David Hil

[PATCH RESEND] virtio/virtio-balloon: Prefer Object* over void* parameter

2022-03-01 Thread Bernhard Beschow
*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 Reviewed-by: David Hildenbrand --- hw/virtio/virtio-balloon.c | 10 +- 1 f