[libvirt] [PATCH v3 0/2] Allow saving VM state to pipe

Chen Hanxiao posted 2 patches 7 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/1489033343-15084-1-git-send-email-chen_han_xiao@126.com
docs/news.xml                    |  9 +++++++
include/libvirt/libvirt-domain.h |  1 +
src/qemu/qemu_driver.c           | 54 ++++++++++++++++++++++++++--------------
tools/virsh-domain.c             |  6 +++++
tools/virsh.pod                  |  5 +++-
5 files changed, 56 insertions(+), 19 deletions(-)
[libvirt] [PATCH v3 0/2] Allow saving VM state to pipe
Posted by Chen Hanxiao 7 years, 1 month ago
This series introduce flag VIR_DOMAIN_SAVE_DIRECT
to enable command 'save' to write to PIPE.
This will write QEMU_SAVE_MAGIC directly.

Base upon patches from Roy Keene <rkeene@knightpoint.com>
with some fixes.

Change from original patch:
1) Check whether the specified path is a PIPE.
2) Rebase on upstream.
3) Add doc for virsh command

v3:
  add doc/news.xml
  rebase on upstream

v2-resend:
  rebase on upstream

v2:
  rename VIR_DOMAIN_SAVE_PIPE to VIR_DOMAIN_SAVE_DIRECT
  remove S_ISFIFO check

Chen Hanxiao (2):
  qemu: Allow qemuDomainSaveMemory saving VM state to a pipe
  virsh: introduce flage --direct for save command

 docs/news.xml                    |  9 +++++++
 include/libvirt/libvirt-domain.h |  1 +
 src/qemu/qemu_driver.c           | 54 ++++++++++++++++++++++++++--------------
 tools/virsh-domain.c             |  6 +++++
 tools/virsh.pod                  |  5 +++-
 5 files changed, 56 insertions(+), 19 deletions(-)

-- 
2.7.4


--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v3 0/2] Allow saving VM state to pipe
Posted by Chen Hanxiao 7 years, 1 month ago
At 2017-03-09 12:22:21, "Chen Hanxiao" <chen_han_xiao@126.com> wrote:
>This series introduce flag VIR_DOMAIN_SAVE_DIRECT
>to enable command 'save' to write to PIPE.
>This will write QEMU_SAVE_MAGIC directly.
>
>Base upon patches from Roy Keene <rkeene@knightpoint.com>
>with some fixes.
>
>Change from original patch:
>1) Check whether the specified path is a PIPE.
>2) Rebase on upstream.
>3) Add doc for virsh command
>
>v3:
>  add doc/news.xml
>  rebase on upstream
>
>v2-resend:
>  rebase on upstream
>
>v2:
>  rename VIR_DOMAIN_SAVE_PIPE to VIR_DOMAIN_SAVE_DIRECT
>  remove S_ISFIFO check
>

ping

Regards,
- Chen

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v3 0/2] Allow saving VM state to pipe
Posted by Chen Hanxiao 7 years, 1 month ago
At 2017-03-14 14:26:24, "Chen Hanxiao" <chen_han_xiao@126.com> wrote:
>
>At 2017-03-09 12:22:21, "Chen Hanxiao" <chen_han_xiao@126.com> wrote:
>>This series introduce flag VIR_DOMAIN_SAVE_DIRECT
>>to enable command 'save' to write to PIPE.
>>This will write QEMU_SAVE_MAGIC directly.
>>
>>Base upon patches from Roy Keene <rkeene@knightpoint.com>
>>with some fixes.
>>
>>Change from original patch:
>>1) Check whether the specified path is a PIPE.
>>2) Rebase on upstream.
>>3) Add doc for virsh command
>>
>>v3:
>>  add doc/news.xml
>>  rebase on upstream
>>
>>v2-resend:
>>  rebase on upstream
>>
>>v2:
>>  rename VIR_DOMAIN_SAVE_PIPE to VIR_DOMAIN_SAVE_DIRECT
>>  remove S_ISFIFO check
>>
>
>ping
>

ping

Regards,
- Chen

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list