Implement scsi device destruction

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Gerd Hoffmann 2009-09-25 21:42:36 +02:00 committed by Anthony Liguori
parent d29275f103
commit 01985dcf38
3 changed files with 21 additions and 11 deletions

View file

@ -668,8 +668,6 @@ static void scsi_destroy(SCSIDevice *d)
qemu_free(r);
r = n;
}
qemu_free(d);
}
static int scsi_generic_initfn(SCSIDevice *dev)