Re: [PATCH v2 04/24] virtio: introduce virtio_queue_enable()

2022-08-23 Thread Jason Wang
在 2022/8/16 09:06, 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 and related virtqueue can be started. It only supports the devices of virtio 1 or later. Th

[PATCH v2 04/24] virtio: introduce virtio_queue_enable()

2022-08-15 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 and related virtqueue can be started. It only supports the devices of virtio 1 or later. The not-supported devices can only start