Codebase list virt-what / ee95674
Merge commit 'upstream/1.8' Laurent LĂ©onard 13 years ago
19 changed file(s) with 1530 addition(s) and 48 deletion(s). Raw diff Collapse all Expand all
2727 tests/esx4.1/sbin/dmidecode \
2828 tests/esx4.1/sbin/id \
2929 tests/esx4.1/sbin/virt-what-cpuid-helper \
30 tests/hyperv/proc/cpuinfo \
31 tests/hyperv/proc/self/status \
32 tests/hyperv/sbin/dmidecode \
33 tests/hyperv/sbin/id \
34 tests/hyperv/sbin/virt-what-cpuid-helper \
3035 tests/kvm/proc/cpuinfo \
3136 tests/kvm/proc/self/status \
3237 tests/kvm/sbin/dmidecode \
3742 tests/linux-vserver/sbin/dmidecode \
3843 tests/linux-vserver/sbin/id \
3944 tests/linux-vserver/sbin/virt-what-cpuid-helper \
45 tests/parallels-desktop/proc/cpuinfo \
46 tests/parallels-desktop/proc/self/status \
47 tests/parallels-desktop/sbin/dmidecode \
48 tests/parallels-desktop/sbin/id \
49 tests/parallels-desktop/sbin/virt-what-cpuid-helper \
4050 tests/qemu/proc/cpuinfo \
4151 tests/qemu/proc/self/status \
4252 tests/qemu/sbin/dmidecode \
103113 tests/zvm/sbin/virt-what-cpuid-helper \
104114 tests/test-baremetal.sh \
105115 tests/test-esx4.1.sh \
116 tests/test-hyperv.sh \
106117 tests/test-kvm.sh \
107118 tests/test-linux-vserver.sh \
119 tests/test-parallels-desktop.sh \
108120 tests/test-qemu.sh \
109121 tests/test-rhel5-xen-dom0.sh \
110122 tests/test-rhel5-xen-domU-hvm.sh \
111123 tests/test-rhel5-xen-domU-pv.sh \
112124 tests/test-zvm.sh
113125
114 CLEANFILES = virt-what.1 virt-what.txt
126 CLEANFILES = virt-what virt-what.1 virt-what.txt
115127
116128 AM_CPPFLAGS = -Wall
117129
130142 TESTS = \
131143 tests/test-baremetal.sh \
132144 tests/test-esx4.1.sh \
145 tests/test-hyperv.sh \
133146 tests/test-kvm.sh \
134147 tests/test-linux-vserver.sh \
148 tests/test-parallels-desktop.sh \
135149 tests/test-qemu.sh \
136150 tests/test-rhel5-xen-dom0.sh \
137151 tests/test-rhel5-xen-domU-hvm.sh \
218218 tests/esx4.1/sbin/dmidecode \
219219 tests/esx4.1/sbin/id \
220220 tests/esx4.1/sbin/virt-what-cpuid-helper \
221 tests/hyperv/proc/cpuinfo \
222 tests/hyperv/proc/self/status \
223 tests/hyperv/sbin/dmidecode \
224 tests/hyperv/sbin/id \
225 tests/hyperv/sbin/virt-what-cpuid-helper \
221226 tests/kvm/proc/cpuinfo \
222227 tests/kvm/proc/self/status \
223228 tests/kvm/sbin/dmidecode \
228233 tests/linux-vserver/sbin/dmidecode \
229234 tests/linux-vserver/sbin/id \
230235 tests/linux-vserver/sbin/virt-what-cpuid-helper \
236 tests/parallels-desktop/proc/cpuinfo \
237 tests/parallels-desktop/proc/self/status \
238 tests/parallels-desktop/sbin/dmidecode \
239 tests/parallels-desktop/sbin/id \
240 tests/parallels-desktop/sbin/virt-what-cpuid-helper \
231241 tests/qemu/proc/cpuinfo \
232242 tests/qemu/proc/self/status \
233243 tests/qemu/sbin/dmidecode \
294304 tests/zvm/sbin/virt-what-cpuid-helper \
295305 tests/test-baremetal.sh \
296306 tests/test-esx4.1.sh \
307 tests/test-hyperv.sh \
297308 tests/test-kvm.sh \
298309 tests/test-linux-vserver.sh \
310 tests/test-parallels-desktop.sh \
299311 tests/test-qemu.sh \
300312 tests/test-rhel5-xen-dom0.sh \
301313 tests/test-rhel5-xen-domU-hvm.sh \
302314 tests/test-rhel5-xen-domU-pv.sh \
303315 tests/test-zvm.sh
304316
305 CLEANFILES = virt-what.1 virt-what.txt
317 CLEANFILES = virt-what virt-what.1 virt-what.txt
306318 AM_CPPFLAGS = -Wall
307319 sbin_SCRIPTS = virt-what
308320 man_MANS = virt-what.1
309321 TESTS = \
310322 tests/test-baremetal.sh \
311323 tests/test-esx4.1.sh \
324 tests/test-hyperv.sh \
312325 tests/test-kvm.sh \
313326 tests/test-linux-vserver.sh \
327 tests/test-parallels-desktop.sh \
314328 tests/test-qemu.sh \
315329 tests/test-rhel5-xen-dom0.sh \
316330 tests/test-rhel5-xen-domU-hvm.sh \
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.66 for virt-what 1.7.
2 # Generated by GNU Autoconf 2.66 for virt-what 1.8.
33 #
44 #
55 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
547547 # Identity of this package.
548548 PACKAGE_NAME='virt-what'
549549 PACKAGE_TARNAME='virt-what'
550 PACKAGE_VERSION='1.7'
551 PACKAGE_STRING='virt-what 1.7'
550 PACKAGE_VERSION='1.8'
551 PACKAGE_STRING='virt-what 1.8'
552552 PACKAGE_BUGREPORT=''
553553 PACKAGE_URL=''
554554
11891189 # Omit some internal or obsolete options to make the list less imposing.
11901190 # This message is too long to be a string in the A/UX 3.1 sh.
11911191 cat <<_ACEOF
1192 \`configure' configures virt-what 1.7 to adapt to many kinds of systems.
1192 \`configure' configures virt-what 1.8 to adapt to many kinds of systems.
11931193
11941194 Usage: $0 [OPTION]... [VAR=VALUE]...
11951195
12551255
12561256 if test -n "$ac_init_help"; then
12571257 case $ac_init_help in
1258 short | recursive ) echo "Configuration of virt-what 1.7:";;
1258 short | recursive ) echo "Configuration of virt-what 1.8:";;
12591259 esac
12601260 cat <<\_ACEOF
12611261
13421342 test -n "$ac_init_help" && exit $ac_status
13431343 if $ac_init_version; then
13441344 cat <<\_ACEOF
1345 virt-what configure 1.7
1345 virt-what configure 1.8
13461346 generated by GNU Autoconf 2.66
13471347
13481348 Copyright (C) 2010 Free Software Foundation, Inc.
14341434 This file contains any messages produced by compilers while
14351435 running configure, to aid debugging if configure makes a mistake.
14361436
1437 It was created by virt-what $as_me 1.7, which was
1437 It was created by virt-what $as_me 1.8, which was
14381438 generated by GNU Autoconf 2.66. Invocation command line was
14391439
14401440 $ $0 $@
22492249
22502250 # Define the identity of the package.
22512251 PACKAGE='virt-what'
2252 VERSION='1.7'
2252 VERSION='1.8'
22532253
22542254
22552255 cat >>confdefs.h <<_ACEOF
43744374 # report actual input values of CONFIG_FILES etc. instead of their
43754375 # values after options handling.
43764376 ac_log="
4377 This file was extended by virt-what $as_me 1.7, which was
4377 This file was extended by virt-what $as_me 1.8, which was
43784378 generated by GNU Autoconf 2.66. Invocation command line was
43794379
43804380 CONFIG_FILES = $CONFIG_FILES
44404440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
44414441 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
44424442 ac_cs_version="\\
4443 virt-what config.status 1.7
4443 virt-what config.status 1.8
44444444 configured by $0, generated by GNU Autoconf 2.66,
44454445 with options \\"\$ac_cs_config\\"
44464446
1414 # along with this program; if not, write to the Free Software
1515 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
1616
17 AC_INIT([virt-what],[1.7])
17 AC_INIT([virt-what],[1.8])
1818 AM_INIT_AUTOMAKE([foreign])
1919
2020 dnl Check for basic C environment.
0 processor : 0
1 vendor_id : GenuineIntel
2 cpu family : 6
3 model : 15
4 model name : Intel(R) Xeon(R) CPU 5130 @ 2.00GHz
5 stepping : 6
6 cpu MHz : 1977.298
7 cache size : 4096 KB
8 physical id : 0
9 siblings : 1
10 core id : 0
11 cpu cores : 1
12 apicid : 0
13 fpu : yes
14 fpu_exception : yes
15 cpuid level : 6
16 wp : yes
17 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc up pni ssse3 cx16 lahf_lm
18 bogomips : 3954.59
19 clflush size : 64
20 cache_alignment : 64
21 address sizes : 40 bits physical, 48 bits virtual
22 power management:
23
0 Name: cat
1 State: R (running)
2 SleepAVG: 88%
3 Tgid: 4747
4 Pid: 4747
5 PPid: 3409
6 TracerPid: 0
7 Uid: 0 0 0 0
8 Gid: 0 0 0 0
9 FDSize: 256
10 Groups: 0 1 2 3 4 6 10
11 VmPeak: 58944 kB
12 VmSize: 58944 kB
13 VmLck: 0 kB
14 VmHWM: 528 kB
15 VmRSS: 528 kB
16 VmData: 180 kB
17 VmStk: 88 kB
18 VmExe: 20 kB
19 VmLib: 1448 kB
20 VmPTE: 36 kB
21 StaBrk: 19d39000 kB
22 Brk: 19d5a000 kB
23 StaStk: 7fff02c16930 kB
24 Threads: 1
25 SigQ: 1/8191
26 SigPnd: 0000000000000000
27 ShdPnd: 0000000000000000
28 SigBlk: 0000000000000000
29 SigIgn: 0000000000000000
30 SigCgt: 0000000000000000
31 CapInh: 0000000000000000
32 CapPrm: 00000000fffffeff
33 CapEff: 00000000fffffeff
34 Cpus_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,7fffffff,ffffffff
35 Mems_allowed: 00000000,00000001
0 #!/bin/sh -
1 cat <<'EOF'
2 # dmidecode 2.10
3 SMBIOS 2.3 present.
4 67 structures occupying 3752 bytes.
5 Table at 0x000F8850.
6
7 Handle 0x0000, DMI type 0, 20 bytes
8 BIOS Information
9 Vendor: American Megatrends Inc.
10 Version: 080002
11 Release Date: 05/05/2008
12 Address: 0xF0000
13 Runtime Size: 64 kB
14 ROM Size: 256 kB
15 Characteristics:
16 ISA is supported
17 PCI is supported
18 PNP is supported
19 BIOS is upgradeable
20 BIOS shadowing is allowed
21 ESCD support is available
22 Boot from CD is supported
23 Selectable boot is supported
24 BIOS ROM is socketed
25 EDD is supported
26 5.25"/360 kB floppy services are supported (int 13h)
27 5.25"/1.2 MB floppy services are supported (int 13h)
28 3.5"/720 kB floppy services are supported (int 13h)
29 3.5"/2.88 MB floppy services are supported (int 13h)
30 Print screen service is supported (int 5h)
31 8042 keyboard services are supported (int 9h)
32 Serial services are supported (int 14h)
33 Printer services are supported (int 17h)
34 CGA/mono video services are supported (int 10h)
35 AGP is supported
36 LS-120 boot is supported
37 ATAPI Zip drive boot is supported
38 BIOS boot specification is supported
39
40 Handle 0x0001, DMI type 1, 25 bytes
41 System Information
42 Manufacturer: Microsoft Corporation
43 Product Name: Virtual Machine
44 Version: 5.0
45 Serial Number: 9531-7949-1919-0512-8596-0146-27
46 UUID: 87123C54-42BA-694D-90FF-FD3B05DCDB42
47 Wake-up Type: Power Switch
48
49 Handle 0x0002, DMI type 2, 8 bytes
50 Base Board Information
51 Manufacturer: Microsoft Corporation
52 Product Name: Virtual Machine
53 Version: 5.0
54 Serial Number: 9531-7949-1919-0512-8596-0146-27
55
56 Handle 0x0003, DMI type 3, 17 bytes
57 Chassis Information
58 Manufacturer: Microsoft Corporation
59 Type: Desktop
60 Lock: Not Present
61 Version: 5.0
62 Serial Number: 9531-7949-1919-0512-8596-0146-27
63 Asset Tag: 4703-2669-3135-1081-7372-7632-77
64 Boot-up State: Safe
65 Power Supply State: Safe
66 Thermal State: Other
67 Security Status: Other
68 OEM Information: 0x00000000
69
70 Handle 0x0004, DMI type 11, 5 bytes
71 OEM Strings
72 String 1: [MS_VM_CERT/SHA1/9b80ca0d5dd061ec9da4e494f4c3fd1196270c22]
73 String 2: 00000000000000000000000000000000
74 String 3: To be filed by MSFT
75
76 Handle 0x0005, DMI type 4, 35 bytes
77 Processor Information
78 Socket Designation: MKF_PROCESSOR_SOCKET_DESIGNATION_1
79 Type: Central Processor
80 Family: Pentium III
81 Manufacturer: Intel
82 ID: F6 06 00 00 FF FB 8B 1F
83 Signature: Type 0, Family 6, Model 15, Stepping 6
84 Flags:
85 FPU (Floating-point unit on-chip)
86 VME (Virtual mode extension)
87 DE (Debugging extension)
88 PSE (Page size extension)
89 TSC (Time stamp counter)
90 MSR (Model specific registers)
91 PAE (Physical address extension)
92 MCE (Machine check exception)
93 CX8 (CMPXCHG8 instruction supported)
94 APIC (On-chip APIC hardware supported)
95 SEP (Fast system call)
96 MTRR (Memory type range registers)
97 PGE (Page global enable)
98 MCA (Machine check architecture)
99 CMOV (Conditional move instruction supported)
100 PAT (Page attribute table)
101 PSE-36 (36-bit page size extension)
102 CLFSH (CLFLUSH instruction supported)
103 MMX (MMX technology supported)
104 FXSR (Fast floating-point save and restore)
105 SSE (Streaming SIMD extensions)
106 SSE2 (Streaming SIMD extensions 2)
107 SS (Self-snoop)
108 HTT (Hyper-threading technology)
109 Version: Genuine Intel(R) Processor
110 Voltage: 3.3 V 2.9 V
111 External Clock: 66 MHz
112 Max Speed: 333 MHz
113 Current Speed: 333 MHz
114 Status: Populated, Enabled
115 Upgrade: 370-pin Socket
116 L1 Cache Handle: 0x0006
117 L2 Cache Handle: 0x0007
118 L3 Cache Handle: 0x0008
119 Serial Number: MKF_PROCESSOR_SERIAL_NO_1
120 Asset Tag: MKF_PROCESSOR_ASSET_TAG_1
121 Part Number: MKF_PROCESSOR_PART_NO_1
122
123 Handle 0x0006, DMI type 7, 19 bytes
124 Cache Information
125 Socket Designation: L1-Cache
126 Configuration: Disabled, Not Socketed, Level 1
127 Operational Mode: Unknown
128 Location: Internal
129 Installed Size: 0 kB
130 Maximum Size: 0 kB
131 Supported SRAM Types:
132 Unknown
133 Installed SRAM Type: Unknown
134 Speed: Unknown
135 Error Correction Type: Unknown
136 System Type: Unknown
137 Associativity: Unknown
138
139 Handle 0x0007, DMI type 7, 19 bytes
140 Cache Information
141 Socket Designation: L2-cache
142 Configuration: Disabled, Not Socketed, Level 2
143 Operational Mode: Unknown
144 Location: Internal
145 Installed Size: 0 kB
146 Maximum Size: 0 kB
147 Supported SRAM Types:
148 Unknown
149 Installed SRAM Type: Unknown
150 Speed: Unknown
151 Error Correction Type: Unknown
152 System Type: Unknown
153 Associativity: Unknown
154
155 Handle 0x0008, DMI type 7, 19 bytes
156 Cache Information
157 Socket Designation: L3-cache
158 Configuration: Disabled, Not Socketed, Level 3
159 Operational Mode: Unknown
160 Location: Internal
161 Installed Size: 0 kB
162 Maximum Size: 0 kB
163 Supported SRAM Types:
164 Unknown
165 Installed SRAM Type: Unknown
166 Speed: Unknown
167 Error Correction Type: Unknown
168 System Type: Unknown
169 Associativity: Unknown
170
171 Handle 0x0009, DMI type 4, 35 bytes
172 Processor Information
173 Socket Designation: MKF_PROCESSOR_SOCKET_DESIGNATION_2
174 Type: Other
175 Family: Other
176 Manufacturer:
177 ID: 00 00 00 00 00 00 00 00
178 Version:
179 Voltage: 3.3 V 2.9 V
180 External Clock: Unknown
181 Max Speed: 500 MHz
182 Current Speed: Unknown
183 Status: Unpopulated
184 Upgrade: None
185 L1 Cache Handle: 0x000A
186 L2 Cache Handle: 0x000B
187 L3 Cache Handle: 0x000C
188 Serial Number: MKF_PROCESSOR_SERIAL_NO_2
189 Asset Tag: MKF_PROCESSOR_ASSET_TAG_2
190 Part Number: MKF_PROCESSOR_PART_NO_2
191
192 Handle 0x000A, DMI type 7, 19 bytes
193 Cache Information
194 Socket Designation: L1-Cache
195 Configuration: Disabled, Not Socketed, Level 1
196 Operational Mode: Unknown
197 Location: Internal
198 Installed Size: 0 kB
199 Maximum Size: 0 kB
200 Supported SRAM Types:
201 Unknown
202 Installed SRAM Type: Unknown
203 Speed: Unknown
204 Error Correction Type: Unknown
205 System Type: Unknown
206 Associativity: Unknown
207
208 Handle 0x000B, DMI type 7, 19 bytes
209 Cache Information
210 Socket Designation: L2-cache
211 Configuration: Disabled, Not Socketed, Level 2
212 Operational Mode: Unknown
213 Location: Internal
214 Installed Size: 0 kB
215 Maximum Size: 0 kB
216 Supported SRAM Types:
217 Unknown
218 Installed SRAM Type: Unknown
219 Speed: Unknown
220 Error Correction Type: Unknown
221 System Type: Unknown
222 Associativity: Unknown
223
224 Handle 0x000C, DMI type 7, 19 bytes
225 Cache Information
226 Socket Designation: L3-cache
227 Configuration: Disabled, Not Socketed, Level 3
228 Operational Mode: Unknown
229 Location: Internal
230 Installed Size: 0 kB
231 Maximum Size: 0 kB
232 Supported SRAM Types:
233 Unknown
234 Installed SRAM Type: Unknown
235 Speed: Unknown
236 Error Correction Type: Unknown
237 System Type: Unknown
238 Associativity: Unknown
239
240 Handle 0x000D, DMI type 4, 35 bytes
241 Processor Information
242 Socket Designation: MKF_PROCESSOR_SOCKET_DESIGNATION_3
243 Type: Other
244 Family: Other
245 Manufacturer:
246 ID: 00 00 00 00 00 00 00 00
247 Version:
248 Voltage: 3.3 V 2.9 V
249 External Clock: Unknown
250 Max Speed: 500 MHz
251 Current Speed: Unknown
252 Status: Unpopulated
253 Upgrade: None
254 L1 Cache Handle: 0x000E
255 L2 Cache Handle: 0x000F
256 L3 Cache Handle: 0x0010
257 Serial Number: MKF_PROCESSOR_SERIAL_NO_3
258 Asset Tag: MKF_PROCESSOR_ASSET_TAG_3
259 Part Number: MKF_PROCESSOR_PART_NO_3
260
261 Handle 0x000E, DMI type 7, 19 bytes
262 Cache Information
263 Socket Designation: L1-Cache
264 Configuration: Disabled, Not Socketed, Level 1
265 Operational Mode: Unknown
266 Location: Internal
267 Installed Size: 0 kB
268 Maximum Size: 0 kB
269 Supported SRAM Types:
270 Unknown
271 Installed SRAM Type: Unknown
272 Speed: Unknown
273 Error Correction Type: Unknown
274 System Type: Unknown
275 Associativity: Unknown
276
277 Handle 0x000F, DMI type 7, 19 bytes
278 Cache Information
279 Socket Designation: L2-cache
280 Configuration: Disabled, Not Socketed, Level 2
281 Operational Mode: Unknown
282 Location: Internal
283 Installed Size: 0 kB
284 Maximum Size: 0 kB
285 Supported SRAM Types:
286 Unknown
287 Installed SRAM Type: Unknown
288 Speed: Unknown
289 Error Correction Type: Unknown
290 System Type: Unknown
291 Associativity: Unknown
292
293 Handle 0x0010, DMI type 7, 19 bytes
294 Cache Information
295 Socket Designation: L3-cache
296 Configuration: Disabled, Not Socketed, Level 3
297 Operational Mode: Unknown
298 Location: Internal
299 Installed Size: 0 kB
300 Maximum Size: 0 kB
301 Supported SRAM Types:
302 Unknown
303 Installed SRAM Type: Unknown
304 Speed: Unknown
305 Error Correction Type: Unknown
306 System Type: Unknown
307 Associativity: Unknown
308
309 Handle 0x0011, DMI type 4, 35 bytes
310 Processor Information
311 Socket Designation: MKF_PROCESSOR_SOCKET_DESIGNATION_4
312 Type: Other
313 Family: Other
314 Manufacturer:
315 ID: 00 00 00 00 00 00 00 00
316 Version:
317 Voltage: 3.3 V 2.9 V
318 External Clock: Unknown
319 Max Speed: 500 MHz
320 Current Speed: Unknown
321 Status: Unpopulated
322 Upgrade: None
323 L1 Cache Handle: 0x0012
324 L2 Cache Handle: 0x0013
325 L3 Cache Handle: 0x0014
326 Serial Number: MKF_PROCESSOR_SERIAL_NO_4
327 Asset Tag: MKF_PROCESSOR_ASSET_TAG_4
328 Part Number: MKF_PROCESSOR_PART_NO_4
329
330 Handle 0x0012, DMI type 7, 19 bytes
331 Cache Information
332 Socket Designation: L1-Cache
333 Configuration: Disabled, Not Socketed, Level 1
334 Operational Mode: Unknown
335 Location: Internal
336 Installed Size: 0 kB
337 Maximum Size: 0 kB
338 Supported SRAM Types:
339 Unknown
340 Installed SRAM Type: Unknown
341 Speed: Unknown
342 Error Correction Type: Unknown
343 System Type: Unknown
344 Associativity: Unknown
345
346 Handle 0x0013, DMI type 7, 19 bytes
347 Cache Information
348 Socket Designation: L2-cache
349 Configuration: Disabled, Not Socketed, Level 2
350 Operational Mode: Unknown
351 Location: Internal
352 Installed Size: 0 kB
353 Maximum Size: 0 kB
354 Supported SRAM Types:
355 Unknown
356 Installed SRAM Type: Unknown
357 Speed: Unknown
358 Error Correction Type: Unknown
359 System Type: Unknown
360 Associativity: Unknown
361
362 Handle 0x0014, DMI type 7, 19 bytes
363 Cache Information
364 Socket Designation: L3-cache
365 Configuration: Disabled, Not Socketed, Level 3
366 Operational Mode: Unknown
367 Location: Internal
368 Installed Size: 0 kB
369 Maximum Size: 0 kB
370 Supported SRAM Types:
371 Unknown
372 Installed SRAM Type: Unknown
373 Speed: Unknown
374 Error Correction Type: Unknown
375 System Type: Unknown
376 Associativity: Unknown
377
378 Handle 0x0015, DMI type 4, 35 bytes
379 Processor Information
380 Socket Designation: MKF_PROCESSOR_SOCKET_DESIGNATION_5
381 Type: Other
382 Family: Other
383 Manufacturer:
384 ID: 00 00 00 00 00 00 00 00
385 Version:
386 Voltage: 3.3 V 2.9 V
387 External Clock: Unknown
388 Max Speed: 500 MHz
389 Current Speed: Unknown
390 Status: Unpopulated
391 Upgrade: None
392 L1 Cache Handle: 0x0016
393 L2 Cache Handle: 0x0017
394 L3 Cache Handle: 0x0018
395 Serial Number: MKF_PROCESSOR_SERIAL_NO_5
396 Asset Tag: MKF_PROCESSOR_ASSET_TAG_5
397 Part Number: MKF_PROCESSOR_PART_NO_5
398
399 Handle 0x0016, DMI type 7, 19 bytes
400 Cache Information
401 Socket Designation: L1-Cache
402 Configuration: Disabled, Not Socketed, Level 1
403 Operational Mode: Unknown
404 Location: Internal
405 Installed Size: 0 kB
406 Maximum Size: 0 kB
407 Supported SRAM Types:
408 Unknown
409 Installed SRAM Type: Unknown
410 Speed: Unknown
411 Error Correction Type: Unknown
412 System Type: Unknown
413 Associativity: Unknown
414
415 Handle 0x0017, DMI type 7, 19 bytes
416 Cache Information
417 Socket Designation: L2-cache
418 Configuration: Disabled, Not Socketed, Level 2
419 Operational Mode: Unknown
420 Location: Internal
421 Installed Size: 0 kB
422 Maximum Size: 0 kB
423 Supported SRAM Types:
424 Unknown
425 Installed SRAM Type: Unknown
426 Speed: Unknown
427 Error Correction Type: Unknown
428 System Type: Unknown
429 Associativity: Unknown
430
431 Handle 0x0018, DMI type 7, 19 bytes
432 Cache Information
433 Socket Designation: L3-cache
434 Configuration: Disabled, Not Socketed, Level 3
435 Operational Mode: Unknown
436 Location: Internal
437 Installed Size: 0 kB
438 Maximum Size: 0 kB
439 Supported SRAM Types:
440 Unknown
441 Installed SRAM Type: Unknown
442 Speed: Unknown
443 Error Correction Type: Unknown
444 System Type: Unknown
445 Associativity: Unknown
446
447 Handle 0x0019, DMI type 4, 35 bytes
448 Processor Information
449 Socket Designation: MKF_PROCESSOR_SOCKET_DESIGNATION_6
450 Type: Other
451 Family: Other
452 Manufacturer:
453 ID: 00 00 00 00 00 00 00 00
454 Version:
455 Voltage: 3.3 V 2.9 V
456 External Clock: Unknown
457 Max Speed: 500 MHz
458 Current Speed: Unknown
459 Status: Unpopulated
460 Upgrade: None
461 L1 Cache Handle: 0x001A
462 L2 Cache Handle: 0x001B
463 L3 Cache Handle: 0x001C
464 Serial Number: MKF_PROCESSOR_SERIAL_NO_6
465 Asset Tag: MKF_PROCESSOR_ASSET_TAG_6
466 Part Number: MKF_PROCESSOR_PART_NO_6
467
468 Handle 0x001A, DMI type 7, 19 bytes
469 Cache Information
470 Socket Designation: L1-Cache
471 Configuration: Disabled, Not Socketed, Level 1
472 Operational Mode: Unknown
473 Location: Internal
474 Installed Size: 0 kB
475 Maximum Size: 0 kB
476 Supported SRAM Types:
477 Unknown
478 Installed SRAM Type: Unknown
479 Speed: Unknown
480 Error Correction Type: Unknown
481 System Type: Unknown
482 Associativity: Unknown
483
484 Handle 0x001B, DMI type 7, 19 bytes
485 Cache Information
486 Socket Designation: L2-cache
487 Configuration: Disabled, Not Socketed, Level 2
488 Operational Mode: Unknown
489 Location: Internal
490 Installed Size: 0 kB
491 Maximum Size: 0 kB
492 Supported SRAM Types:
493 Unknown
494 Installed SRAM Type: Unknown
495 Speed: Unknown
496 Error Correction Type: Unknown
497 System Type: Unknown
498 Associativity: Unknown
499
500 Handle 0x001C, DMI type 7, 19 bytes
501 Cache Information
502 Socket Designation: L3-cache
503 Configuration: Disabled, Not Socketed, Level 3
504 Operational Mode: Unknown
505 Location: Internal
506 Installed Size: 0 kB
507 Maximum Size: 0 kB
508 Supported SRAM Types:
509 Unknown
510 Installed SRAM Type: Unknown
511 Speed: Unknown
512 Error Correction Type: Unknown
513 System Type: Unknown
514 Associativity: Unknown
515
516 Handle 0x001D, DMI type 4, 35 bytes
517 Processor Information
518 Socket Designation: MKF_PROCESSOR_SOCKET_DESIGNATION_7
519 Type: Other
520 Family: Other
521 Manufacturer:
522 ID: 00 00 00 00 00 00 00 00
523 Version:
524 Voltage: 3.3 V 2.9 V
525 External Clock: Unknown
526 Max Speed: 500 MHz
527 Current Speed: Unknown
528 Status: Unpopulated
529 Upgrade: None
530 L1 Cache Handle: 0x001E
531 L2 Cache Handle: 0x001F
532 L3 Cache Handle: 0x0020
533 Serial Number: MKF_PROCESSOR_SERIAL_NO_7
534 Asset Tag: MKF_PROCESSOR_ASSET_TAG_7
535 Part Number: MKF_PROCESSOR_PART_NO_7
536
537 Handle 0x001E, DMI type 7, 19 bytes
538 Cache Information
539 Socket Designation: L1-Cache
540 Configuration: Disabled, Not Socketed, Level 1
541 Operational Mode: Unknown
542 Location: Internal
543 Installed Size: 0 kB
544 Maximum Size: 0 kB
545 Supported SRAM Types:
546 Unknown
547 Installed SRAM Type: Unknown
548 Speed: Unknown
549 Error Correction Type: Unknown
550 System Type: Unknown
551 Associativity: Unknown
552
553 Handle 0x001F, DMI type 7, 19 bytes
554 Cache Information
555 Socket Designation: L2-cache
556 Configuration: Disabled, Not Socketed, Level 2
557 Operational Mode: Unknown
558 Location: Internal
559 Installed Size: 0 kB
560 Maximum Size: 0 kB
561 Supported SRAM Types:
562 Unknown
563 Installed SRAM Type: Unknown
564 Speed: Unknown
565 Error Correction Type: Unknown
566 System Type: Unknown
567 Associativity: Unknown
568
569 Handle 0x0020, DMI type 7, 19 bytes
570 Cache Information
571 Socket Designation: L3-cache
572 Configuration: Disabled, Not Socketed, Level 3
573 Operational Mode: Unknown
574 Location: Internal
575 Installed Size: 0 kB
576 Maximum Size: 0 kB
577 Supported SRAM Types:
578 Unknown
579 Installed SRAM Type: Unknown
580 Speed: Unknown
581 Error Correction Type: Unknown
582 System Type: Unknown
583 Associativity: Unknown
584
585 Handle 0x0021, DMI type 4, 35 bytes
586 Processor Information
587 Socket Designation: MKF_PROCESSOR_SOCKET_DESIGNATION_8
588 Type: Other
589 Family: Other
590 Manufacturer:
591 ID: 00 00 00 00 00 00 00 00
592 Version:
593 Voltage: 3.3 V 2.9 V
594 External Clock: Unknown
595 Max Speed: 500 MHz
596 Current Speed: Unknown
597 Status: Unpopulated
598 Upgrade: None
599 L1 Cache Handle: 0x0022
600 L2 Cache Handle: 0x0023
601 L3 Cache Handle: 0x0024
602 Serial Number: MKF_PROCESSOR_SERIAL_NO_8
603 Asset Tag: MKF_PROCESSOR_ASSET_TAG_8
604 Part Number: MKF_PROCESSOR_PART_NO_8
605
606 Handle 0x0022, DMI type 7, 19 bytes
607 Cache Information
608 Socket Designation: L1-Cache
609 Configuration: Disabled, Not Socketed, Level 1
610 Operational Mode: Unknown
611 Location: Internal
612 Installed Size: 0 kB
613 Maximum Size: 0 kB
614 Supported SRAM Types:
615 Unknown
616 Installed SRAM Type: Unknown
617 Speed: Unknown
618 Error Correction Type: Unknown
619 System Type: Unknown
620 Associativity: Unknown
621
622 Handle 0x0023, DMI type 7, 19 bytes
623 Cache Information
624 Socket Designation: L2-cache
625 Configuration: Disabled, Not Socketed, Level 2
626 Operational Mode: Unknown
627 Location: Internal
628 Installed Size: 0 kB
629 Maximum Size: 0 kB
630 Supported SRAM Types:
631 Unknown
632 Installed SRAM Type: Unknown
633 Speed: Unknown
634 Error Correction Type: Unknown
635 System Type: Unknown
636 Associativity: Unknown
637
638 Handle 0x0024, DMI type 7, 19 bytes
639 Cache Information
640 Socket Designation: L3-cache
641 Configuration: Disabled, Not Socketed, Level 3
642 Operational Mode: Unknown
643 Location: Internal
644 Installed Size: 0 kB
645 Maximum Size: 0 kB
646 Supported SRAM Types:
647 Unknown
648 Installed SRAM Type: Unknown
649 Speed: Unknown
650 Error Correction Type: Unknown
651 System Type: Unknown
652 Associativity: Unknown
653
654 Handle 0x0025, DMI type 5, 24 bytes
655 Memory Controller Information
656 Error Detecting Method: 64-bit ECC
657 Error Correcting Capabilities:
658 None
659 Supported Interleave: One-way Interleave
660 Current Interleave: One-way Interleave
661 Maximum Memory Module Size: 512 MB
662 Maximum Total Memory Size: 2048 MB
663 Supported Speeds:
664 70 ns
665 60 ns
666 Supported Memory Types:
667 Other
668 Unknown
669 Standard
670 FPM
671 EDO
672 Parity
673 ECC
674 SIMM
675 DIMM
676 Burst EDO
677 SDRAM
678 Memory Module Voltage: 3.3 V
679 Associated Memory Slots: 4
680 0x0026
681 0x0027
682 0x0028
683 0x0029
684 Enabled Error Correcting Capabilities:
685 None
686
687 Handle 0x0026, DMI type 6, 12 bytes
688 Memory Module Information
689 Socket Designation: DIMM1
690 Bank Connections: 0 0
691 Current Speed: Unknown
692 Type: EDO DIMM
693 Installed Size: 16 MB (Single-bank Connection)
694 Enabled Size: 16 MB (Single-bank Connection)
695 Error Status: OK
696
697 Handle 0x0027, DMI type 6, 12 bytes
698 Memory Module Information
699 Socket Designation: DIMM2
700 Bank Connections: 0 0
701 Current Speed: Unknown
702 Type: EDO DIMM
703 Installed Size: 16 MB (Single-bank Connection)
704 Enabled Size: 16 MB (Single-bank Connection)
705 Error Status: OK
706
707 Handle 0x0028, DMI type 6, 12 bytes
708 Memory Module Information
709 Socket Designation: DIMM3
710 Bank Connections: 0 0
711 Current Speed: Unknown
712 Type: EDO DIMM
713 Installed Size: 16 MB (Single-bank Connection)
714 Enabled Size: 16 MB (Single-bank Connection)
715 Error Status: OK
716
717 Handle 0x0029, DMI type 6, 12 bytes
718 Memory Module Information
719 Socket Designation: DIMM4
720 Bank Connections: 0 0
721 Current Speed: Unknown
722 Type: EDO DIMM
723 Installed Size: 16 MB (Single-bank Connection)
724 Enabled Size: 16 MB (Single-bank Connection)
725 Error Status: OK
726
727 Handle 0x002A, DMI type 8, 9 bytes
728 Port Connector Information
729 Internal Reference Designator: USB
730 Internal Connector Type: Centronics
731 External Reference Designator: USB1
732 External Connector Type: Centronics
733 Port Type: USB
734
735 Handle 0x002B, DMI type 8, 9 bytes
736 Port Connector Information
737 Internal Reference Designator: USB
738 Internal Connector Type: Centronics
739 External Reference Designator: USB2
740 External Connector Type: Centronics
741 Port Type: USB
742
743 Handle 0x002C, DMI type 8, 9 bytes
744 Port Connector Information
745 Internal Reference Designator: COM1
746 Internal Connector Type: DB-9 female
747 External Reference Designator: COM1
748 External Connector Type: DB-9 female
749 Port Type: Serial Port 16550A Compatible
750
751 Handle 0x002D, DMI type 8, 9 bytes
752 Port Connector Information
753 Internal Reference Designator: COM2
754 Internal Connector Type: DB-9 female
755 External Reference Designator: COM2
756 External Connector Type: DB-9 female
757 Port Type: Serial Port 16550A Compatible
758
759 Handle 0x002E, DMI type 8, 9 bytes
760 Port Connector Information
761 Internal Reference Designator: Printer
762 Internal Connector Type: DB-25 male
763 External Reference Designator: Lpt1
764 External Connector Type: DB-25 male
765 Port Type: Parallel Port ECP/EPP
766
767 Handle 0x002F, DMI type 8, 9 bytes
768 Port Connector Information
769 Internal Reference Designator: Video
770 Internal Connector Type: DB-15 male
771 External Reference Designator: Video
772 External Connector Type: DB-15 female
773 Port Type: Video Port
774
775 Handle 0x0030, DMI type 8, 9 bytes
776 Port Connector Information
777 Internal Reference Designator: Keyboard
778 Internal Connector Type: PS/2
779 External Reference Designator: Keyboard
780 External Connector Type: PS/2
781 Port Type: Keyboard Port
782
783 Handle 0x0031, DMI type 8, 9 bytes
784 Port Connector Information
785 Internal Reference Designator: Mouse
786 Internal Connector Type: PS/2
787 External Reference Designator: Mouse
788 External Connector Type: PS/2
789 Port Type: Mouse Port
790
791 Handle 0x0032, DMI type 10, 6 bytes
792 On Board Device Information
793 Type: Video
794 Status: Enabled
795 Description: To Be filled by O.E.M.
796
797 Handle 0x0033, DMI type 12, 5 bytes
798 System Configuration Options
799 Option 1: To Be Filled By O.E.M.
800 Option 2: To Be Filled By O.E.M.
801 Option 3: To Be Filled By O.E.M.
802
803 Handle 0x0034, DMI type 13, 22 bytes
804 BIOS Language Information
805 Installable Languages: 1
806 enUS
807 Currently Installed Language: enUS
808
809 Handle 0x0035, DMI type 18, 23 bytes
810 32-bit Memory Error Information
811 Type: Bad Read
812 Granularity: Device Level
813 Operation: Read
814 Vendor Syndrome: Unknown
815 Memory Array Address: Unknown
816 Device Address: Unknown
817 Resolution: Unknown
818
819 Handle 0x0036, DMI type 16, 15 bytes
820 Physical Memory Array
821 Location: System Board Or Motherboard
822 Use: System Memory
823 Error Correction Type: None
824 Maximum Capacity: 3 GB
825 Error Information Handle: 0x0035
826 Number Of Devices: 4
827
828 Handle 0x0037, DMI type 19, 15 bytes
829 Memory Array Mapped Address
830 Starting Address: 0x00000000000
831 Ending Address: 0x100000003FF
832 Range Size: 1073741825 kB
833 Physical Array Handle: 0x0036
834 Partition Width: 0
835
836 Handle 0x0038, DMI type 17, 27 bytes
837 Memory Device
838 Array Handle: 0x0036
839 Error Information Handle: 0x0035
840 Total Width: 64 bits
841 Data Width: 72 bits
842 Size: 16 MB
843 Form Factor: DIMM
844 Set: None
845 Locator: DIMM1
846 Bank Locator: BANK0
847 Type: SDRAM
848 Type Detail: Synchronous
849 Speed: Unknown
850 Manufacturer: Manufacturer1
851 Serial Number: SerNum1
852 Asset Tag: AssetTagNum1
853 Part Number: PartNum1
854
855 Handle 0x0039, DMI type 20, 19 bytes
856 Memory Device Mapped Address
857 Starting Address: 0x00000000000
858 Ending Address: 0x000010003FF
859 Range Size: 16385 kB
860 Physical Device Handle: 0x0038
861 Memory Array Mapped Address Handle: 0x0037
862 Partition Row Position: 1
863 Interleaved Data Depth: 1
864
865 Handle 0x003A, DMI type 17, 27 bytes
866 Memory Device
867 Array Handle: 0x0036
868 Error Information Handle: 0x0035
869 Total Width: 64 bits
870 Data Width: 72 bits
871 Size: 16 MB
872 Form Factor: DIMM
873 Set: None
874 Locator: DIMM2
875 Bank Locator: BANK1
876 Type: SDRAM
877 Type Detail: Synchronous
878 Speed: Unknown
879 Manufacturer: Manufacturer2
880 Serial Number: SerNum2
881 Asset Tag: AssetTagNum2
882 Part Number: PartNum2
883
884 Handle 0x003B, DMI type 20, 19 bytes
885 Memory Device Mapped Address
886 Starting Address: 0x00001000000
887 Ending Address: 0x000020003FF
888 Range Size: 16385 kB
889 Physical Device Handle: 0x003A
890 Memory Array Mapped Address Handle: 0x0037
891 Partition Row Position: 1
892 Interleaved Data Depth: 1
893
894 Handle 0x003C, DMI type 17, 27 bytes
895 Memory Device
896 Array Handle: 0x0036
897 Error Information Handle: 0x0035
898 Total Width: 64 bits
899 Data Width: 72 bits
900 Size: 16 MB
901 Form Factor: DIMM
902 Set: None
903 Locator: DIMM2
904 Bank Locator: BANK1
905 Type: SDRAM
906 Type Detail: Synchronous
907 Speed: Unknown
908 Manufacturer: Manufacturer2
909 Serial Number: SerNum2
910 Asset Tag: AssetTagNum2
911 Part Number: PartNum2
912
913 Handle 0x003D, DMI type 20, 19 bytes
914 Memory Device Mapped Address
915 Starting Address: 0x00002000000
916 Ending Address: 0x000030003FF
917 Range Size: 16385 kB
918 Physical Device Handle: 0x003C
919 Memory Array Mapped Address Handle: 0x0037
920 Partition Row Position: 1
921 Interleaved Data Depth: 1
922
923 Handle 0x003E, DMI type 17, 27 bytes
924 Memory Device
925 Array Handle: 0x0036
926 Error Information Handle: 0x0035
927 Total Width: 64 bits
928 Data Width: 72 bits
929 Size: 16 MB
930 Form Factor: DIMM
931 Set: None
932 Locator: DIMM2
933 Bank Locator: BANK1
934 Type: SDRAM
935 Type Detail: Synchronous
936 Speed: Unknown
937 Manufacturer: Manufacturer2
938 Serial Number: SerNum2
939 Asset Tag: AssetTagNum2
940 Part Number: PartNum2
941
942 Handle 0x003F, DMI type 20, 19 bytes
943 Memory Device Mapped Address
944 Starting Address: 0x00003000000
945 Ending Address: 0x000040003FF
946 Range Size: 16385 kB
947 Physical Device Handle: 0x003E
948 Memory Array Mapped Address Handle: 0x0037
949 Partition Row Position: 1
950 Interleaved Data Depth: 1
951
952 Handle 0x0040, DMI type 23, 13 bytes
953 System Reset
954 Status: Disabled
955 Watchdog Timer: Not Present
956
957 Handle 0x0041, DMI type 32, 20 bytes
958 System Boot Information
959 Status: No errors detected
960
961 Handle 0x0042, DMI type 127, 4 bytes
962 End Of Table
963
964 EOF
0 #!/bin/sh -
1 echo 0
0 #!/bin/sh -
1 echo "Microsoft Hv"
2
0 processor : 0
1 vendor_id : GenuineIntel
2 cpu family : 6
3 model : 23
4 model name : Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
5 stepping : 10
6 cpu MHz : 2400.113
7 cache size : 3072 KB
8 fpu : yes
9 fpu_exception : yes
10 cpuid level : 13
11 wp : yes
12 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc up arch_perfmon rep_good aperfmperf pni ssse3 cx16 sse4_1 x2apic hypervisor lahf_lm
13 bogomips : 4800.22
14 clflush size : 64
15 cache_alignment : 64
16 address sizes : 40 bits physical, 48 bits virtual
17 power management:
18
0 Name: cat
1 State: R (running)
2 Tgid: 3437
3 Pid: 3437
4 PPid: 3370
5 TracerPid: 0
6 Uid: 0 0 0 0
7 Gid: 0 0 0 0
8 Utrace: 0
9 FDSize: 256
10 Groups: 0 1 2 3 4 6 10
11 VmPeak: 101052 kB
12 VmSize: 101052 kB
13 VmLck: 0 kB
14 VmHWM: 480 kB
15 VmRSS: 480 kB
16 VmData: 184 kB
17 VmStk: 136 kB
18 VmExe: 44 kB
19 VmLib: 1772 kB
20 VmPTE: 48 kB
21 VmSwap: 0 kB
22 Threads: 1
23 SigQ: 0/3797
24 SigPnd: 0000000000000000
25 ShdPnd: 0000000000000000
26 SigBlk: 0000000000000000
27 SigIgn: 0000000000000000
28 SigCgt: 0000000000000000
29 CapInh: 0000000000000000
30 CapPrm: ffffffffffffffff
31 CapEff: ffffffffffffffff
32 CapBnd: ffffffffffffffff
33 Cpus_allowed: ffff
34 Cpus_allowed_list: 0-15
35 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
36 Mems_allowed_list: 0
37 voluntary_ctxt_switches: 0
38 nonvoluntary_ctxt_switches: 0
0 #!/bin/sh -
1 cat <<'EOF'
2 # dmidecode 2.11
3 SMBIOS 2.3 present.
4 20 structures occupying 896 bytes.
5 Table at 0x000F6120.
6
7 Handle 0x0000, DMI type 0, 20 bytes
8 BIOS Information
9 Vendor: Parallels Software International Inc.
10 Version: 6.0.11992.625164
11 Release Date: 10/26/2007
12 Address: 0xF0000
13 Runtime Size: 64 kB
14 ROM Size: 64 kB
15 Characteristics:
16 ISA is supported
17 PCI is supported
18 PNP is supported
19 APM is supported
20 VLB is supported
21 Boot from CD is supported
22 8042 keyboard services are supported (int 9h)
23 Serial services are supported (int 14h)
24 Printer services are supported (int 17h)
25 CGA/mono video services are supported (int 10h)
26 ACPI is supported
27
28 Handle 0x0001, DMI type 1, 25 bytes
29 System Information
30 Manufacturer: Parallels Software International Inc.
31 Product Name: Parallels Virtual Platform
32 Version: None
33 Serial Number: Parallels-1C 6B FF 34 0F 96 46 DF A0 F6 60 D1 53 56 B8 5A
34 UUID: 1C6BFF34-0F96-46DF-A0F6-60D15356B85A
35 Wake-up Type: Power Switch
36
37 Handle 0x0002, DMI type 2, 8 bytes
38 Base Board Information
39 Manufacturer: Parallels Software International Inc.
40 Product Name: Parallels Virtual Platform
41 Version: None
42 Serial Number: None
43
44 Handle 0x0003, DMI type 3, 18 bytes
45 Chassis Information
46 Manufacturer: Parallels Software International Inc.
47 Type: Unknown
48 Lock: Not Present
49 Version:
50 Serial Number:
51 Asset Tag:
52 Boot-up State: Safe
53 Power Supply State: Safe
54 Thermal State: Safe
55 Security Status: None
56 OEM Information: 0x00000000
57
58 Handle 0x0004, DMI type 4, 35 bytes
59 Processor Information
60 Socket Designation: CPU Socket #0
61 Type: Central Processor
62 Family: Unknown
63 Manufacturer: GenuineIntel
64 ID: 7A 06 01 00 FF FB EB BF
65 Version: Not Specified
66 Voltage: 3.3 V
67 External Clock: 400 MHz
68 Max Speed: 2400 MHz
69 Current Speed: 2400 MHz
70 Status: Populated, Enabled
71 Upgrade: Other
72 L1 Cache Handle: Not Provided
73 L2 Cache Handle: Not Provided
74 L3 Cache Handle: Not Provided
75 Serial Number: Not Specified
76 Asset Tag: Not Specified
77 Part Number: Not Specified
78
79 Handle 0x0005, DMI type 9, 13 bytes
80 System Slot Information
81 Designation: ISA slot 1
82 Type: 16-bit ISA
83 Current Usage: Unknown
84 Length: Unknown
85 Characteristics:
86 3.3 V is provided
87
88 Handle 0x0006, DMI type 9, 13 bytes
89 System Slot Information
90 Designation: PCI slot 1
91 Type: 32-bit PCI
92 Current Usage: Unknown
93 Length: Unknown
94 ID: 1
95 Characteristics:
96 3.3 V is provided
97
98 Handle 0x0007, DMI type 9, 13 bytes
99 System Slot Information
100 Designation: PCI slot 2
101 Type: 32-bit PCI
102 Current Usage: Unknown
103 Length: Unknown
104 ID: 2
105 Characteristics:
106 3.3 V is provided
107
108 Handle 0x0008, DMI type 9, 13 bytes
109 System Slot Information
110 Designation: PCI slot 3
111 Type: 32-bit PCI
112 Current Usage: Unknown
113 Length: Unknown
114 ID: 3
115 Characteristics:
116 3.3 V is provided
117
118 Handle 0x0009, DMI type 9, 13 bytes
119 System Slot Information
120 Designation: PCI slot 4
121 Type: 32-bit PCI
122 Current Usage: Unknown
123 Length: Unknown
124 ID: 4
125 Characteristics:
126 3.3 V is provided
127
128 Handle 0x000A, DMI type 9, 13 bytes
129 System Slot Information
130 Designation: PCI slot 5
131 Type: 32-bit PCI
132 Current Usage: Unknown
133 Length: Unknown
134 ID: 5
135 Characteristics:
136 3.3 V is provided
137
138 Handle 0x000B, DMI type 10, 8 bytes
139 On Board Device 1 Information
140 Type: Video
141 Status: Disabled
142 Description: Parallels Video Adapter
143 On Board Device 2 Information
144 Type: Sound
145 Status: Disabled
146 Description: Parallels Sound Adapter
147
148 Handle 0x000C, DMI type 16, 15 bytes
149 Physical Memory Array
150 Location: System Board Or Motherboard
151 Use: System Memory
152 Error Correction Type: None
153 Maximum Capacity: 8 GB
154 Error Information Handle: Not Provided
155 Number Of Devices: 4
156
157 Handle 0x000D, DMI type 17, 27 bytes
158 Memory Device
159 Array Handle: 0x000C
160 Error Information Handle: Not Provided
161 Total Width: 32 bits
162 Data Width: 32 bits
163 Size: 512 MB
164 Form Factor: DIMM
165 Set: None
166 Locator: DIMM #0
167 Bank Locator: BANK #0
168 Type: DRAM
169 Type Detail: EDO
170 Speed: 667 MHz
171 Manufacturer: Not Specified
172 Serial Number: Not Specified
173 Asset Tag: Not Specified
174 Part Number: Not Specified
175
176 Handle 0x000E, DMI type 17, 27 bytes
177 Memory Device
178 Array Handle: 0x000C
179 Error Information Handle: Not Provided
180 Total Width: 32 bits
181 Data Width: 32 bits
182 Size: No Module Installed
183 Form Factor: DIMM
184 Set: None
185 Locator: DIMM #1
186 Bank Locator: BANK #1
187 Type: DRAM
188 Type Detail: EDO
189 Speed: 667 MHz
190 Manufacturer: Not Specified
191 Serial Number: Not Specified
192 Asset Tag: Not Specified
193 Part Number: Not Specified
194
195 Handle 0x000F, DMI type 17, 27 bytes
196 Memory Device
197 Array Handle: 0x000C
198 Error Information Handle: Not Provided
199 Total Width: 32 bits
200 Data Width: 32 bits
201 Size: No Module Installed
202 Form Factor: DIMM
203 Set: None
204 Locator: DIMM #2
205 Bank Locator: BANK #2
206 Type: DRAM
207 Type Detail: EDO
208 Speed: 667 MHz
209 Manufacturer: Not Specified
210 Serial Number: Not Specified
211 Asset Tag: Not Specified
212 Part Number: Not Specified
213
214 Handle 0x0010, DMI type 17, 27 bytes
215 Memory Device
216 Array Handle: 0x000C
217 Error Information Handle: Not Provided
218 Total Width: 32 bits
219 Data Width: 32 bits
220 Size: No Module Installed
221 Form Factor: DIMM
222 Set: None
223 Locator: DIMM #3
224 Bank Locator: BANK #3
225 Type: DRAM
226 Type Detail: EDO
227 Speed: 667 MHz
228 Manufacturer: Not Specified
229 Serial Number: Not Specified
230 Asset Tag: Not Specified
231 Part Number: Not Specified
232
233 Handle 0x0011, DMI type 19, 15 bytes
234 Memory Array Mapped Address
235 Starting Address: 0x00000000000
236 Ending Address: 0x0001FFFFFFF
237 Range Size: 512 MB
238 Physical Array Handle: 0x000C
239 Partition Width: 2
240
241 Handle 0x0012, DMI type 32, 20 bytes
242 System Boot Information
243 Status: No errors detected
244
245 Handle 0x0013, DMI type 127, 4 bytes
246 End Of Table
247
248 EOF
0 #!/bin/sh -
1 echo 0
0 #!/bin/sh -
1 # It's unknown why Parallels reports itself as KVM.
2 echo KVMKVMKVM
0 # Test for Microsoft HyperV.
1 # Copyright (C) 2008-2011 Red Hat Inc.
2 #
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software
15 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
16
17 root=tests/hyperv
18
19 output="$(./virt-what --test-root=$root 2>&1)"
20 expected="hyperv"
21
22 if [ "$output" != "$expected" ]; then
23 echo "$0: test failed because output did not match expected"
24 echo "Expected output was:"
25 echo "----------------------------------------"
26 echo "$expected"
27 echo "----------------------------------------"
28 echo "But the actual output of the program was:"
29 echo "----------------------------------------"
30 echo "$output"
31 echo "----------------------------------------"
32 exit 1
33 fi
0 # Test for Parallels Desktop (data contributed by Justin Clift).
1 # Data taken from Fedora 14 guest running in Parallels on a Mac Mini.
2 # Copyright (C) 2008-2011 Red Hat Inc.
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
18 root=tests/parallels-desktop
19
20 output="$(./virt-what --test-root=$root 2>&1)"
21 expected="parallels"
22
23 if [ "$output" != "$expected" ]; then
24 echo "$0: test failed because output did not match expected"
25 echo "Expected output was:"
26 echo "----------------------------------------"
27 echo "$expected"
28 echo "----------------------------------------"
29 echo "But the actual output of the program was:"
30 echo "----------------------------------------"
31 echo "$output"
32 echo "----------------------------------------"
33 exit 1
34 fi
2323 #include <string.h>
2424
2525 #if defined(__i386__) || defined(__x86_64__)
26 void
27 cpu_sig (char *sig)
26
27 static unsigned int
28 cpuid (unsigned int eax, char *sig)
2829 {
29 unsigned int eax = 0x40000000;
30 unsigned int *sig32 = (unsigned int *)sig;
30 unsigned int *sig32 = (unsigned int *) sig;
31
3132 asm volatile (
3233 "xor %%ebx, %%ebx; cpuid"
3334 : "=a" (eax), "=b" (sig32[0]), "=c" (sig32[1]), "=d" (sig32[2])
3435 : "0" (eax));
3536 sig[12] = 0;
37
38 return eax;
3639 }
37 #else
38 void
39 cpu_sig (char *sig)
40
41 static void
42 cpu_sig (void)
43 {
44 char sig[13];
45 unsigned int base = 0x40000000, leaf = base;
46 unsigned int max_entries;
47
48 memset (sig, 0, sizeof sig);
49 max_entries = cpuid (leaf, sig);
50 puts (sig);
51
52 /* Most hypervisors only have information in leaf 0x40000000, but
53 * upstream Xen contains further leaf entries (in particular when
54 * used with Viridian [HyperV] extensions). CPUID is supposed to
55 * return the maximum leaf offset in %eax, so that's what we use,
56 * but only if it looks sensible.
57 */
58 if (max_entries > 3 && max_entries < 0x10000) {
59 for (leaf = base + 0x100; leaf <= base + max_entries; leaf += 0x100) {
60 memset (sig, 0, sizeof sig);
61 cpuid (leaf, sig);
62 puts (sig);
63 }
64 }
65 }
66
67 #else /* !i386, !x86_64 */
68
69 static void
70 cpu_sig (void)
4071 {
4172 /* nothing for other architectures */
4273 }
74
4375 #endif
4476
4577 int
4678 main()
4779 {
48 char sig[13];
49
50 memset (sig, 0, sizeof sig);
51
52 cpu_sig (sig);
53
54 puts (sig);
55 /* Possible values:
56 * KVMKVMKVM KVM guest
57 * XenVMMXenVMM Xen HVM guest
58 * VMwareVMware VMware guest
59 */
60
80 cpu_sig ();
6181 return 0;
6282 }
9999 fi
100100
101101 # Check for VirtualPC.
102
103 if echo "$dmi" | grep -q 'Manufacturer: Microsoft Corporation'; then
102 # The negative check for cpuid is to distinguish this from Hyper-V
103 # which also has the same manufacturer string in the SM-BIOS data.
104 if [ "$cpuid" != "Microsoft Hv" ] &&
105 echo "$dmi" | grep -q 'Manufacturer: Microsoft Corporation'; then
104106 echo virtualpc
105107 fi
106108
155157 echo ibm_systemz-direct
156158 fi
157159 fi
160 fi
161
162 # Check for Parallels.
163 if echo "$dmi" | grep -q 'Vendor: Parallels'; then
164 echo parallels
158165 fi
159166
160167 # Check for Xen.
2626
2727 =item B<hyperv>
2828
29 This is Hyper-V.
30
31 Status: from MSDN description, not tested.
29 This is Microsoft Hyper-V hypervisor.
30
31 Status: confirmed by RWMJ
3232
3333 =item B<ibm_systemz>
3434
35 This is an IBM SystemZ (or other S/390) mainframe. Additional
36 facts listed below may also be printed.
35 This is an IBM SystemZ (or other S/390) hardware partitioning system.
36 Additional facts listed below may also be printed.
3737
3838 =item B<ibm_systemz-direct>
3939
40 This is Linux running directly on a IBM SystemZ mainframe.
40 This is Linux running directly on a IBM SystemZ hardware partitioning
41 system.
4142
4243 This is expected to be a highly unusual configuration - if
4344 you see this result you should treat it with suspicion.
4647
4748 =item B<ibm_systemz-lpar>
4849
49 This is Linux running directly on an LPAR on an IBM SystemZ mainframe.
50 This is Linux running directly on an LPAR on an IBM SystemZ
51 hardware partitioning system.
5052
5153 Status: not confirmed
5254
5355 =item B<ibm_systemz-zvm>
5456
55 This is a z/VM guest running in an LPAR on an IBM SystemZ mainframe.
57 This is a z/VM guest running in an LPAR on an IBM SystemZ
58 hardware partitioning system.
5659
5760 Status: confirmed by RWMJ using a Fedora guest running in z/VM
5861
6467
6568 =item B<kvm>
6669
67 This is KVM.
70 This guest is running on the KVM hypervisor using hardware
71 acceleration.
72
73 Note that if the hypervisor is using software acceleration
74 you should I<not> see this, but should see the C<qemu> fact
75 instead.
6876
6977 Status: confirmed by RWMJ.
7078
7583
7684 Status: contributed by Evgeniy Sokolov
7785
86 =item B<parallels>
87
88 The guest is running inside Parallels Virtual Platform
89 (Parallels Desktop, Parallels Server).
90
91 Status: contributed by Justin Clift
92
7893 =item B<powervm_lx86>
7994
8095 The guest is running inside IBM PowerVM Lx86 Linux/x86 emulator.
8398
8499 =item B<qemu>
85100
86 This is QEMU using software emulation.
101 This is QEMU hypervisor using software emulation.
87102
88103 Note that for KVM (hardware accelerated) guests you should I<not> see
89104 this.
98113
99114 =item B<virtage>
100115
101 This is Hitachi Virtualization Manager (HVM) Virtage logical partitioning.
116 This is Hitachi Virtualization Manager (HVM) Virtage
117 hardware partitioning system.
102118
103119 Status: data supplied by Bhavna Sarathy, not confirmed
104120
116132
117133 =item B<vmware>
118134
119 The guest appears to be running on VMware.
135 The guest appears to be running on VMware hypervisor.
120136
121137 Status: confirmed by RWMJ
122138
123139 =item B<xen>
124140
125 The guest appears to be running on Xen.
141 The guest appears to be running on Xen hypervisor.
126142
127143 Status: confirmed by RWMJ
128144