Re: [PATCH v4 3/3] vhost-user: Fix the virtio features negotiation flaw

2022-12-14 Thread Liuxiangdong via
QEMU will coredump when vm starts. Using command line: ./build/qemu-system-x86_64 \ -nodefaults \ -m 4G \ -machine pc-i440fx-4.1 \ -accel kvm \ -cpu host \ -smp 4 \ -device qemu-xhci -device usb-kbd -device usb-tablet \ -drive if=none,id=linux,file=test.img,format

Re: [PATCH v4 08/14] util: Add iova_tree_alloc_map

2022-03-03 Thread Liuxiangdong via
On 2022/3/4 2:51, Eugenio Pérez wrote: This iova tree function allows it to look for a hole in allocated regions and return a totally new translation for a given translated address. It's usage is mainly to allow devices to access qemu address space, remapping guest's one into a new iova space

Re: [PATCH 11/31] vhost: Add vhost_svq_valid_device_features to shadow vq

2022-02-26 Thread Liuxiangdong via
Hi, Eugenio. diff --git a/hw/virtio/vhost-shadow-virtqueue.c b/hw/virtio/vhost-shadow-virtqueue.c index 9619c8082c..51442b3dbf 100644 --- a/hw/virtio/vhost-shadow-virtqueue.c +++ b/hw/virtio/vhost-shadow-virtqueue.c @@ -45,6 +45,50 @@ const EventNotifier *vhost_svq_get_dev_kick_notifier( r