summaryrefslogtreecommitdiffstats
path: root/tests/parallels-desktop/sbin
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-01-24 11:16:53 +0000
committerRichard W.M. Jones <rjones@redhat.com>2011-01-24 11:16:53 +0000
commit32e195d1309e7060ba7ed9aa20f26bcbc4635c5a (patch)
tree7c6ba4cff4986f2299c40b241cf7e5b02355c95f /tests/parallels-desktop/sbin
parent300c5168ca007ed5fbd49189efbe66ae0dbd9ad1 (diff)
downloadvirt-what-32e195d1309e7060ba7ed9aa20f26bcbc4635c5a.tar.gz
virt-what-32e195d1309e7060ba7ed9aa20f26bcbc4635c5a.tar.xz
virt-what-32e195d1309e7060ba7ed9aa20f26bcbc4635c5a.zip
Add a regression test for Parallels Desktop (thanks Justin Clift).
Diffstat (limited to 'tests/parallels-desktop/sbin')
-rwxr-xr-xtests/parallels-desktop/sbin/dmidecode249
-rwxr-xr-xtests/parallels-desktop/sbin/id2
-rwxr-xr-xtests/parallels-desktop/sbin/virt-what-cpuid-helper3
3 files changed, 254 insertions, 0 deletions
diff --git a/tests/parallels-desktop/sbin/dmidecode b/tests/parallels-desktop/sbin/dmidecode
new file mode 100755
index 0000000..f4af185
--- /dev/null
+++ b/tests/parallels-desktop/sbin/dmidecode
@@ -0,0 +1,249 @@
+#!/bin/sh -
+cat <<'EOF'
+# dmidecode 2.11
+SMBIOS 2.3 present.
+20 structures occupying 896 bytes.
+Table at 0x000F6120.
+
+Handle 0x0000, DMI type 0, 20 bytes
+BIOS Information
+ Vendor: Parallels Software International Inc.
+ Version: 6.0.11992.625164
+ Release Date: 10/26/2007
+ Address: 0xF0000
+ Runtime Size: 64 kB
+ ROM Size: 64 kB
+ Characteristics:
+ ISA is supported
+ PCI is supported
+ PNP is supported
+ APM is supported
+ VLB is supported
+ Boot from CD is supported
+ 8042 keyboard services are supported (int 9h)
+ Serial services are supported (int 14h)
+ Printer services are supported (int 17h)
+ CGA/mono video services are supported (int 10h)
+ ACPI is supported
+
+Handle 0x0001, DMI type 1, 25 bytes
+System Information
+ Manufacturer: Parallels Software International Inc.
+ Product Name: Parallels Virtual Platform
+ Version: None
+ Serial Number: Parallels-E0 53 44 86 B1 45 41 31 8F 40 65 7A AF AD BE A1
+ UUID: E0534486-B145-4131-8F40-657AAFADBEA1
+ Wake-up Type: Power Switch
+
+Handle 0x0002, DMI type 2, 8 bytes
+Base Board Information
+ Manufacturer: Parallels Software International Inc.
+ Product Name: Parallels Virtual Platform
+ Version: None
+ Serial Number: None
+
+Handle 0x0003, DMI type 3, 18 bytes
+Chassis Information
+ Manufacturer: Parallels Software International Inc.
+ Type: Unknown
+ Lock: Not Present
+ Version:
+ Serial Number:
+ Asset Tag:
+ Boot-up State: Safe
+ Power Supply State: Safe
+ Thermal State: Safe
+ Security Status: None
+ OEM Information: 0x00000000
+
+Handle 0x0004, DMI type 4, 35 bytes
+Processor Information
+ Socket Designation: CPU Socket #0
+ Type: Central Processor
+ Family: Unknown
+ Manufacturer: GenuineIntel
+ ID: 77 06 01 00 FF FB EB BF
+ Version: Not Specified
+ Voltage: 3.3 V
+ External Clock: 572 MHz
+ Max Speed: 3435 MHz
+ Current Speed: 3435 MHz
+ Status: Populated, Enabled
+ Upgrade: Other
+ L1 Cache Handle: Not Provided
+ L2 Cache Handle: Not Provided
+ L3 Cache Handle: Not Provided
+ Serial Number: Not Specified
+ Asset Tag: Not Specified
+ Part Number: Not Specified
+
+Handle 0x0005, DMI type 9, 13 bytes
+System Slot Information
+ Designation: ISA slot 1
+ Type: 16-bit ISA
+ Current Usage: Unknown
+ Length: Unknown
+ Characteristics:
+ 3.3 V is provided
+
+Handle 0x0006, DMI type 9, 13 bytes
+System Slot Information
+ Designation: PCI slot 1
+ Type: 32-bit PCI
+ Current Usage: Unknown
+ Length: Unknown
+ ID: 1
+ Characteristics:
+ 3.3 V is provided
+
+Handle 0x0007, DMI type 9, 13 bytes
+System Slot Information
+ Designation: PCI slot 2
+ Type: 32-bit PCI
+ Current Usage: Unknown
+ Length: Unknown
+ ID: 2
+ Characteristics:
+ 3.3 V is provided
+
+Handle 0x0008, DMI type 9, 13 bytes
+System Slot Information
+ Designation: PCI slot 3
+ Type: 32-bit PCI
+ Current Usage: Unknown
+ Length: Unknown
+ ID: 3
+ Characteristics:
+ 3.3 V is provided
+
+Handle 0x0009, DMI type 9, 13 bytes
+System Slot Information
+ Designation: PCI slot 4
+ Type: 32-bit PCI
+ Current Usage: Unknown
+ Length: Unknown
+ ID: 4
+ Characteristics:
+ 3.3 V is provided
+
+Handle 0x000A, DMI type 9, 13 bytes
+System Slot Information
+ Designation: PCI slot 5
+ Type: 32-bit PCI
+ Current Usage: Unknown
+ Length: Unknown
+ ID: 5
+ Characteristics:
+ 3.3 V is provided
+
+Handle 0x000B, DMI type 10, 8 bytes
+On Board Device 1 Information
+ Type: Video
+ Status: Disabled
+ Description: Parallels Video Adapter
+On Board Device 2 Information
+ Type: Sound
+ Status: Disabled
+ Description: Parallels Sound Adapter
+
+Handle 0x000C, DMI type 16, 15 bytes
+Physical Memory Array
+ Location: System Board Or Motherboard
+ Use: System Memory
+ Error Correction Type: None
+ Maximum Capacity: 8 GB
+ Error Information Handle: Not Provided
+ Number Of Devices: 4
+
+Handle 0x000D, DMI type 17, 27 bytes
+Memory Device
+ Array Handle: 0x000C
+ Error Information Handle: Not Provided
+ Total Width: 32 bits
+ Data Width: 32 bits
+ Size: 1024 MB
+ Form Factor: DIMM
+ Set: None
+ Locator: DIMM #0
+ Bank Locator: BANK #0
+ Type: DRAM
+ Type Detail: EDO
+ Speed: 667 MHz
+ Manufacturer: Not Specified
+ Serial Number: Not Specified
+ Asset Tag: Not Specified
+ Part Number: Not Specified
+
+Handle 0x000E, DMI type 17, 27 bytes
+Memory Device
+ Array Handle: 0x000C
+ Error Information Handle: Not Provided
+ Total Width: 32 bits
+ Data Width: 32 bits
+ Size: No Module Installed
+ Form Factor: DIMM
+ Set: None
+ Locator: DIMM #1
+ Bank Locator: BANK #1
+ Type: DRAM
+ Type Detail: EDO
+ Speed: 667 MHz
+ Manufacturer: Not Specified
+ Serial Number: Not Specified
+ Asset Tag: Not Specified
+ Part Number: Not Specified
+
+Handle 0x000F, DMI type 17, 27 bytes
+Memory Device
+ Array Handle: 0x000C
+ Error Information Handle: Not Provided
+ Total Width: 32 bits
+ Data Width: 32 bits
+ Size: No Module Installed
+ Form Factor: DIMM
+ Set: None
+ Locator: DIMM #2
+ Bank Locator: BANK #2
+ Type: DRAM
+ Type Detail: EDO
+ Speed: 667 MHz
+ Manufacturer: Not Specified
+ Serial Number: Not Specified
+ Asset Tag: Not Specified
+ Part Number: Not Specified
+
+Handle 0x0010, DMI type 17, 27 bytes
+Memory Device
+ Array Handle: 0x000C
+ Error Information Handle: Not Provided
+ Total Width: 32 bits
+ Data Width: 32 bits
+ Size: No Module Installed
+ Form Factor: DIMM
+ Set: None
+ Locator: DIMM #3
+ Bank Locator: BANK #3
+ Type: DRAM
+ Type Detail: EDO
+ Speed: 667 MHz
+ Manufacturer: Not Specified
+ Serial Number: Not Specified
+ Asset Tag: Not Specified
+ Part Number: Not Specified
+
+Handle 0x0011, DMI type 19, 15 bytes
+Memory Array Mapped Address
+ Starting Address: 0x00000000000
+ Ending Address: 0x0003FFFFFFF
+ Range Size: 1 GB
+ Physical Array Handle: 0x000C
+ Partition Width: 2
+
+Handle 0x0012, DMI type 32, 20 bytes
+System Boot Information
+ Status: No errors detected
+
+Handle 0x0013, DMI type 127, 4 bytes
+End Of Table
+
+EOF
diff --git a/tests/parallels-desktop/sbin/id b/tests/parallels-desktop/sbin/id
new file mode 100755
index 0000000..6c704ac
--- /dev/null
+++ b/tests/parallels-desktop/sbin/id
@@ -0,0 +1,2 @@
+#!/bin/sh -
+echo 0
diff --git a/tests/parallels-desktop/sbin/virt-what-cpuid-helper b/tests/parallels-desktop/sbin/virt-what-cpuid-helper
new file mode 100755
index 0000000..e918937
--- /dev/null
+++ b/tests/parallels-desktop/sbin/virt-what-cpuid-helper
@@ -0,0 +1,3 @@
+#!/bin/sh -
+# It's unknown why Parallels reports itself as KVM.
+echo KVMKVMKVM