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

2022-12-14 Thread Hyman Huang
Thanks xiangdong for the testing and reporting, indeed, vhost-user negotiaion features saving only apply on dpdk interface, vhost-net and vdpa interface can be ingored. I'll apply it next version. Yong 在 2022/12/14 16:15, Liuxiangdong 写道: QEMU will coredump when vm starts. Using command line

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

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

2022-11-17 Thread huangy81
From: Hyman Huang(黄勇) This patch aims to fix unexpected negotiation features for vhost-user netdev interface. When openvswitch reconnect Qemu after an unexpected disconnection and Qemu therefore start the vhost_dev, acked_features field in vhost_dev is initialized with value fetched from acked_f