xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* DomU UEFI configuration
@ 2017-03-14 14:06 Marcos E. Matsunaga
  2017-03-14 17:35 ` Anthony PERARD
  0 siblings, 1 reply; 2+ messages in thread
From: Marcos E. Matsunaga @ 2017-03-14 14:06 UTC (permalink / raw)
  To: anthony.perard, xen-devel

[-- Attachment #1: Type: text/plain, Size: 1391 bytes --]

Hi Anthony,


I am trying to run a DomU guest using OVMF. I have built xen staging 
with --with-ovmf option. I am able to install a new guest but I am 
unable to boot it (see the attached image).

The xl.cfg file I am using:

name='test_uefi'
memory=16384
disk=['file:/home/IMAGES/FEDORA/FC25/Fedora-Server-dvd-x86_64-25-1.3.iso,hdc:cdrom,r','/Repo/VM/test_uefi/System_UEFI.qcow2,raw,hda,w']
#disk=['/Repo/VM/test_uefi/System_UEFI.qcow2,raw,hda,w']
vif=['mac=00:16:3e:ff:ee:01,bridge=xenbr0', 
'mac=00:16:3e:ff:00:01,bridge=xenbr2']
guest_os_type='default'
bios='ovmf'
serial='pty'
xen_platform_pci=0
device_model_version='qemu-xen'
builder='hvm'
on_poweroff='destroy'
boot='dc'
vnc=1
vnclisten='0.0.0.0:5'
stdvga=1
videoram=16
on_crash='restart'
on_reboot='restart'
vcpus=8
maxmem=16384

Konrad Wilk suggested me to use try adding:

device_model_args_hvm=["fw_cfg","file=./my_blob.bin"];

But that didn't work. I also tried something similar to how KVM uses:

device_model_args_hvm=['-drive','file=/Repo/VM/perf1_uefi/OVMF_VARS.fd,if=pflash,format=raw,unit=1'];

It also didn't work.

How do you specify the NVRAM image to store the boot order?

Thanks for your  help.

-- 

Regards,

Marcos Eduardo Matsunaga

Linux & Virtualization
Corp Architecture - Development

“The statements and opinions expressed here are my own and do not
necessarily represent those of Oracle Corporation.”


[-- Attachment #2: Tianocore-boot-failed.png --]
[-- Type: image/png, Size: 19992 bytes --]

[-- Attachment #3: Type: text/plain, Size: 127 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-14 17:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-14 14:06 DomU UEFI configuration Marcos E. Matsunaga
2017-03-14 17:35 ` Anthony PERARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).