This patch removes unnecessary if (hw->virtio_user_dev) conditions. It also makes vq_ring_mem explicitly a physical address. There's already a separate vq_ring_virt_mem field that's used for vhost-user. Change-Id: Ie8d97458744b4e3ae9d0e3d72b28d29f19179706 Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/376965 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> |
||
---|---|---|
.. | ||
virtio_user | ||
virtio_dev.c | ||
virtio_dev.h | ||
virtio_logs.h | ||
virtio_pci.c | ||
virtio_pci.h | ||
virtio_queue.c | ||
virtio_queue.h | ||
virtio_user.c |