Hi everyone,

We've been running into an issue with boot ordering when using OVMF
(specifically, with PXE booting). In particular, the issue is the "-boot
order=ABC" seems to have variable behavior depending on what it receives.
This is only an issue with UEFI; legacy handles this condition correctly.
Here's a table documenting several combinations in the HVM guest
configuration: OS installed || ISO attached || Boot order || Result
---------------------------------------------------- N || N || n || PXE
boot ---------------------------------------------------- N || Y || n ||
Prompt for CD boot, if not pressed drop to PXE boot
---------------------------------------------------- Y || N || n || Boot
from hard drive ---------------------------------------------------- Y || Y
|| n || Prompt for CD boot, if not pressed drop to hard drive
---------------------------------------------------- N || Y || cd || Prompt
for CD boot, if not pressed drop to PXE boot
---------------------------------------------------- N || N || cd || PXE
boot ---------------------------------------------------- Y || N || cd ||
Boot from hardrive ---------------------------------------------------- Y
|| Y || cd || Prompt for CD boot, if not pressed drop to hard drive
---------------------------------------------------- N || N || cn || PXE
boot ---------------------------------------------------- N || Y || cn ||
Prompt for CD boot, if not pressed drop to PXE boot
---------------------------------------------------- Y || N || cn || Boot
from hard drive ---------------------------------------------------- Y || Y
|| cn || Prompt for CD boot, if not pressed drop to hard drive
---------------------------------------------------- N || N || nd || PXE
boot ---------------------------------------------------- N || Y || nd ||
Prompt for CD boot, if not pressed drop to PXE boot
---------------------------------------------------- Y || N || nd || Boot
from hardrive ---------------------------------------------------- Y || Y
|| nd || Prompt for CD boot, if not pressed drop to hard drive
---------------------------------------------------- My running suspicion
is that the fw_cfg file is being incorrectly configured. However, I do not
see what is typically cited as a problem in the QEMU invocation that is
being tested on our end, namely the conflicting usage of "-boot order=ABC"
and "-device XYZ,bootindex=N". I don't really see any chatter about this on
any of the mailing lists that I've dug through, but it was just last week
that a fix was posted for the issue in which the hvmloader firmware leaves
address decoding enabled for enumerated PCI devices. Thus, I'm wondering if
this has simply not shown up on anyone's radar yet. Is this is a known
issue?

Tomasz
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to