From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrYv6-0005Se-Sr for qemu-devel@nongnu.org; Tue, 25 Jun 2013 15:28:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrYv4-0004NB-Fn for qemu-devel@nongnu.org; Tue, 25 Jun 2013 15:28:52 -0400 Received: from usindpps04.hds.com ([207.126.252.17]:34893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrYv4-0004Mx-8E for qemu-devel@nongnu.org; Tue, 25 Jun 2013 15:28:50 -0400 From: Tomoki Sekiyama Date: Tue, 25 Jun 2013 19:28:38 +0000 Message-ID: References: <51C9BF54.6000008@redhat.com> ,<51C9E877.9020408@redhat.com> In-Reply-To: <51C9E877.9020408@redhat.com> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH v4 06/10] qemu-ga: Add Windows VSS provider to quiesce applications on fsfreeze List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: "libaiqing@huawei.com" , "qemu-devel@nongnu.org" , "stefanha@gmail.com" , "mdroth@linux.vnet.ibm.com" , "lcapitulino@redhat.com" , "vrozenfe@redhat.com" , Seiji Aguchi , Laszlo Ersek , "areis@redhat.com" >Il 25/06/2013 20:23, Tomoki Sekiyama ha scritto:=0A= >>> >(b) shouldn't "qga-obj-y" be independent of "qga-provider.dll"=0A= >> The DLL is linked to qemu-ga.exe because qemu-ga.exe kicks the=0A= >> registration of the DLL (COMRegister(), which depends on the DLL's=0A= >> Internal variable) at the installation of the qemu-ga service.=0A= > =0A= > Does the DLL also support DllRegisterServer? I don't know Windows very= =0A= > much, but if so I wonder if LoadLibrary/GetProcAddress is preferrable to= =0A= > linking with the DLL.=0A= > =0A= > Paolo=0A= =0A= I think that is feasible.=0A= =0A= That will cut off qemu-ga.exe from qga-provider.{dll,tlb}, so then,=0A= we should build them separately, like=0A= `make qemu-ga.exe qga/vss-win32-provider/qga-provider.{dll,tlb}`.=0A= =0A= Thanks,=0A= Tomoki Sekiyama=0A=