[libvirt] [PATCH 0/4] qemu: add comma escaping in qemu_command.c

Anya Harter aharter at redhat.com
Mon Jun 18 17:57:22 UTC 2018

The function virQEMUBuildBufferEscapeComma is used to escape commas in
user provided fields for qemu command line processing in the four
functions listed below.

A corresponding test for each comma escaping instance has been added to

This should complete the BiteSizedTask entry at

Anya Harter (4):
  qemu: Escape commas for qemuBuildChrChardevStr
  qemu: Escape commas for qemuBuildChrChardevFileStr
  qemu: Escape commas for qemuBuildSmartcardCommandLine
  qemu: Escape commas for qemuBuildGrapicsSPICECommandLine

 src/qemu/qemu_command.c                 | 44 +++++++++++--------------
 tests/qemuxml2argvdata/name-escape.args | 14 ++++++--
 tests/qemuxml2argvdata/name-escape.xml  | 18 ++++++++++
 tests/qemuxml2argvtest.c                | 10 +++++-
 4 files changed, 58 insertions(+), 28 deletions(-)


More information about the libvir-list mailing list