summary refs log tree commit diff stats
path: root/qemu-objects.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-12-10 11:11:07 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-12 07:59:44 -0600
commit11f4d7f483d9ca3a8979abd605cf1468b3e96aa2 (patch)
tree650b4613e3d791ce24cb98e7648b85327cc5b91d /qemu-objects.h
parent09e3acc6cfabfd85a9dacc04471df5f05019c779 (diff)
downloadfocaccia-qemu-11f4d7f483d9ca3a8979abd605cf1468b3e96aa2.tar.gz
focaccia-qemu-11f4d7f483d9ca3a8979abd605cf1468b3e96aa2.zip
scsi: fix drive hotplug.
This patch fills the DriveInfo->unit after hotplugging a scsi disk.
It makes a difference when auto-assigning a scsi id, where unit was
left filled with '-1' instead of the actual scsi id.

With this patch applied the the drive naming logic in drive_init() works
as good as it did in previous releases.  Which means it works fine with
a single scsi bus.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-objects.h')
0 files changed, 0 insertions, 0 deletions