File virtinst-keep-install-iso-attached.patch of Package virt-manager.12547

Older SLE guests have a two stage installation that need the ISO.
Newer SLE PV guests hang when a cdrom device is attached without
an ISO file.

Index: virt-manager-1.2.1/virtinst/guest.py
===================================================================
--- virt-manager-1.2.1.orig/virtinst/guest.py
+++ virt-manager-1.2.1/virtinst/guest.py
@@ -718,7 +718,8 @@ class Guest(XMLBuilder):
             # stage install (aka not Windows)
             if (dev.is_cdrom() and
                 getattr(dev, "installer_media", False) and
-                not self.get_continue_inst()):
+                not self.get_continue_inst() and
+                not self.os.is_xenpv()):
                 dev.path = None
 
     def _set_defaults(self):
openSUSE Build Service is sponsored by