scsi: Set SCSI BUS itself as default HotplugHandler
commitbddd763a4e43213ba4e003ee2f8afb4f1222ec88
authorIgor Mammedov <imammedo@redhat.com>
Fri, 26 Sep 2014 09:28:31 +0000 (26 09:28 +0000)
committerAndreas Färber <afaerber@suse.de>
Wed, 15 Oct 2014 03:03:14 +0000 (15 05:03 +0200)
tree3fa1d3164662becda20832c2b2a7d764a3e13124
parent277bc95ed31c2db08c5e3662e1dcebaf27cb5150
scsi: Set SCSI BUS itself as default HotplugHandler

That would allow to handle SCSI device unplug
on HBAs without dedicated hot(un)plug handlers
and avoid making such HBAs explicitly hotpluggable.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/scsi/scsi-bus.c