Re: [libvirt] [PATCH 06/12] qemu: monitor: Convert common code to a macro

2015-03-11 Thread Ján Tomko
On Tue, Mar 10, 2015 at 05:26:35PM +0100, Peter Krempa wrote: > The function that is extracting block stats data from the QMP monitor > reply contains a lot of repeated code. Since I'd be changing each of the > copies in the next patch, lets convert it to a macro right away. > --- > src/qemu/qemu_

[libvirt] [PATCH 06/12] qemu: monitor: Convert common code to a macro

2015-03-10 Thread Peter Krempa
The function that is extracting block stats data from the QMP monitor reply contains a lot of repeated code. Since I'd be changing each of the copies in the next patch, lets convert it to a macro right away. --- src/qemu/qemu_monitor_json.c | 77 ++-- 1 file