scsi-block: extract scsi_block_is_passthrough
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 16 Jul 2014 08:45:29 +0000 (10:45 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 29 Jul 2014 15:36:29 +0000 (17:36 +0200)
commit592c3b289f77ee77d5bff25cb19326cc7f22a532
tree510549095c26391279ebe44ab5bdaa501d9c2f8e
parentff34c32ccc29fc23c11f0ef6c86257e23f9e3266
scsi-block: extract scsi_block_is_passthrough

This will be used for both scsi_block_new_request and the scsi-block
implementation of parse_cdb.

Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/scsi-disk.c