Re: [libvirt] [PATCH 5/9] util: json: Split out code to create json value objects

2014-10-15 Thread Peter Krempa
On 10/14/14 12:46, John Ferlan wrote: On 10/14/2014 03:29 AM, Peter Krempa wrote: Our qemu monitor code has a converter from key-value pairs to a json value object. I want to re-use the code later and having it part of the monitor command generator is inflexible. Split it out into a

[libvirt] [PATCH 5/9] util: json: Split out code to create json value objects

2014-10-14 Thread Peter Krempa
Our qemu monitor code has a converter from key-value pairs to a json value object. I want to re-use the code later and having it part of the monitor command generator is inflexible. Split it out into a separate helper. --- src/libvirt_private.syms | 2 + src/qemu/qemu_monitor_json.c | 161

Re: [libvirt] [PATCH 5/9] util: json: Split out code to create json value objects

2014-10-14 Thread John Ferlan
On 10/14/2014 03:29 AM, Peter Krempa wrote: Our qemu monitor code has a converter from key-value pairs to a json value object. I want to re-use the code later and having it part of the monitor command generator is inflexible. Split it out into a separate helper. ---