On Mon, Oct 16, 2017 at 04:56:27PM +0200, Maxime Coquelin wrote: > Commit 3ea7052f4b1b ("vhost: postpone rings addresses translation") > moves rings addresses translation at either vring kick or enable > time, depending on whether protocol features are enabled or not. > This is done not interpret ring information as long as the vring > is not fully initialized. > > The problem is that with old QEMU versions, like v2.5, the ring > is enabled before addresses are sent, so addresses are never > translated. > > This patch fixes the issue by doing the translation in > VHOST_USER_SET_VRING_ADDR handling if ring is already enabled. > > Fixes: 3ea7052f4b1b ("vhost: postpone rings addresses translation") > > Reported-by: Lei Yao <lei.a....@intel.com> > Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com> > --- > v2: Fixed commit informations (Fixes:, Reported-by:)
Applied to dpdk-next-virtio. Thanks. --yliu