Skip to contentSkip to conversation

HVM SMBIOS support 0/6

RFC PATCH New Andrew D. Ball 1 participant 1 message Jul 7, 2006

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 HVM SMBIOS support 0/6

This series of patches adds support for SMBIOS to HVM domU's. This is needed by many systems management applications, most often to get a useful UUID inside of an HVM domU.

They have been tested on changeset
10486:5610d916ad1be231bd6b6c7ae26665374623a90c
of xen-unstable.

Any comments or help would be greatly appreciated.

Andrew

=====

sample output from dmidecode:

# dmidecode 2.7
SMBIOS 2.4 present.
10 structures occupying 256 bytes.
Table at 0x0009F01F.

Handle 0x0000, DMI type 0, 24 bytes.
BIOS Information
Vendor: Xen
Version: 3.0-unstable
Release Date: Not Specified
Address: 0xE8000
Runtime Size: 96 kB
ROM Size: 64 kB
Characteristics:
BIOS Revision: 3.0

Handle 0x0100, DMI type 1, 27 bytes. System Information
Manufacturer: Xen
Product Name: HVM domU
Version: 3.0-unstable
Serial Number: Not Specified
UUID: 01234567-0123-0123-0123-0123456789AB Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Not Specified

Handle 0x0300, DMI type 3, 13 bytes.
Chassis Information
Manufacturer: Xen
Type: Other
Lock: Not Present
Version: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: Unknown

Handle 0x0401, DMI type 4, 26 bytes.
Processor Information
Socket Designation: CPU 1
Type: Central Processor
Family: Other
Manufacturer: Intel
ID: 46 0F 00 00 37 B9 A9 8F
Version: Not Specified
Voltage: Unknown
External Clock: Unknown
Max Speed: Unknown
Current Speed: Unknown
Status: Populated, Enabled
Upgrade: Other

Handle 0x1000, DMI type 16, 15 bytes.
Physical Memory Array
Location: Other
Use: System Memory
Error Correction Type: Other
Maximum Capacity: 128 MB
Error Information Handle: Not Provided
Number Of Devices: 1

Handle 0x1100, DMI type 17, 21 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: 0x0000
Total Width: 64 bits
Data Width: 64 bits
Size: 128 MB
Form Factor: DIMM
Set: None
Locator: DIMM 1
Bank Locator: Not Specified
Type: RAM
Type Detail: None

Handle 0x1300, DMI type 19, 15 bytes.
Memory Array Mapped Address

	Starting Address: 0x00000000000
	Ending Address: 0x00007F003FF
	Range Size: 130049 kB
	Physical Array Handle: 0x1000
	Partition Width: 0

Handle 0x1400, DMI type 20, 19 bytes.
Memory Device Mapped Address

	Starting Address: 0x00000000000
	Ending Address: 0x00007F003FF
	Range Size: 130049 kB
	Physical Device Handle: 0x1100
	Memory Array Mapped Address Handle: 0x1300
	Partition Row Position: 1

Handle 0x2000, DMI type 32, 11 bytes.
System Boot Information
Status: No errors detected

Handle 0x7F00, DMI type 127, 4 bytes.
End Of Table