scsi-disk: Don't peek behind the BlockDriverState abstraction
authorMarkus Armbruster <armbru@redhat.com>
Tue, 5 Jun 2012 14:49:25 +0000 (16:49 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 15 Jun 2012 12:03:43 +0000 (14:03 +0200)
commit137745c5c60f083ec982fe9e861e8c16ebca1ba8
tree10ef10f176861a368d9772f87bb25ca1d664feb0
parentc8433287830f342d8ee35d206afdf6cc6c5fe35a
scsi-disk: Don't peek behind the BlockDriverState abstraction

Use the appropriate interface instead.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/scsi-disk.c