Files
qemu/hw
Paolo Bonzini a40e71884d virtio: update MemoryRegionCaches when guest negotiates features
Because the cache is sized to include the rings and the event indices,
negotiating the VIRTIO_RING_F_EVENT_IDX feature will result in the size
of the cache changing.  And because MemoryRegionCache accesses are
range-checked, if we skip this we end up with an assertion failure.
This happens with OpenBSD 6.3.

Reported-by: Fam Zheng <famz@redhat.com>
Fixes: 97cd965c07
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Tested-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit db812c4073)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2019-03-21 15:45:33 -05:00
..
2018-07-24 17:02:02 +01:00
2018-07-20 08:30:48 +08:00
2018-07-30 17:41:52 +02:00
2018-06-01 15:14:31 +02:00