This patch enables vhost MQ to support in kvmtool without any Linux kernel modification. The patch takes the same approach as QEMU -- for each queue pair a new /dev/vhost-net fd is created. Fds are kept in ndev->vhost_fds, with ndev->vhost_fd == ndev->vhost_fds[0] (to avoid further modification to the existent source code). Thanks, Antonio Barbalace The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
Attachment:
kvmtool-vhost_mq.patch
Description: kvmtool-vhost_mq.patch