From: "Tomas Pilar (tpilar)" <tpilar@solarflare.com>
To: Devel EDK2 <devel@edk2.groups.io>
Subject: OVMF and SMBIOS
Date: Tue, 28 May 2019 15:18:48 +0000 [thread overview]
Message-ID: <16be83ee265e46db88af85dc47949e23@ukex01.SolarFlarecom.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 404 bytes --]
Hi,
I am trying to create kvm instance using libvirt and Qemu and OVMF that also has SMBIOS included. My current version of Qemu only supports type 0 and type 1 SMBIOS tables so I specify those. However, when I use smbiosview in the UEFI shell, I get back "SMBIOS not found".
I attach my current libvirt xml specification for the kvm host.
Does anyone have any immediate ideas?
Cheers,
Tom
[-- Attachment #1.2: Type: text/html, Size: 2483 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: qemu.xml --]
[-- Type: text/xml; name="qemu.xml", Size: 2682 bytes --]
<domain type='kvm' id='5'>
<name>Qemu Test</name>
<uuid>f6433268-9cc0-4aee-848f-819c27ff3b62</uuid>
<memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<vcpu placement='static'>2</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<os>
<type arch='x86_64'>hvm</type>
<bootmenu enable='yes' timeout='3000'/>
<loader readonly='yes' secure='no' type='pflash'>/tmp/ovmf-test/OVMF_CODE.fd</loader>
<nvram template='/tmp/ovmf-test/OVMF_VARS.fd'>/tmp/ovmf-test/OVMF_VARS2.fd</nvram>
<smbios mode='sysinfo' />
</os>
<sysinfo type='smbios'>
<bios>
<entry name='vendor'>Sfc Qemu</entry>
</bios>
<system>
<entry name='manufacturer'>Qemu</entry>
<entry name='product'>Virt-Manager</entry>
<entry name='version'>0.9.4</entry>
<entry name='uuid'>f6433268-9cc0-4aee-848f-819c27ff3b62</entry>
</system>
</sysinfo>
<features>
<acpi/>
<apic/>
</features>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>preserve</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>preserve</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/libexec/qemu-kvm</emulator>
<controller type='pci' index='0' model='pci-root'>
<alias name='pci.0'/>
</controller>
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
[ADDRESS]
</source>
</hostdev>
<serial type='file'>
<source path='/tmp/ovmf-test/serial0.log'/>
<target port='0' />
<alias name='serial0'/>
</serial>
<serial type='file'>
<source path='/tmp/ovmf-test/serial1.log'/>
<target port='1' />
<alias name='serial1'/>
</serial>
<input type='mouse' bus='ps2'>
<alias name='input1'/>
</input>
<input type='keyboard' bus='ps2'>
<alias name='input2'/>
</input>
<graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1'>
<listen type='address' address='127.0.0.1'/>
<image compression='off'/>
</graphics>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
<alias name='video0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
<rng model='virtio'>
<backend model='random'>/dev/urandom</backend>
<alias name='rng0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
</rng>
</devices>
</domain>
next reply other threads:[~2019-05-28 15:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-28 15:18 Tomas Pilar (tpilar) [this message]
2019-05-28 17:06 ` [edk2-devel] OVMF and SMBIOS Laszlo Ersek
2019-05-29 9:44 ` Tomas Pilar (tpilar)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16be83ee265e46db88af85dc47949e23@ukex01.SolarFlarecom.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox