]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMonitorJSONBlockInfoAdd: Refactor hash table addition
authorPeter Krempa <pkrempa@redhat.com>
Wed, 13 Oct 2021 13:25:15 +0000 (15:25 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 1 Nov 2021 15:14:53 +0000 (16:14 +0100)
commita1ef0b129a22e5706716cc0e25511cdeedb6dea0
treefcf280a37429e9a701a8fe09fcd6c8cf9c5f0e74
parent04a248eb01335836f62b3fc6fb3bab2e7858a81c
qemuMonitorJSONBlockInfoAdd: Refactor hash table addition

Open code virHashAddEntry so that the error code path can be avoided.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_monitor_json.c