[vbox-dev] How to populate a Linux VM with the items requested by a dmidecode -t 17
Rodney Lott
rlott at evertz.com
Fri Nov 9 20:28:52 UTC 2018
Hi, there.
First, my details:
Host machine:
rlott at rlott-brix:~$ uname -a; lsb_release -a
Linux rlott-brix 4.13.0-46-generic #51-Ubuntu SMP Tue Jun 12 12:36:29 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful
VirtualBox version: 5.2.6 r120293 (Qt5.9.1)
Guest VM: Custom Ubuntu version
root at magtestvm:/udata/home/etdev# uname -a; lsb_release
Linux magtestvm 4.4.0-116-generic #140~14.04.1-Ubuntu SMP Fri Feb 16 09:25:20 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
I was wondering if there was a way to populate the DMI information to simulate memory banks for a Linux-based VM. If I do a dmidecode -t17 on my guest, I see the following:
root at magtestvm:/udata/home/etdev# dmidecode -t17
# dmidecode 2.12
SMBIOS 2.5 present.
Upon further examination, I saw in the full dmidecode output that no such memory bank sections existed.
I found this section in the manual about setting DMI information: https://www.virtualbox.org/manual/ch08.html#idm5744
I saw in this piece of the source code that it does support DMI Memory (type 17): https://www.virtualbox.org/svn/vbox/trunk/src/VBox/Devices/PC/DevFwCommon.cpp
So, is there such a call to set various things like this?
VBoxManage setextradata <my_guest_vm> VBoxInternal/Devices/pcbios/0/Config/DmiMemory/<some_key> <some_value>
If so, would you point me to where a list of values for <some_key> would be?
Thanks very much!
Rodney
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20181109/3b2c52da/attachment.html>
More information about the vbox-dev
mailing list