73e1b007e3
- Update to libvirt 7.8.0 - jsc#SLE-18260 - Many incremental improvements and bug fixes, see https://libvirt.org/news.html - Dropped patches: b75a16ae-libxl-improve-die-id.patch, 65fab900-libxl-fix-driver-reload.patch, 51eb680b-libxl-dont-autostart-on-reload.patch - spec: Fix hangs during package update bsc#1177902, bsc#1190693 - spec: Don't add --timeout arg to /etc/sysconfig/libvirtd when running in traditional mode without socket activation bsc#1190695 OBS-URL: https://build.opensuse.org/request/show/922671 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=905
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-7.8.0/src/libxl/libxl_conf.c
|
|
===================================================================
|
|
--- libvirt-7.8.0.orig/src/libxl/libxl_conf.c
|
|
+++ libvirt-7.8.0/src/libxl/libxl_conf.c
|
|
@@ -1797,7 +1797,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 */
|