On 09.12.19 03:00, pannengy...@huawei.com wrote:
> From: Michael S. Tsirkin
>
> Devices tend to maintain vq pointers, allow deleting them through a vq
> pointer.
>
> Signed-off-by: Michael S. Tsirkin
> Signed-off-by: Pan Nengyuan
> [PMM: change function name to virtio_queue_cleanup; set used_
On 2019/12/9 10:00, pannengy...@huawei.com wrote:
> From: Michael S. Tsirkin
>
> Devices tend to maintain vq pointers, allow deleting them through a vq
> pointer.
>
> Signed-off-by: Michael S. Tsirkin
> Signed-off-by: Pan Nengyuan
> [PMM: change function name to virtio_queue_cleanup; set u
From: Michael S. Tsirkin
Devices tend to maintain vq pointers, allow deleting them through a vq
pointer.
Signed-off-by: Michael S. Tsirkin
Signed-off-by: Pan Nengyuan
[PMM: change function name to virtio_queue_cleanup; set used_elems to NULL
after free]
Cc: Amit Shah
Reviewed-by: Pankaj Gup