Re: [kvm-devel] [patch 3/2] hotadd: lsi_scsi_init can fail

2008-04-22 Thread Avi Kivity
Chris Wright wrote: During hotadd of SCSI devices lsi_scsi_init() handles failed pci_device_register(), but qemu_system_hot_add_storage() will try and attach a drive any way. Handle this error case rather the generating SEGV. Cc: Marcelo Tosatti [EMAIL PROTECTED] Signed-off-by: Chris

[kvm-devel] [patch 3/2] hotadd: lsi_scsi_init can fail

2008-04-21 Thread Chris Wright
During hotadd of SCSI devices lsi_scsi_init() handles failed pci_device_register(), but qemu_system_hot_add_storage() will try and attach a drive any way. Handle this error case rather the generating SEGV. Cc: Marcelo Tosatti [EMAIL PROTECTED] Signed-off-by: Chris Wright [EMAIL PROTECTED] ---