48d6a5768a
- Update to libvirt 8.6.0 - Many incremental improvements and bug fixes, see https://libvirt.org/news.html#v8-6-0-2022-08-01 - spec: Don't redefine libexecdir boo#1201565 OBS-URL: https://build.opensuse.org/request/show/992406 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=937
21 lines
836 B
Diff
21 lines
836 B
Diff
libxl: Use the SUSE ovmf firmware path for Xen
|
|
|
|
The libxl driver trivially supports firmware autoselection since as of
|
|
June 2021 ovmf only supports one firmware for Xen. This patch adjusts
|
|
the firmware path to match the one provided by the ovmf package.
|
|
|
|
|
|
Index: libvirt-8.6.0/src/libxl/libxl_conf.c
|
|
===================================================================
|
|
--- libvirt-8.6.0.orig/src/libxl/libxl_conf.c
|
|
+++ libvirt-8.6.0/src/libxl/libxl_conf.c
|
|
@@ -1782,7 +1782,7 @@ libxlDriverConfigNew(void)
|
|
cfg->firmwares = g_new0(virFirmware *, 1);
|
|
cfg->nfirmwares = 1;
|
|
cfg->firmwares[0] = g_new0(virFirmware, 1);
|
|
- cfg->firmwares[0]->name = g_strdup(LIBXL_FIRMWARE_DIR "/ovmf.bin");
|
|
+ cfg->firmwares[0]->name = g_strdup(DATADIR "/qemu/ovmf-x86_64-xen-4m.bin");
|
|
#endif
|
|
|
|
/* Always add hvmloader to firmwares */
|