The attached patches use virBufferEscapeShell in virsh's virCmd and
eliminate qemuMonitorEscapeShell so we have only one function that does
the shell escaping.
Cheers,
-- Guido
Guido Günther (3):
virBufferEscapeShell: Emit quotes for the empty string
Use virBufferEscapeShell in cmdEcho
qemu: replace qemuMonitorEscapeShell by virBufferEscapeShell
src/qemu/qemu_monitor.c | 49 ++++------------------------------------------
src/qemu/qemu_monitor.h | 1 -
src/util/buf.c | 15 +++++++++----
tools/virsh.c | 39 +++++++++++++++++--------------------
4 files changed, 33 insertions(+), 71 deletions(-)
--
1.7.6.3