Skip to contentSkip to conversation

kvm/hyper-v: obtaining client machine id

Qemu-devel Peter Lieven 3 participants 5 messages Oct 28, 2013 – Oct 29, 2013

lore
Share & tools
lore
#0 lore raw

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.

Thanks,
Peter

#1 lore raw

----- Original Message -----
From: "Peter Lieven" <[email protected]>
To: "Gleb Natapov" <[email protected]>, "Vadim Rozenfeld" <[email protected]>, [email protected]
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.

Thanks,
Peter

#2 lore raw
Quoted 13 lines · Vadim Rozenfeld

----- Original Message -----
From: "Peter Lieven" <[email protected]>
To: "Gleb Natapov" <[email protected]>, "Vadim Rozenfeld" <[email protected]>, [email protected]
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.

Quoted 5 lines

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?!

Peter

Quoted 5 lines

Thanks,
Peter

Signature · 16 lines
Mit freundlichen Grüßen

Peter Lieven

...........................................................

  KAMP Netzwerkdienste GmbH
  Vestische Str. 89-91 | 46117 Oberhausen
  Tel: +49 (0) 208.89 402-50 | Fax: +49 (0) 208.89 402-40
  [email protected] | http://www.kamp.de

  Geschäftsführer: Heiner Lante | Michael Lante
  Amtsgericht Duisburg | HRB Nr. 12154
  USt-Id-Nr.: DE 120607556

...........................................................
#4 lore raw
In reply to Peter Lieven
Quoted 6 lines · Peter Lieven

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.

Have not idea, sorry.

--
Gleb.

#3 lore raw
In reply to Peter Lieven
Quoted 14 lines · Peter Lieven
Quoted 13 lines · Vadim Rozenfeld

----- Original Message -----
From: "Peter Lieven" <[email protected]>
To: "Gleb Natapov" <[email protected]>, "Vadim Rozenfeld" <[email protected]>, [email protected]
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.

Quoted 6 lines
Quoted 5 lines

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.

Quoted 9 lines

Peter

Quoted 5 lines

Thanks,
Peter