[libvirt] [PATCH 0/4] Resolve libvirtd crash matching scsi_host

John Ferlan jferlan at redhat.com
Tue Sep 30 21:35:23 UTC 2014


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




More information about the libvir-list mailing list