Re: [libvirt] [PATCH 06/12] qemu: command: Add helper to format -object strings from JSON representation

2015-01-29 Thread Michal Privoznik
On 28.01.2015 11:30, Peter Krempa wrote: Unlike -device, qemu uses a JSON object to add backend objects via the monitor rather than the string that would be passed on the commandline. To be able to reuse code parts that configure backends for various devices, this patch adds a helper that

[libvirt] [PATCH 06/12] qemu: command: Add helper to format -object strings from JSON representation

2015-01-28 Thread Peter Krempa
Unlike -device, qemu uses a JSON object to add backend objects via the monitor rather than the string that would be passed on the commandline. To be able to reuse code parts that configure backends for various devices, this patch adds a helper that will allow generating the command line