Re: [RFC PATCH v7 07/25] vhost: Add reference counting to vhost_iova_tree

2022-04-13 Thread Jason Wang
在 2022/4/14 00:31, Eugenio Pérez 写道: Now that different vqs can have different ASIDs its easier to track them using reference counters. QEMU's glib version still does not have them so we've copied g_rc_box, so the implementation can be converted to glib's one when the minimum version is raised

[RFC PATCH v7 07/25] vhost: Add reference counting to vhost_iova_tree

2022-04-13 Thread Eugenio Pérez
Now that different vqs can have different ASIDs its easier to track them using reference counters. QEMU's glib version still does not have them so we've copied g_rc_box, so the implementation can be converted to glib's one when the minimum version is raised. Signed-off-by: Eugenio Pérez --- hw/