[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] OVMF and XEN - hangs on boot with pci-passthrough, not saving settings

Hello James, all,

Yes, course XEN is compiled with ovmf path, and as I mentioned above,
have tried 2 versions of OVMF - both from XEN's GIT, and latest
upstream OVMF from it's own repository.

Both are booting fine with XEN without PCI passthrough, but regardless
of EFI boot partition (0xef00 GPT, or 0xef MBR) it doesn't save
values. I've seen file created in root of this partitions - but still
not able to save values neither from UEFI itself, nor with
efibootmanager under Linux.

And this is really minor problem.

Still not received an answer about PCI devices with UEFI ROM BIOS
passthrough, which is a major problem, or how to get debug output from

I'm very interested to make separated OVMF binary and pflash image for
EFI variables, work in XEN.
As far as I understand from mentioned thread, this is what Andrew told
about. In this case it would be possible to test different OVMF
modifications without recompilation of XEN.


On 16 July 2015 at 13:44, James Dingwall <james@xxxxxxxxxxxxxx> wrote:
> On Wed, Jul 15, 2015 at 09:02:13AM +0300, Alex Wakizashi wrote:
>> Second problem - XEN implementation of OVMF doesn't allow to save any 
>> settings.
>> Regardless of pflash image, specified in QEMU as "-drive if=pflash..."
>> - it's just not saving settings at all.
>> Again, would be excellent to be able to specify separate OVMF image,
>> like in normal QEMU. AFAIK, now hvmloader includes ovmf.bin - and that
>> is a problem.
>> I've seen discussion in this mail list about separated version of OVMF
>> for XEN, but it stopped few months ago without any links/solutions.
>> (Thread was named "Some questions regarding QEMU, UEFI, PCI/VGA
>> Passthrough, and other things", so I've cc-ed Andrew Cooper as he gave
>> some answers).
>> So, would be glad to get hands on such version and test it :)
> I did some experimentation with uefi guests recently, iirc if your disk image 
> has an ef00 partition then
> settings will be saved there.  I would need to go back and confirm that this 
> is the case since it was several
> months since I did this.  There is a ./configure option for the xen build 
> which allows an external ovmf binary
> too be used.
> ./configure --with-system-ovmf=/my/ovmf/build/OVMF.fd --enable-ovmf
> James

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.