From: Michael Roth <mdroth@linux.vnet.ibm.com>
To: Tomoki Sekiyama <tomoki.sekiyama@hds.com>, qemu-devel@nongnu.org
Cc: libaiqing@huawei.com, ghammer@redhat.com, stefanha@gmail.com,
lcapitulino@redhat.com, vrozenfe@redhat.com, pbonzini@redhat.com,
seiji.aguchi@hds.com, lersek@redhat.com, areis@redhat.com
Subject: Re: [Qemu-devel] [PATCH v10 00/10] qemu-ga: fsfreeze on Windows using VSS
Date: Thu, 08 Aug 2013 17:35:48 -0500 [thread overview]
Message-ID: <20130808223548.20939.8488@loki> (raw)
In-Reply-To: <20130807153925.16124.93648.stgit@hds.com>
Quoting Tomoki Sekiyama (2013-08-07 10:39:25)
> Hi,
>
> I rebased the patch series to add fsfreeze for Windows qemu-ga.
>
> changes from v9:
> - Fix conflict with commit e8ef31a3518c "qemu-ga: build it even if !system"
>
> changes from v8:
> - Add hEventTimeout to improve timeout error message (patch 07, see below)
> - Build qga-vss.tlb if configure'd --with-win-sdk (patch 05, 07)
> - Use "qga-vss-dll-obj-$(CONFIG_QGA_VSS)" in Makefile.objs (patch 07)
> - Fix typo in QGAVSSRequesterFunc (patch 07, 08)
Everything looks good, went ahead and applied to qga branch and will send a
PULL shortly after 1.7 development window opens up:
https://github.com/mdroth/qemu/commits/qga
Thanks for the series!
>
> v9: http://lists.nongnu.org/archive/html/qemu-devel/2013-07/msg06071.html
>
> * Description
> In Windows, VSS (Volume Shadow Copy Service) provides a facility to
> quiesce filesystems and applications before disk snapshots are taken.
> This patch series implements "fsfreeze" command of qemu-ga using VSS.
>
>
> * How to build & run qemu-ga with VSS support
>
> - Download Microsoft VSS SDK from:
> http://www.microsoft.com/en-us/download/details.aspx?id=23490
>
> - Setup the SDK
> scripts/extract-vsssdk-headers setup.exe (on POSIX-systems)
>
> - Specify installed SDK directory to configure option as:
> ./configure --cross-prefix=i686-w64-mingw32- \
> --with-vss-sdk="path/to/VSS SDK" \
> --without-systems --without-tools
>
> - make qemu-ga.exe qga/vss-win32/qga-vss.{dll,tlb}
>
> - Install qemu-ga.exe, qga/vss-win32/qga-vss.{dll,tlb}, and
> the other required mingw libraries into the same directory in guests
>
> - Run `qemu-ga.exe -s install' and `net start qemu-ga' in the guests
>
> Any feedback are appreciated.
>
> ---
> Tomoki Sekiyama (10):
> configure: Support configuring C++ compiler
> Add c++ keywords to QAPI helper script
> checkpatch.pl: Check .cpp files
> Add a script to extract VSS SDK headers on POSIX system
> qemu-ga: Add configure options to specify path to Windows/VSS SDK
> error: Add error_set_win32 and error_setg_win32
> qemu-ga: Add Windows VSS provider and requester as DLL
> qemu-ga: Call Windows VSS requester in fsfreeze command handler
> qemu-ga: Install Windows VSS provider on `qemu-ga -s install'
> QMP/qemu-ga-client: Make timeout longer for guest-fsfreeze-freeze command
>
>
> .gitignore | 1
> Makefile | 3
> Makefile.objs | 2
> QMP/qemu-ga-client | 4
> configure | 96 +++++++
> hmp.c | 2
> hw/pci/pci.c | 2
> include/qapi/error.h | 13 +
> qga/Makefile.objs | 3
> qga/commands-win32.c | 82 ++++++
> qga/main.c | 10 +
> qga/vss-win32.c | 166 +++++++++++++
> qga/vss-win32.h | 27 ++
> qga/vss-win32/Makefile.objs | 23 ++
> qga/vss-win32/install.cpp | 458 +++++++++++++++++++++++++++++++++++
> qga/vss-win32/provider.cpp | 523 ++++++++++++++++++++++++++++++++++++++++
> qga/vss-win32/qga-vss.def | 13 +
> qga/vss-win32/qga-vss.idl | 20 ++
> qga/vss-win32/qga-vss.tlb | Bin
> qga/vss-win32/requester.cpp | 507 +++++++++++++++++++++++++++++++++++++++
> qga/vss-win32/requester.h | 42 +++
> qga/vss-win32/vss-common.h | 129 ++++++++++
> rules.mak | 9 +
> scripts/checkpatch.pl | 34 ++-
> scripts/extract-vsssdk-headers | 35 +++
> scripts/qapi.py | 12 +
> util/error.c | 35 +++
> 27 files changed, 2229 insertions(+), 22 deletions(-)
> create mode 100644 qga/vss-win32.c
> create mode 100644 qga/vss-win32.h
> create mode 100644 qga/vss-win32/Makefile.objs
> create mode 100644 qga/vss-win32/install.cpp
> create mode 100644 qga/vss-win32/provider.cpp
> create mode 100644 qga/vss-win32/qga-vss.def
> create mode 100644 qga/vss-win32/qga-vss.idl
> create mode 100644 qga/vss-win32/qga-vss.tlb
> create mode 100644 qga/vss-win32/requester.cpp
> create mode 100644 qga/vss-win32/requester.h
> create mode 100644 qga/vss-win32/vss-common.h
> create mode 100755 scripts/extract-vsssdk-headers
next prev parent reply other threads:[~2013-08-08 22:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-07 15:39 [Qemu-devel] [PATCH v10 00/10] qemu-ga: fsfreeze on Windows using VSS Tomoki Sekiyama
2013-08-07 15:39 ` [Qemu-devel] [PATCH v10 01/10] configure: Support configuring C++ compiler Tomoki Sekiyama
2013-08-07 15:39 ` [Qemu-devel] [PATCH v10 02/10] Add c++ keywords to QAPI helper script Tomoki Sekiyama
2013-08-07 15:39 ` [Qemu-devel] [PATCH v10 03/10] checkpatch.pl: Check .cpp files Tomoki Sekiyama
2013-08-07 15:39 ` [Qemu-devel] [PATCH v10 04/10] Add a script to extract VSS SDK headers on POSIX system Tomoki Sekiyama
2013-08-07 15:40 ` [Qemu-devel] [PATCH v10 05/10] qemu-ga: Add configure options to specify path to Windows/VSS SDK Tomoki Sekiyama
2013-08-07 15:40 ` [Qemu-devel] [PATCH v10 06/10] error: Add error_set_win32 and error_setg_win32 Tomoki Sekiyama
2013-08-07 15:40 ` [Qemu-devel] [PATCH v10 07/10] qemu-ga: Add Windows VSS provider and requester as DLL Tomoki Sekiyama
2013-08-07 15:40 ` [Qemu-devel] [PATCH v10 08/10] qemu-ga: Call Windows VSS requester in fsfreeze command handler Tomoki Sekiyama
2013-08-07 15:40 ` [Qemu-devel] [PATCH v10 09/10] qemu-ga: Install Windows VSS provider on `qemu-ga -s install' Tomoki Sekiyama
2013-08-07 15:40 ` [Qemu-devel] [PATCH v10 10/10] QMP/qemu-ga-client: Make timeout longer for guest-fsfreeze-freeze command Tomoki Sekiyama
2013-08-08 22:35 ` Michael Roth [this message]
2013-09-09 16:22 ` [Qemu-devel] [PATCH v10 00/10] qemu-ga: fsfreeze on Windows using VSS Peter Maydell
2013-09-09 19:36 ` Michael Roth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130808223548.20939.8488@loki \
--to=mdroth@linux.vnet.ibm.com \
--cc=areis@redhat.com \
--cc=ghammer@redhat.com \
--cc=lcapitulino@redhat.com \
--cc=lersek@redhat.com \
--cc=libaiqing@huawei.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=seiji.aguchi@hds.com \
--cc=stefanha@gmail.com \
--cc=tomoki.sekiyama@hds.com \
--cc=vrozenfe@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).