Received: from eggs.gnu.org ([2001:4830:134:3::10]:33903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtjHq-0004x9-B1 for qemu-devel@nongnu.org; Mon, 01 Jul 2013 14:57:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtjHm-0002eT-K1 for qemu-devel@nongnu.org; Mon, 01 Jul 2013 14:57:18 -0400 Received: from usindpps05.hds.com ([207.126.252.18]:42162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtjHm-0002dx-Do for qemu-devel@nongnu.org; Mon, 01 Jul 2013 14:57:14 -0400 From: Tomoki Sekiyama Date: Mon, 1 Jul 2013 18:57:06 +0000 Message-ID: In-Reply-To: <51D02FC1.7080002@redhat.com> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-ID: 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: Gal Hammer Cc: "libaiqing@huawei.com" , "mdroth@linux.vnet.ibm.com" , "stefanha@gmail.com" , "qemu-devel@nongnu.org" , "lcapitulino@redhat.com" , "vrozenfe@redhat.com" , Paolo Bonzini , Seiji Aguchi , "areis@redhat.com" On 6/30/13 9:16 , "Gal Hammer" wrote: >On 26/06/2013 01:31, Tomoki Sekiyama wrote: > >>> Also, is it needed to call VSSCheckOSVersion from the requestor? I >>> would think that checking VSSAPI.DLL is stronger than checking the >>> version, and indeed you do that check too. >> >> In Windows XP, VSSAPI.DLL exists but it has different functionality >> and interfaces from newer Windows. >>=20 >>http://msdn.microsoft.com/en-us/library/windows/desktop/aa384627(v=3Dvs.8= 5) >>.aspx >> >> It is checking the OS version because this patchset only supports >> Windows 2003 or later. > >So why don't you query for the interface you supports rather than >checking the OS version? Hmm, I don't know what I should query for. Microsoft's document above only provides a table of compatibility between VSS SDK version and OS version. Of course I can install the component and test whether it works or not, but I want to know that before installing something. >Thanks, > > Gal. Thanks, Tomoki Sekiyama