A kvm virtualized guest has devices with Qumranet as manufacturer.

Gotchas: kvm is/uses a "fork" of qemu. i saw a patch that detects the 
processor name and then sets "qemu". this needs to be done before so that 
this patch overwrites the result.

Example lspci output:
# lspci | grep Qum
00:03.0 Ethernet controller: Qumranet, Inc. Device 1000
00:04.0 Mass storage controller: Qumranet, Inc. Device 1001
00:05.0 Mass storage controller: Qumranet, Inc. Device 1001
00:06.0 RAM memory: Qumranet, Inc. Device 1002
00:07.0 Unclassified device [00ff]: Qumranet, Inc. Device 1003

--- virtual.rb.orig     2009-06-10 08:25:54.000000000 +0200
+++ virtual.rb  2009-06-10 08:26:21.000000000 +0200
@@ -28,6 +28,7 @@
           # --- look for the vmware video card to determine if it is virtual 
=> vmware.
           # ---     00:0f.0 VGA compatible controller: VMware Inc [VMware SVGA 
II] PCI Display Adapter
           result = "vmware" if p =~ /VM[wW]are/
+          result = "qemu-kvm" if p =~ /Qumranet/
         }
       else
         dmidecodeexists = system "which dmidecode > /dev/null 2>&1"


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to