On Fri, Dec 15, 2017 at 04:45:53PM +0800, Jay Zhou wrote: > v1 -> v2: > * delete the "used_memslots" global variable, and add it > for vhost-user and vhost-kernel separately
imammedo, any feedback on this? > Jay Zhou (2): > vhost: add used memslot number for vhost-user and vhost-kernel > separately > vhost: double check used memslots number > > hw/virtio/vhost-backend.c | 14 ++++++++++++++ > hw/virtio/vhost-user.c | 31 +++++++++++++++++++++++++++++++ > hw/virtio/vhost.c | 39 > ++++++++++++++++++++++++++++++--------- > include/hw/virtio/vhost-backend.h | 4 ++++ > 4 files changed, 79 insertions(+), 9 deletions(-) > > -- > 1.8.3.1 >