Re: [PATCH 13/16] virtio: introduce queue_enable in virtio

2022-07-25 Thread Kangjie Xu
在 2022/7/26 12:17, Jason Wang 写道: 在 2022/7/18 19:17, Kangjie Xu 写道: Introduce the interface queue_enable() in VirtioDeviceClass and the fucntion virtio_queue_enable() in virtio, it can be called when VIRTIO_PCI_COMMON_Q_ENABLE is written. I'd suggest to split this series into two. 1) queu

Re: [PATCH 13/16] virtio: introduce queue_enable in virtio

2022-07-25 Thread Jason Wang
在 2022/7/18 19:17, Kangjie Xu 写道: Introduce the interface queue_enable() in VirtioDeviceClass and the fucntion virtio_queue_enable() in virtio, it can be called when VIRTIO_PCI_COMMON_Q_ENABLE is written. I'd suggest to split this series into two. 1) queue_enable 2) queue_reset The patch

[PATCH 13/16] virtio: introduce queue_enable in virtio

2022-07-18 Thread Kangjie Xu
Introduce the interface queue_enable() in VirtioDeviceClass and the fucntion virtio_queue_enable() in virtio, it can be called when VIRTIO_PCI_COMMON_Q_ENABLE is written. Signed-off-by: Kangjie Xu Signed-off-by: Xuan Zhuo --- hw/virtio/virtio-pci.c | 1 + hw/virtio/virtio.c | 9