virtio-scsi: QOM realize preparations
commit7598f0f30e027146ba70517a2bda98d16bac1e24
authorAndreas Färber <afaerber@suse.de>
Tue, 30 Jul 2013 03:41:42 +0000 (30 05:41 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 9 Dec 2013 20:46:49 +0000 (9 21:46 +0100)
tree39bc8675cb93662640c3fa8e4e667d7d8f524922
parentaf7671fdc530dd597b1ddb4561f5ffc0d534c44c
virtio-scsi: QOM realize preparations

Rename qdev -> dev since that's what realize's argument is called by
convention. No need to keep more "qdev" around than necessary.

Avoid duplicate VIRTIO_DEVICE() cast.

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