Marcel Apfelbaum f03d8ea330 hw/pcie: fix Extended Configuration Space for devices with no Extended Capabilities
Absence of any Extended Capabilities is required to be
indicated by an Extended Capability header with a Capability ID of
0000h, a Capability Version of 0h, and a Next Capability Offset of 000h.

Instead of inserting a 'NULL' capability is simpler to mark the start
of the Extended Configuration Space as read-only to achieve the same
behaviour.

Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2017-03-16 01:46:40 +02:00
..
2017-01-27 18:07:59 +01:00
2017-01-27 18:07:59 +01:00
2017-03-04 16:31:14 +00:00
2017-02-28 17:10:00 +00:00
2017-01-27 18:07:59 +01:00
2017-02-28 16:18:49 +00:00
2017-01-27 18:07:59 +01:00
2017-01-27 18:07:59 +01:00
2017-02-28 12:04:48 +01:00
2017-03-01 00:09:28 +04:00