refactor drive_hot_add
commit4db49dc087dcac6423e729a4bb076052c5e4b615
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 25 Sep 2009 19:42:47 +0000 (25 21:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 5 Oct 2009 14:32:49 +0000 (5 09:32 -0500)
tree66550dfb93f285aa05bc889151e23c789d89d13d
parent56a14938809331372b6cdb2afcb14d9818de4cbf
refactor drive_hot_add

move pci device lookup into the "case IF_SCSI" section, so we
can do something else for other interface types.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pci-hotplug.c