- bsc#1203252 - virt-manager regression - cannot add second
virtio-scsi controller virtman-fix-uninitialized-controller-index.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=582
This commit is contained in:
parent
e9e3efc3cd
commit
82007fb6e3
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 15 07:51:46 MST 2022 - carnold@suse.com
|
||||
|
||||
- bsc#1203252 - virt-manager regression - cannot add second
|
||||
virtio-scsi controller
|
||||
virtman-fix-uninitialized-controller-index.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 7 05:32:57 MST 2022 - carnold@suse.com
|
||||
|
||||
|
@ -82,6 +82,7 @@ Patch157: virtman-fix-restore-vm-menu-selection.patch
|
||||
Patch158: virtman-disallow-adding-floppy-disk.patch
|
||||
Patch159: virtman-register-delete-event-for-details-dialog.patch
|
||||
Patch160: virtman-revert-use-of-AyatanaAppIndicator3.patch
|
||||
Patch161: virtman-fix-uninitialized-controller-index.patch
|
||||
Patch170: virtinst-xen-drive-type.patch
|
||||
Patch171: virtinst-xenbus-disk-index-fix.patch
|
||||
Patch172: virtinst-refresh_before_fetch_pool.patch
|
||||
|
13
virtman-fix-uninitialized-controller-index.patch
Normal file
13
virtman-fix-uninitialized-controller-index.patch
Normal file
@ -0,0 +1,13 @@
|
||||
References: bsc#1203252
|
||||
|
||||
--- virt-manager-4.1.0/virtManager/addhardware.py.orig 2022-11-15 07:49:08.318413181 -0700
|
||||
+++ virt-manager-4.1.0/virtManager/addhardware.py 2022-11-15 07:49:48.126414130 -0700
|
||||
@@ -1570,6 +1570,8 @@ class vmmAddHardware(vmmGObjectUI):
|
||||
if len(controller_num) > 0:
|
||||
index_new = max([x.index for x in controller_num]) + 1
|
||||
dev.index = index_new
|
||||
+ else:
|
||||
+ dev.index = 0
|
||||
|
||||
dev.type = controller_type
|
||||
|
Loading…
Reference in New Issue
Block a user