[libvirt] [PATCH 0/3] Consolidate shell escape functions

Guido Günther agx at sigxcpu.org
Tue Oct 18 19:34:48 UTC 2011


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




More information about the libvir-list mailing list