Re: [libvirt] [PATCH 07/22] qemu: Introduce qemuMonitorCPUDefs struct

2019-10-07 Thread Ján Tomko
On Thu, Oct 03, 2019 at 04:00:25PM +0200, Jiri Denemark wrote: It is a container for a CPU models list (qemuMonitorCPUDefInfo) and a number of elements in this list. Surely introducing a new type with VIR_AUTOFREE_FUNC defined and not using it would look strange. But all the goto cleanup ->

[libvirt] [PATCH 07/22] qemu: Introduce qemuMonitorCPUDefs struct

2019-10-03 Thread Jiri Denemark
It is a container for a CPU models list (qemuMonitorCPUDefInfo) and a number of elements in this list. Signed-off-by: Jiri Denemark --- src/qemu/qemu_capabilities.c | 24 ++-- src/qemu/qemu_monitor.c | 39 +++-- src/qemu/qemu_monitor.h | 14 +++--