qemu: make virtio-blk PCI compliant by default
commit bf011293 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: NMichael S. Tsirkin <mst@redhat.com> Reported-by: NVadim Rozenfeld <vrozenfe@redhat.com> Tested-by: NVadim Rozenfeld <vrozenfe@redhat.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
Showing
想要评论请 注册 或 登录