[Qemu-devel] [PATCH v8 0/2] vhost: used_memslots limit check fixes and refactoring

Jay Zhou posted 2 patches 6 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1519714706.git.jianjay.zhou@huawei.com
Test checkpatch passed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test docker-quick@centos6 passed
Test ppcbe passed
Test ppcle passed
Test s390x passed
hw/virtio/vhost-backend.c         | 15 +++++++-
hw/virtio/vhost-user.c            | 77 ++++++++++++++++++++++++++-------------
hw/virtio/vhost.c                 | 30 ++++++++-------
include/hw/virtio/vhost-backend.h |  6 ++-
4 files changed, 86 insertions(+), 42 deletions(-)
[Qemu-devel] [PATCH v8 0/2] vhost: used_memslots limit check fixes and refactoring
Posted by Jay Zhou 6 years, 2 months ago
v8:
 - rebased on the master
v7:
 - rebased on the master
v2 ... v6:
 - delete the "used_memslots" global variable, and add it
   for vhost-user and vhost-kernel separately
 - refine the function, commit log
 - used_memslots refactoring

Jay Zhou (2):
  vhost: fix memslot limit check
  vhost: used_memslots refactoring

 hw/virtio/vhost-backend.c         | 15 +++++++-
 hw/virtio/vhost-user.c            | 77 ++++++++++++++++++++++++++-------------
 hw/virtio/vhost.c                 | 30 ++++++++-------
 include/hw/virtio/vhost-backend.h |  6 ++-
 4 files changed, 86 insertions(+), 42 deletions(-)

--
1.8.3.1