Re: [RFC PATCH] hw/virtio: Do not access vring cache if queue is not ready

2021-08-26 Thread Stefan Hajnoczi
On Thu, Aug 26, 2021 at 12:50:34AM +0200, Philippe Mathieu-Daudé wrote: > On 8/25/21 10:36 PM, Philippe Mathieu-Daudé wrote: > > On 8/25/21 10:09 PM, Philippe Mathieu-Daudé wrote: > >> Do not intent to access the vring MemoryRegion cache if > >> the queue is not ready (no vring available). > >> > >

Re: [RFC PATCH] hw/virtio: Do not access vring cache if queue is not ready

2021-08-25 Thread Philippe Mathieu-Daudé
On 8/25/21 10:36 PM, Philippe Mathieu-Daudé wrote: > On 8/25/21 10:09 PM, Philippe Mathieu-Daudé wrote: >> Do not intent to access the vring MemoryRegion cache if >> the queue is not ready (no vring available). >> >> This fixes issue #301: >> >> qemu-system-i386: include/exec/memory_ldst_cached.h

Re: [RFC PATCH] hw/virtio: Do not access vring cache if queue is not ready

2021-08-25 Thread Philippe Mathieu-Daudé
On 8/25/21 10:09 PM, Philippe Mathieu-Daudé wrote: > Do not intent to access the vring MemoryRegion cache if > the queue is not ready (no vring available). > > This fixes issue #301: > > qemu-system-i386: include/exec/memory_ldst_cached.h.inc:77: void > address_space_stw_le_cached(MemoryRegion

[RFC PATCH] hw/virtio: Do not access vring cache if queue is not ready

2021-08-25 Thread Philippe Mathieu-Daudé
Do not intent to access the vring MemoryRegion cache if the queue is not ready (no vring available). This fixes issue #301: qemu-system-i386: include/exec/memory_ldst_cached.h.inc:77: void address_space_stw_le_cached(MemoryRegionCache *, hwaddr, uint16_t, MemTxAttrs, MemTxResult *): Asserti