]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Escape commas for qemuBuildSCSIiSCSIHostdevDrvStr
authorAnya Harter <aharter@redhat.com>
Wed, 20 Jun 2018 13:17:00 +0000 (09:17 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 26 Jun 2018 15:04:38 +0000 (11:04 -0400)
commitc3427c4a85370c4206b7d19944cd4c752ee67852
tree379c094ff07030cc10459b98c20834978ae02641
parent6b770f9a3bdabb1a1b460227b0b7015e4f9cc621
qemu: Escape commas for qemuBuildSCSIiSCSIHostdevDrvStr

Add comma escaping for netsource. This is done here because
qemuBuildNetworkDriveStr has other external callers which
may not expect an escaped comma; however, this particular
command building path needs to perform the escaping for the
hostdev command line, so we do it now to ensure src->path
and src->host->name are covered.

Signed-off-by: Anya Harter <aharter@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/name-escape.args
tests/qemuxml2argvdata/name-escape.xml
tests/qemuxml2argvtest.c