Re: [PATCH 1/1] physmem: avoid bounce buffer too small

2024-02-28 Thread Heinrich Schuchardt
On 28.02.24 13:46, Heinrich Schuchardt wrote: virtqueue_map_desc() is called with values of sz exceeding that may exceed TARGET_PAGE_SIZE. sz = 0x2800 has been observed. We only support a single bounce buffer. We have to avoid virtqueue_map_desc() calling address_space_map() multiple times. Othe

[PATCH 1/1] physmem: avoid bounce buffer too small

2024-02-28 Thread Heinrich Schuchardt
virtqueue_map_desc() is called with values of sz exceeding that may exceed TARGET_PAGE_SIZE. sz = 0x2800 has been observed. We only support a single bounce buffer. We have to avoid virtqueue_map_desc() calling address_space_map() multiple times. Otherwise we see an error qemu: virtio: bogus d