[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 0/4] vhost: two fixes and used_memslots refac
From: |
Zhoujian (jay) |
Subject: |
Re: [Qemu-devel] [PATCH v5 0/4] vhost: two fixes and used_memslots refactoring |
Date: |
Thu, 11 Jan 2018 13:55:38 +0000 |
Hi Igor,
> -----Original Message-----
> From: Igor Mammedov [mailto:address@hidden
> Sent: Thursday, January 11, 2018 9:05 PM
> To: Zhoujian (jay) <address@hidden>
> Cc: address@hidden; address@hidden; Huangweidong (C)
> <address@hidden>; wangxin (U) <address@hidden>; Gonglei
> (Arei) <address@hidden>; Liuzhe (Ahriy, Euler) <address@hidden>
> Subject: Re: [PATCH v5 0/4] vhost: two fixes and used_memslots refactoring
>
> On Wed, 10 Jan 2018 00:39:02 +0800
> Jay Zhou <address@hidden> wrote:
>
> Jay,
> considering how non trivial touched code is, would you mind first adding
> 'make check' testcases for success/failure paths that you are touching?
> It would help with merging and ensure that future changes to vhost won't
> break memslots handling.
Will look into the testcases. Maybe it would take some time since I'm not
very familiar with them.
Regards,
Jay
>
> > v4 -> v5:
> > Making the followed up device_add to fall back to userspace
> > virtio when netdev_add fails if vhost force flag does not set.
> >
> > Jay Zhou (4):
> > vhost: remove assertion to prevent crash
> > tap: do not close fd if only vhost failed to initialize
> > vhost: fix memslot limit check
> > vhost: used_memslots refactoring
> >
> > hw/virtio/vhost-backend.c | 15 +++++++-
> > hw/virtio/vhost-user.c | 74 +++++++++++++++++++++++++++--------
> ----
> > hw/virtio/vhost.c | 30 +++++++++-------
> > include/hw/virtio/vhost-backend.h | 6 ++--
> > net/tap.c | 25 +++++++++----
> > 5 files changed, 104 insertions(+), 46 deletions(-)
> >
> > --
> > 1.8.3.1
> >
> >