From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb89X-0006DO-ME for qemu-devel@nongnu.org; Tue, 29 Oct 2013 08:12:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vb89T-0005Eb-8I for qemu-devel@nongnu.org; Tue, 29 Oct 2013 08:12:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb89S-0005EV-Vz for qemu-devel@nongnu.org; Tue, 29 Oct 2013 08:12:03 -0400 Message-ID: <1383048707.2494.6.camel@localhost> From: Vadim Rozenfeld Date: Tue, 29 Oct 2013 23:11:47 +1100 In-Reply-To: <526F828E.9010109@kamp.de> References: <526E1747.2080701@kamp.de> <1974798180.15665305.1383037421877.JavaMail.root@redhat.com> <526F828E.9010109@kamp.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] kvm/hyper-v: obtaining client machine id List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: qemu-devel@nongnu.org, Gleb Natapov On Tue, 2013-10-29 at 10:40 +0100, Peter Lieven wrote: > On 29.10.2013 10:03, Vadim Rozenfeld wrote: > > > > ----- Original Message ----- > > From: "Peter Lieven" > > To: "Gleb Natapov" , "Vadim Rozenfeld" , qemu-devel@nongnu.org > > Sent: Monday, October 28, 2013 6:50:31 PM > > Subject: [Qemu-devel] kvm/hyper-v: obtaining client machine id > > > > Hi, > > > > do you know if it is possible to obtain the client machine id of a Windows vServer via > > a Hyper-V hypercall? I would need an information to check vServer activations against > > our KMS. > > > > Hi Peter, > > > > WMI SoftwareLicensingService should be able to do it > > http://msdn.microsoft.com/en-us/library/cc534597%28v=vs.85%29.aspx > > Vadim. > Sorry, I don't see how to get this information via a Hyper-V MSR?! Yes, there is no such MSR. But you probably don't need it in any case. If you need to collect CMIDs you can access WMI data on remote computers. Alternatively, you can write a small application to obtain CMID locally and pass it to host via virtio-serial port. Vadim. > > Peter > > > > > > Thanks, > > Peter > > > >