Re: [libvirt] [PATCH] qemu: work around dash 0.5.5 bug in managed save

2010-10-26 Thread Eric Blake
On 10/25/2010 06:28 PM, Justin Clift wrote: On 10/23/2010 10:29 AM, Eric Blake wrote: * configure.ac (VIR_WRAPPER_SHELL): Define to a replacement shell, if /bin/sh is broken on<> redirection. * src/qemu/qemu_monitor.h (VIR_WRAPPER_SHELL_PREFIX) (VIR_WRAPPER_SHELL_SUFFIX): New macros. * src/qemu

Re: [libvirt] [PATCH] qemu: work around dash 0.5.5 bug in managed save

2010-10-25 Thread Laine Stump
On 10/25/2010 08:28 PM, Justin Clift wrote: virsh # managedsave 1 Domain 1 state saved by libvirt virsh # As a usability thing though, there doesn't seem to be a matching "managedrestore" command in virsh, and the "help managedsave" command is bit light on "how do we restart a saved doma

Re: [libvirt] [PATCH] qemu: work around dash 0.5.5 bug in managed save

2010-10-25 Thread Justin Clift
On 10/23/2010 10:29 AM, Eric Blake wrote: > * configure.ac (VIR_WRAPPER_SHELL): Define to a replacement shell, > if /bin/sh is broken on <> redirection. > * src/qemu/qemu_monitor.h (VIR_WRAPPER_SHELL_PREFIX) > (VIR_WRAPPER_SHELL_SUFFIX): New macros. > * src/qemu/qemu_monitor_text.c (qemuMonitorText

Re: [libvirt] [PATCH] qemu: work around dash 0.5.5 bug in managed save

2010-10-25 Thread Stefan Berger
On 10/22/2010 07:29 PM, Eric Blake wrote: * configure.ac (VIR_WRAPPER_SHELL): Define to a replacement shell, if /bin/sh is broken on<> redirection. * src/qemu/qemu_monitor.h (VIR_WRAPPER_SHELL_PREFIX) (VIR_WRAPPER_SHELL_SUFFIX): New macros. * src/qemu/qemu_monitor_text.c (qemuMonitorTextMigrate

[libvirt] [PATCH] qemu: work around dash 0.5.5 bug in managed save

2010-10-22 Thread Eric Blake
* configure.ac (VIR_WRAPPER_SHELL): Define to a replacement shell, if /bin/sh is broken on <> redirection. * src/qemu/qemu_monitor.h (VIR_WRAPPER_SHELL_PREFIX) (VIR_WRAPPER_SHELL_SUFFIX): New macros. * src/qemu/qemu_monitor_text.c (qemuMonitorTextMigrateToFile): Use them. * src/qemu/qemu_monitor_js