]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: monitor: Rework qemuBlockStats into a g_object
authorPeter Krempa <pkrempa@redhat.com>
Thu, 11 Sep 2025 14:53:56 +0000 (16:53 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 21 Oct 2025 13:35:45 +0000 (15:35 +0200)
commit58aa005f3e95114b4f2dab76ee4ade06182a3f20
treee60aa060bea4f97198a82d1d534d5459d46ae32c
parentd35e519dcaba978617164d0bef44bf5df4e6ca35
qemu: monitor: Rework qemuBlockStats into a g_object

Create the g_object boilerplate and store references in the hash table
instead of copies.

This will simplify upcoming code which will add allocated fields into
qemuBlockStats.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_driver.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c