On 12/22/2015 3:27 PM, Yuanhan Liu wrote: > We could first check if we need realloc vq or not, if so, > reallocate it. We then do similar to vhost dev realloc. > > This could get rid of the tons of repeated "if (realloc_dev)" > and "if (realloc_vq)" statements, therefore, makes code > a bit more readable. > > Signed-off-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>
Acked-by: Huawei Xie <huawei.xie at intel.com> [...]