[PATCH] target/riscv/vector_helper.c: clean up reference of MTYPE

2023-06-07 Thread Xiao Wang
There's no code using MTYPE, which was a concept used in older vector implementation. Signed-off-by: Xiao Wang --- target/riscv/vector_helper.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/target/riscv/vector_helper.c b/target/riscv/vector_helper.c index f261e

[PATCH v2] target/riscv/vector_helper.c: Remove the check for extra tail elements

2023-06-07 Thread Xiao Wang
ostic for vector load / store instructions") Signed-off-by: Xiao Wang --- v2: * Rebased on top of Alistair's riscv-to-apply.next branch. --- target/riscv/vector_helper.c | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/target/riscv/vector_helpe

[PATCH] target/riscv/vector_helper.c: Remove the check for extra tail elements

2023-06-06 Thread Xiao Wang
ostic for vector load / store instructions") Signed-off-by: Xiao Wang --- target/riscv/vector_helper.c | 21 ++--- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/target/riscv/vector_helper.c b/target/riscv/vector_helper.c index f4d0438988..56a79bb5fa 100644 --- a

[Qemu-devel] [RFC 2/2] vhost-vfio: implement vhost-vfio backend

2018-10-16 Thread Xiao Wang
cannot set host notifier memory region, QEMU will help to relay the notify to vDPA device. For SET_VRING_CALL, vhost-vfio uses VFIO API to pass the irqfd to kernel. Signed-off-by: Tiwei Bie Signed-off-by: Xiao Wang --- hw/vfio/common.c | 3 +- hw/virtio/Makefile.objs

[Qemu-devel] [RFC 1/2] vhost-vfio: introduce vhost-vfio net client

2018-10-16 Thread Xiao Wang
fsdev=/sys/bus/mdev/devices/$UUID,id=mynet\ -device virtio-net-pci,netdv=mynet,page-per-vq=on \ Signed-off-by: Tiwei Bie Signed-off-by: Xiao Wang --- hw/net/vhost_net.c| 56 ++- hw/virtio/vhost.c | 15 ++ include/hw/virtio/vhost-backend.h | 6 +-

[Qemu-devel] [RFC 0/2] vhost-vfio: introduce mdev based HW vhost backend

2018-10-16 Thread Xiao Wang
sfsdev=/sys/bus/mdev/devices/$UUID,id=mynet\ -device virtio-net-pci,netdv=mynet,page-per-vq=on \ END Xiao Wang (2): vhost-vfio: introduce vhost-vfio net client vhost-vfio: implement vhost-vfio backend hw/net/vhost_net.c| 56 - hw/vfio/common.c