[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [PATCH] virtio: update MemoryRegionCaches when guest n
From: |
Fam Zheng |
Subject: |
Re: [Qemu-stable] [PATCH] virtio: update MemoryRegionCaches when guest negotiates features |
Date: |
Thu, 23 Aug 2018 22:06:47 +0800 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Thu, 08/23 14:21, Paolo Bonzini wrote:
> 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 <address@hidden>
> Fixes: 97cd965c070152bc626c7507df9fb356bbe1cd81
> Cc: address@hidden
> Signed-off-by: Paolo Bonzini <address@hidden>
Tested-by: Fam Zheng <address@hidden>