From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfoB3-0007eG-Bx for qemu-devel@nongnu.org; Fri, 24 May 2013 05:20:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfoB0-0000dx-MH for qemu-devel@nongnu.org; Fri, 24 May 2013 05:20:45 -0400 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:57509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfoB0-0000dn-ES for qemu-devel@nongnu.org; Fri, 24 May 2013 05:20:42 -0400 Received: by mail-wi0-f171.google.com with SMTP id hq7so5063360wib.16 for ; Fri, 24 May 2013 02:20:41 -0700 (PDT) Date: Fri, 24 May 2013 11:20:39 +0200 From: Stefan Hajnoczi Message-ID: <20130524092039.GG21639@stefanha-thinkpad.redhat.com> References: <20130521153333.4880.74390.stgit@hds.com> <20130523121537.GK9093@stefanha-thinkpad.redhat.com> <519E1783.4000102@redhat.com> <519E1E9B.9030908@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <519E1E9B.9030908@redhat.com> Subject: Re: [Qemu-devel] [RFC PATCH v3 00/11] qemu-ga: fsfreeze on Windows using VSS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Michael Roth , qemu-devel , Luiz Capitulino , Vadim Rozenfeld , Tomoki Sekiyama , seiji.aguchi@hds.com, Ademar Reis On Thu, May 23, 2013 at 03:50:19PM +0200, Paolo Bonzini wrote: > Il 23/05/2013 15:28, Stefan Hajnoczi ha scritto: > > On Thu, May 23, 2013 at 3:20 PM, Paolo Bonzini wrote: > >> Il 23/05/2013 14:15, Stefan Hajnoczi ha scritto: > >>> On Tue, May 21, 2013 at 11:33:33AM -0400, Tomoki Sekiyama wrote: > >>>> * 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 -with-vss-sdk="path/to/VSS SDK" --cross-prefix=i686-w64-mingw32- > >>> > >>> Are there any plans to make this more developer-friendly? In the Linux > >>> world it's unusual to download third-party SDKs; development headers are > >>> available as packages from the distro. > >>> > >>> I haven't looked at the SDK license but hopefully the VSS headers can be > >>> added to the mingw cross-build toolchain? > >> > >> No, the mingw headers are (re)written by hand, or something like that. > >> The VSS license does not permit redistribution. :/ > > > > Can we follow the same process for VSS as for the other mingw headers? > > I have no idea. Many of them are automatically generated, but some of > the others have content seemed non-trivial. Here we go: "For missing declarations or import functions in the mingw runtime or w32api it is essential to specify the source of the documentation on which you based your patch, or to otherwise provide proof that you have developed your solution through your own experimental effort. Never resolve an issue by looking at someone else's work (unless it is public domain). We only accept patches based on publicly available documentation, (MSDN is an acceptable source, as is any BSD or similarly licensed source; no GPL or LPGL licensed source is acceptable, unless your patch relates to a MinGW package which is already distributed under one of these licences), or on individual experimental effort, and never based on others' work, (particularly where that work may be proprietary). Note, in particular, that we adopt a much stricter standpoint on extracting information from Microsoft's SDK headers, than that taken by some other projects, such as Wine or ReactOS; consequently we will always reject, unconditionally, patches based on information extracted from files published by such projects." http://www.mingw.org/wiki/SubmitPatches So basically they reimplement headers by studying MSDN and maybe experimenting in Visual C++ without peeking at the official SDK. This would take extra effort. It would be a nice thing to have in mingw but is out of scope here. Stefan