]> xenbits.xensource.com Git - libvirt.git/commit
qemu: don't append -chardev arg until after value is formatted
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 29 Feb 2016 12:21:14 +0000 (12:21 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 10 Mar 2016 15:40:54 +0000 (15:40 +0000)
commit0192447519226503945e4a471a24acaed81e1bed
tree23a53240befff8848320c5a827e9a2f22c29a189
parent06cb0cf7ceaf63d57625898e12cb965751545621
qemu: don't append -chardev arg until after value is formatted

The act of formatting a chardev backend value may need to
append command line arguments for passing FDs. If we append
the -chardev arg before formatting the value, then the
resulting arguments will end up interspersed

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/qemu/qemu_command.c