vhost: ensure event idx is mapped when negotiated
authorTiwei Bie <tiwei.bie@intel.com>
Fri, 4 Jan 2019 04:06:42 +0000 (12:06 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 Jan 2019 16:44:29 +0000 (17:44 +0100)
commit61ec8f58b040b2822cb5c33bb79e9e17b83fd45f
treea728202c22082cf6d3474580802cdae73ca763b9
parent450539b47ec89bcb49973a24b4c85c5f0bc8f37b
vhost: ensure event idx is mapped when negotiated

Fixes: 30920b1e2b15 ("vhost: ensure all range is mapped when translating QVAs")
Cc: stable@dpdk.org
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/vhost_user.c