Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
virt-manager.24918
virtinst-use-qemu-for-cdrom-device.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virtinst-use-qemu-for-cdrom-device.patch of Package virt-manager.24918
References: bsc#989639 When the device added is a cdrom device (/dev/sr0), don't use "phy" as the driver name but instead use "qemu". Index: virt-manager-3.3.0/virtinst/devices/disk.py =================================================================== --- virt-manager-3.3.0.orig/virtinst/devices/disk.py +++ virt-manager-3.3.0/virtinst/devices/disk.py @@ -525,7 +525,8 @@ class DeviceDisk(Device): # Recommended xen defaults from here: # https://bugzilla.redhat.com/show_bug.cgi?id=1171550#c9 # If type block, use name=phy. Otherwise do the same as qemu - if self.conn.is_xen() and self.type == self.TYPE_BLOCK: + if self.conn.is_xen() and self.type == self.TYPE_BLOCK and not \ + self.is_cdrom(): return self.DRIVER_NAME_PHY if self.conn.support.conn_disk_driver_name_qemu(): return self.DRIVER_NAME_QEMU
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor