Michael S. Tsirkin 711bf3d954 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>
2009-09-11 10:19:46 -05:00
..
2009-08-27 20:30:22 -05:00
2009-06-29 14:18:08 -05:00
2009-05-08 02:35:15 +01:00
2009-05-14 22:35:08 +01:00
2009-05-12 12:33:04 +01:00
2009-06-13 19:17:11 -05:00
2009-07-27 08:39:28 -05:00
2009-07-27 14:08:23 -05:00
2009-05-14 22:35:09 +01:00
2009-06-29 14:18:08 -05:00
2009-08-27 20:47:01 -05:00
2009-05-10 01:44:56 +01:00
2009-07-27 14:08:23 -05:00
2009-09-10 19:47:59 +04:00
2009-03-28 16:17:50 +00:00
2009-05-10 01:44:56 +01:00
2009-07-27 14:08:23 -05:00
2009-09-10 19:48:00 +04:00
2009-07-27 14:08:23 -05:00
2009-09-09 18:20:58 -05:00
2009-08-27 20:30:21 -05:00
2009-08-24 08:01:42 -05:00
2009-08-28 20:46:21 +00:00
2009-09-10 19:47:59 +04:00
2009-09-10 19:47:59 +04:00
2009-03-04 07:20:40 +00:00
2009-07-27 14:08:23 -05:00
2009-05-10 01:44:56 +01:00
2009-09-10 19:48:01 +04:00
2009-09-10 19:48:01 +04:00
2009-09-10 19:48:01 +04:00
2009-05-13 17:56:25 +01:00
2009-06-24 09:09:14 -05:00
2009-07-27 14:08:23 -05:00
2009-09-10 19:48:01 +04:00
2009-09-10 19:48:01 +04:00
2009-09-10 19:48:01 +04:00
2009-09-10 19:48:01 +04:00
2009-09-10 19:48:01 +04:00
2009-07-27 14:08:13 -05:00
2009-08-27 20:30:22 -05:00
2009-09-10 19:48:01 +04:00
2009-08-15 14:27:05 +00:00
2009-08-15 14:27:05 +00:00
2009-08-10 13:05:28 -05:00
2009-08-15 14:27:05 +00:00
2009-06-17 15:49:37 +00:00
2009-08-27 20:43:33 -05:00
2009-09-09 14:55:18 -05:00
2009-09-09 14:55:18 -05:00
2009-09-10 19:48:01 +04:00
2009-08-25 18:29:31 +00:00
2009-08-10 13:05:28 -05:00
2009-06-03 15:16:49 +01:00
2009-08-27 20:30:22 -05:00
2009-08-31 19:30:15 +00:00
2009-05-14 22:35:09 +01:00
2009-07-16 17:28:51 -05:00
2009-09-09 14:57:20 -05:00
2009-09-09 14:55:18 -05:00
2009-09-09 14:57:20 -05:00
2009-09-10 19:59:50 +04:00
2009-05-14 22:35:07 +01:00
2009-05-14 22:35:09 +01:00
2009-08-27 20:43:33 -05:00
2009-05-10 01:44:56 +01:00
2009-09-10 19:47:59 +04:00
2009-07-16 17:28:51 -05:00
2009-05-13 20:54:26 +01:00
2009-09-09 14:57:20 -05:00
2009-09-09 14:55:18 -05:00
2009-09-09 14:55:18 -05:00
2009-09-09 14:55:17 -05:00
2009-09-09 14:55:18 -05:00
2009-09-09 14:55:11 -05:00
2009-09-09 14:55:11 -05:00
2009-09-09 14:55:11 -05:00
2009-05-18 18:26:33 +01:00
2009-05-14 22:35:08 +01:00
2009-08-27 20:43:33 -05:00
2009-07-09 16:58:08 -05:00
2009-08-10 13:05:28 -05:00
2009-08-27 20:35:24 -05:00
2009-08-27 20:35:24 -05:00
2009-07-27 14:08:23 -05:00
2009-04-23 18:29:47 +00:00
2009-07-27 14:08:23 -05:00
2009-06-13 16:18:31 +03:00
2009-07-16 17:28:51 -05:00