On 08/18/2016 10:48 AM, Yuanhan Liu wrote: > Due to history reason (that we have 2 vhost implementations), some > messages are handled in two calls: vhost specific implementation > handles it first and then invoke the common one to do another handling. > > We have one implementation only now, we could write one method for > each message. Here fold those common handles to corresponding vhost > user handler. > > Signed-off-by: Yuanhan Liu <yuanhan.liu at linux.intel.com> > --- > lib/librte_vhost/vhost_user.c | 115 > ++++++++++++------------------------------ > 1 file changed, 31 insertions(+), 84 deletions(-) >
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com> Thanks, Maxime