Hi Andrea,
That took longer than I anticipated, even though I had already exceeded my original estimate O:-) however patches are finally on the list.
https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thre ad/N2ETTZ3W I5RWXGJG7DW5YYMZ7UGDYMHA/
I'd appreciate any testing you could give them, as well as any other kind of feedback you might have.
Thank you for posting the patches.
I applied the patch and tested it on my side. However, it seems the issue my previous patch(linked below) aimed to resolve is still present. https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread /AII3X37F7AK7AR234LYWNCS7BIR5AL2P/
I expect the following XML not to result in an error. <os> <type arch='aarch64' machine='virt-4.0'>hvm</type> <loader type="rom">/usr/share/qemu-efi-aarch64/QEMU_EFI.fd</loader> </os> <features> <acpi/> </features>
However, I am still seeing the same error as before. The error message observed when running "virsh create test.xml" is: error: Failed to create domain from test.xml error: unsupported configuration: ACPI requires UEFI on this architecture
Did you ensure that a suitable JSON firmware descriptor exists in the expected location? It should normally come in the same package as the firmware binary itself, though it wouldn't be surprising if that's not currently the case considering that the combination was not working until now. If it doesn't exist, that will have to be addressed at the distro level, but you can create the file yourself in the meantime for development purposes.
See the attached patch showing how the XML you provided is processed correctly by the libvirt test suite once the JSON firmware descriptor is added.
Thank you so much for your detailed explanation and the attached patch. Following your advice, I've placed a suitable JSON firmware descriptor in /usr/share/qemu/firmware and confirmed that the error is now resolved. Best Regards, Kazuhiro Abe
-- Andrea Bolognani / Red Hat / Virtualization