Re: [Qemu-devel] [PATCH v2] clean up callback when del virtqueue

2018-09-18 Thread Jason Wang
On 2018年09月17日 21:48, liujunjie wrote: Before, we did not clear callback like handle_output when delete the virtqueue which may result be segmentfault. The scene is as follows: 1. Start a vm with multiqueue vhost-net, 2. then we write VIRTIO_PCI_GUEST_FEATURES in PCI configuration to triger

[Qemu-devel] [PATCH v2] clean up callback when del virtqueue

2018-09-17 Thread liujunjie
Before, we did not clear callback like handle_output when delete the virtqueue which may result be segmentfault. The scene is as follows: 1. Start a vm with multiqueue vhost-net, 2. then we write VIRTIO_PCI_GUEST_FEATURES in PCI configuration to triger multiqueue disable in this vm which will