Re: [Qemu-devel] [PATCH 2/8] virtio: memory cache for packed ring

2018-04-10 Thread Jason Wang
On 2018年04月04日 20:53, w...@redhat.com wrote: From: Wei Xu A new memory cache is introduced to for packed ring, the code looks pretty duplicated with split(1.0) ring, any refactor idea? I think you can reuse the exist code as I replied in patch 1. Thanks

[Qemu-devel] [PATCH 2/8] virtio: memory cache for packed ring

2018-04-04 Thread wexu
From: Wei Xu A new memory cache is introduced to for packed ring, the code looks pretty duplicated with split(1.0) ring, any refactor idea? Signed-off-by: Wei Xu --- hw/virtio/virtio.c | 79 +++--- 1 file changed, 76 insertions(+), 3 deletions(-)