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