]> xenbits.xensource.com Git - libvirt.git/commit
qemu: command: Refactor NUMA backend object formatting to use JSON objs
authorPeter Krempa <pkrempa@redhat.com>
Thu, 15 Jan 2015 21:42:51 +0000 (22:42 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Sat, 31 Jan 2015 07:53:22 +0000 (08:53 +0100)
commit8795adf7d12c84f98a2a1ba4ebd3cda0d467ebd2
tree879dadd4a70f31b175b4d3c2773a23c2bfcbb416
parentb50b4ef30cb082ce89474cdf80f8732fc78d1fe3
qemu: command: Refactor NUMA backend object formatting to use JSON objs

With the new JSON to argv formatter we are now able to represent the
memory backend definitions in the JSON object format that is reusable
for monitor use (hotplug) and then convert it into the shell string.
This will avoid having two separate instances of the same code that
would create the different formats.

Previous refactors now allow to make this step without changes to the
test suite.
src/qemu/qemu_command.c