On 12/2/2015 10:09 PM, Victor Kaplansky wrote: > On Wed, Dec 02, 2015 at 11:43:12AM +0800, Yuanhan Liu wrote: >> Invoking vhost_log_write() to mark corresponding page as dirty while >> updating used vring. > Looks good, thanks! > > I didn't find where you log the dirty pages in result of data > written to the buffers pointed by the descriptors in RX vring. > AFAIU, the buffers of RX queue reside in guest's memory and have > to be marked as dirty if they are written. What do you say? Yes, that is actually the majority of the work. Besides, in the first version, we could temporarily ignore zero copy, which is much more complicated, as we have no idea when the page has been accessed. -- Huawei > > -- Victor > >
- [dpdk-dev] [PATCH 2/4] vhost: introduce vhost_... Xie, Huawei
- [dpdk-dev] [PATCH 2/4] vhost: introduce vh... Yuanhan Liu
- [dpdk-dev] [PATCH 2/4] vhost: introduc... Xie, Huawei
- [dpdk-dev] [PATCH 2/4] vhost: int... Yuanhan Liu
- [dpdk-dev] [PATCH 3/4] vhost: log vring changes Yuanhan Liu
- [dpdk-dev] [PATCH 3/4] vhost: log vring changes Victor Kaplansky
- [dpdk-dev] [PATCH 3/4] vhost: log vring change... Yuanhan Liu
- [dpdk-dev] [PATCH 3/4] vhost: log vring ch... Victor Kaplansky
- [dpdk-dev] [PATCH 3/4] vhost: log vrin... Michael S. Tsirkin
- [dpdk-dev] [PATCH 3/4] vhost: log... Yuanhan Liu
- [dpdk-dev] [PATCH 3/4] vhost: log vring change... Xie, Huawei
- [dpdk-dev] [PATCH 4/4] vhost: enable log_shmfd protocol... Yuanhan Liu
- [dpdk-dev] [PATCH 0/4 for 2.3] vhost-user live migratio... Victor Kaplansky
- [dpdk-dev] [PATCH 0/4 for 2.3] vhost-user live migratio... Xie, Huawei
- [dpdk-dev] [PATCH v2 0/6] vhost-user live migration sup... Yuanhan Liu
- [dpdk-dev] [PATCH v2 1/6] vhost: handle VHOST_USER... Yuanhan Liu
- [dpdk-dev] [PATCH v2 1/6] vhost: handle VHOST_... Xie, Huawei
- [dpdk-dev] [PATCH v2 1/6] vhost: handle VH... Yuanhan Liu
- [dpdk-dev] [PATCH v2 1/6] vhost: handl... Xie, Huawei
- [dpdk-dev] [PATCH v2 1/6] vhost: ... Yuanhan Liu