OK, so I've successfully used the vboxmanage CLI tool to modify some type 0 and type 1 DMI data for my Linux (Redhat 3) guest. I also need to add some DMI type 4 data. Specifically the CPU Max Speed. On a physical machine this info looks like:
Handle 0x0004
DMI type 4, 35 bytes.
Processor Information
Socket Designation: LGA775
Type: Central Processor
Family: Pentium 4
Manufacturer: Intel
ID: I have changed this data for the purposes of this post
Signature: Type 0, Family F, Model 4, Stepping A
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (Fast floating-point save and restore)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Hyper-threading technology)
TM (Thermal monitor supported)
SBF (Signal break on FERR)
Version: Intel(R) Pentium(R) 4 CPU 3.20GHz
Voltage: 1.3 V
External Clock: 200 MHz
Max Speed: 3600 MHz
Current Speed: 3200 MHz
Status: Populated, Enabled
Upgrade: ZIF Socket
L1 Cache Handle: 0x0005
L2 Cache Handle: 0x0006
L3 Cache Handle: Not Provided
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
As mentioned, it is specifically the "Max Speed: 3600 MHz" value that I need to be able to read from within my host. Is this data possible to populate with Virtualbox?
Thanks.
Creating additional DMI Info
-
vblancas
- Posts: 1
- Joined: 1. Apr 2011, 21:46
- Primary OS: MS Windows XP
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux
Re: Creating additional DMI Info
Hi Woof,
Any luck on this? I tried adding the Processor info, based on the definitions from the source code http://www.virtualbox.org/svn/vbox/trun ... Common.cpp , but the VM fails to start after that.
Any luck on this? I tried adding the Processor info, based on the definitions from the source code http://www.virtualbox.org/svn/vbox/trun ... Common.cpp , but the VM fails to start after that.
Code: Select all
VBoxManage setextradata "vm" "VBoxInternal/Devices/pcbios/0/Config/DmiProcessorSocketDesignation" "CPU"
VBoxManage setextradata "vm" "VBoxInternal/Devices/pcbios/0/Config/DmiProcessorType" "Central Processor"
VBoxManage setextradata "vm" "VBoxInternal/Devices/pcbios/0/Config/DmiProcessorManufacturer" "Intel"
VBoxManage setextradata "vm" "VBoxInternal/Devices/pcbios/0/Config/DmiProcessorIdentification" "7A 06 01 00 FF FB EB BF"
VBoxManage setextradata "vm" "VBoxInternal/Devices/pcbios/0/Config/DmiProcessorVoltage" "1.3 V"
VBoxManage setextradata "vm" "VBoxInternal/Devices/pcbios/0/Config/DmiProcessorExternalClock" "1333 MHz"
VBoxManage setextradata "vm" "VBoxInternal/Devices/pcbios/0/Config/DmiProcessorMaxSpeed" "5200 MHz"
VBoxManage setextradata "vm" "VBoxInternal/Devices/pcbios/0/Config/DmiProcessorCurrentSpeed" "3000 MHz"
VBoxManage setextradata "vm" "VBoxInternal/Devices/pcbios/0/Config/DmiProcessorStatus" "Populated, Enabled"