On Tue, Dec 02, 2025 at 12:52:02AM +0000, Kazuhiro Abe (Fujitsu) wrote:
On Tue, Nov 18, 2025 at 02:37:57AM +0000, Kazuhiro Abe (Fujitsu) wrote:
I am currently working on some changes of my own in the area in order to enable the uefi-vars QEMU devices, which also expect edk2 to be loaded via -bios; so if there is anything else missing, I expect that I will run into it and fix it shortly.
I understand your suggested approach. My understanding is that this is the case where autoselection is enabled and the JSON file in /usr/share/qemu/firmware is referenced.
In a CCA environment, I think the common approach is to enable autoselection and reference the JSON file in /usr/share/qemu/firmware. However, there are cases where autoselection is disabled, such as when using <os> <loader type='rom'>, the JSON file will not be referenced. In such scenarios, your proposed method fails to allow libvirt to automatically set <os firmware='efi'>, and the issue still persists.
You've just identified one of those issues that I predicted I would run into and have to fix :)
I already have a patch addressing that, among other things, in my local branch. I expect to be able to post the whole series shortly, probably next week.
It would be great if you can share the updates of your patch.
Still working on it :) It's taking a bit longer than I had anticipated to get all the ducks in a row, but I'm hoping that I will be able to finally post the series this week or the next one. -- Andrea Bolognani / Red Hat / Virtualization