virt-manager/virtinst-keep-iso-for-xenpv.patch
Charles Arnold 16b0bd545c - bsc#1178926 - Unable to find any master var for loader
/usr/share/qemu/{bios.bin, bios-256k.bin}
  virtman-legacy-bios-support.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=541
2021-02-24 22:18:04 +00:00

21 lines
843 B
Diff

References: bsc#1180897
Removing the cdrom iso file from the device prevents booting
with a qemu error.
Index: virt-manager-3.2.0/virtinst/install/installer.py
===================================================================
--- virt-manager-3.2.0.orig/virtinst/install/installer.py
+++ virt-manager-3.2.0/virtinst/install/installer.py
@@ -174,8 +174,9 @@ class Installer(object):
for disk in guest.devices.disk:
if (disk.is_cdrom() and
disk.get_source_path() == self._cdrom_path()):
- disk.set_source_path(None)
- disk.sync_path_props()
+ if not guest.os.is_xenpv():
+ disk.set_source_path(None)
+ disk.sync_path_props()
break
def _add_unattended_install_cdrom_device(self, guest, location):