Re: [PATCH v3 2/4] qemu: Create common code for JSON "query-block" call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 04, 2016 at 11:28:56 -0400, John Ferlan wrote:
> Reduce some cut-n-paste code by creating common helper. Make use of the
> recently added virJSONValueObjectStealArray to grab the devices list as
> part of the common code (we we can Free the reply) and return devices for
> each of the callers to continue to parse.
> 
> NB: This also adds error checking to qemuMonitorJSONDiskNameLookup
> 
> Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
> ---
>  src/qemu/qemu_monitor_json.c | 91 ++++++++++++++++++++------------------------
>  1 file changed, 41 insertions(+), 50 deletions(-)

ACK

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]