[PATCH 0/4] Resolve libvirtd crash matching scsi_host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1146837

Not for 1.2.9, but may as well get it in the queue to be reviewed for
post 1.2.9

Although possible to do in one patch - I figured it'd be easier to
review if shown in steps.

Essentially the problem is the scsi_host duplicate checks were causing
a libvirtd crash with the parentaddr/unique_id code.  During my investigation
I determined that there was another lurking issue with the two ways in
which the 'name=' property is allowed to be either 'host#' or 'scsi_host#'.

John Ferlan (4):
  storage_conf: Create function to perform scsi_host dupe check
  storage_conf: Refactor arguments to matchSCSIAdapter
  storage_conf: Fix the scsi_host.name comparison
  storage_conf: Resolve libvirtd crash matching scsi_host

 src/conf/storage_conf.c | 111 ++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 97 insertions(+), 14 deletions(-)

-- 
1.9.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]