File virtinst-keep-iso-for-xenpv.patch of Package virt-manager.18136
References: bsc#1180897
Removing the cdrom iso file from the device prevents booting
with a qemu error.
--- virt-manager/virtinst/install/installer.py.orig 2021-01-25 12:22:43.284220879 -0700
+++ virt-manager/virtinst/install/installer.py 2021-01-25 13:49:00.195386309 -0700
@@ -117,8 +117,9 @@ class Installer(object):
return
for disk in guest.devices.disk:
if disk.is_cdrom() and disk.path == self._cdrom_path():
- disk.path = None
- disk.sync_path_props()
+ if not guest.os.is_xenpv():
+ disk.path = None
+ disk.sync_path_props()
break
def _add_unattended_install_cdrom_device(self, guest, location):