diff options
author | Jason Wang | 2015-07-27 11:49:21 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2015-07-27 17:11:53 +0200 |
commit | c9b11f971cfa1fd3eed716f62f4b835553b75490 (patch) | |
tree | 88c2d86570ff7d8390cca820c92bb45179fff4e4 /hw/i386/acpi-build.c | |
parent | virtio-blk: fail get_features when both scsi and 1.0 were set (diff) | |
download | qemu-c9b11f971cfa1fd3eed716f62f4b835553b75490.tar.gz qemu-c9b11f971cfa1fd3eed716f62f4b835553b75490.tar.xz qemu-c9b11f971cfa1fd3eed716f62f4b835553b75490.zip |
virtio-blk: only clear VIRTIO_F_ANY_LAYOUT for legacy device
Chapter 6.3 of spec said
"
Transitional devices MUST offer, and if offered by the device
transitional drivers MUST accept the following:
VIRTIO_F_ANY_LAYOUT (27)
"
So this patch only clear VIRTIO_F_LAYOUT for legacy device.
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: qemu-block@nongnu.org
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 'hw/i386/acpi-build.c')
0 files changed, 0 insertions, 0 deletions