Re: [PATCH] virtio-iommu: Do not process commands with bad size

2024-06-03 Thread Michael S. Tsirkin
On Thu, Apr 04, 2024 at 02:45:05PM +0200, Zheyu Ma wrote: > The device should not handle the commands which have bad request/reply > size, it should just report the error instead of raising an assertation. > > Signed-off-by: Zheyu Ma Seems to cause CI failures: https://gitlab.com/mstredhat/qemu/

Re: [PATCH] virtio-iommu: Do not process commands with bad size

2024-04-08 Thread Michael S. Tsirkin
On Thu, Apr 04, 2024 at 02:45:05PM +0200, Zheyu Ma wrote: > The device should not handle the commands which have bad request/reply > size, it should just report the error instead of raising an assertation. > > Signed-off-by: Zheyu Ma This fails test for cross-i686-tci https://gitlab.com/mstred

Re: [PATCH] virtio-iommu: Do not process commands with bad size

2024-04-04 Thread Michael S. Tsirkin
On Thu, Apr 04, 2024 at 02:45:05PM +0200, Zheyu Ma wrote: > The device should not handle the commands which have bad request/reply > size, it should just report the error instead of raising an assertation. > > Signed-off-by: Zheyu Ma I do not get what problem you are trying to solve here. Can gu

[PATCH] virtio-iommu: Do not process commands with bad size

2024-04-04 Thread Zheyu Ma
The device should not handle the commands which have bad request/reply size, it should just report the error instead of raising an assertation. Signed-off-by: Zheyu Ma --- hw/virtio/virtio-iommu.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/hw/virtio/virtio-iom