Basic Facilities of a Virtio Device (二)
该文是通过对virtio-1.2官方文档翻译生成的,文档的下载地址为: http://docs.oasis-open.org/virtio/virtio/v1.2/
9 Driver Notifications
The driver is sometimes required to send an available buffer notification to the device.
驱动程序有时需要向该设备发送一个可用的缓冲区通知。
When VIRTIO_F_NOTIFICATION_DATA has not been negotiated, this notification involves sending the virtqueue number to the device (method depending on the transport).
当VIRTIO_F_NOTIFICATION_DATA尚未协商时,此通知涉及将半虚拟队列virtqueue 队列号发送到设备(方法取决于传输)。
However, some devices benefit from the ability to find out the amount of available data in the queue without accessing the virtqueue in memory: for efficiency or as a debugging aid.
然而,一些设备受益于能够在不访问内存中的半虚拟队列virtqueue 的情况下查找队列中的可用数据量:为了提高效率或作为调试辅助工具。
To help with these optimizations, when VIRTIO_F_NOTIFICATION_DATA has been negotiated, driver notifications to the device in

最低0.47元/天 解锁文章
936

被折叠的 条评论
为什么被折叠?



