diff options
| author | Jason Wang <jasowang@redhat.com> | 2015-07-27 17:49:20 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2015-07-27 18:11:53 +0300 |
| commit | efb8206ca7f19f5a6ece1f2851a73a29de309b1e (patch) | |
| tree | 092d92ff2f2db1237da8e044acea01e5f7e547b7 /scripts/qapi-commands.py | |
| parent | 9d5b731dd2d64deb3bc798ef4e3c08603d54ae02 (diff) | |
| download | focaccia-qemu-efb8206ca7f19f5a6ece1f2851a73a29de309b1e.tar.gz focaccia-qemu-efb8206ca7f19f5a6ece1f2851a73a29de309b1e.zip | |
virtio-blk: fail get_features when both scsi and 1.0 were set
SCSI passthrough was no longer supported in virtio 1.0, so this patch fail the get_features() when both 1.0 and scsi is set. And also only advertise VIRTIO_BLK_F_SCSI for legacy virtio-blk device. Signed-off-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions