vhost: use rte_malloc to allocate device and queues
authorHuawei Xie <huawei.xie@intel.com>
Thu, 25 Jun 2015 05:47:36 +0000 (13:47 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 29 Jun 2015 16:57:33 +0000 (18:57 +0200)
commit4113e38100fc2763244cea4588f5097fdda709ea
treeca3a45ddcd8f11016926c8f8614b650cbd4a4384
parent1d91efb9cbd847e6c00f042b7b61907284e9be34
vhost: use rte_malloc to allocate device and queues

use rte_malloc to allocate vhost device and queues

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
lib/librte_vhost/virtio-net.c