aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2009-09-07 21:14:37 +0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-11 10:19:46 -0500
commit711bf3d954371abffc07e397fc868a9c9e7e5585 (patch)
treedfb0e11d37ed9b782e6fa9453f70507d879c13dd /hw/virtio.c
parentc4c0e236beabb9de5ff472f77aeb811ec5484615 (diff)
qemu: make virtio-blk PCI compliant by default
commit bf011293faaa7f87e4de83185931e7411b794128 made virtio-blk-pci not PCI-compliant, since it makes region 0 (which is an i/o region) size > 256, and, since PCI 2.1, i/o regions are limited to 256 bytes size. When the ATA serial number feature is off, which is the default, make the device spec compliant again, by making region 0 smaller. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reported-by: Vadim Rozenfeld <vrozenfe@redhat.com> Tested-by: Vadim Rozenfeld <vrozenfe@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio.c')
0 files changed, 0 insertions, 0 deletions