On 11/10/2016 07:36 PM, Marc-André Lureau wrote:
Hi
On Thu, Nov 10, 2016 at 6:47 AM Wei Wang <wei.w.w...@intel.com
<mailto:wei.w.w...@intel.com>> wrote:
This is the slave part of vhost-user implemented in QEMU, with an
extension
to support vhost-pci.
Instead of implementing "another vhost-user slave", it would be worth
investigating using libvhost-user instead
(https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg03990.html).
This is just a suggestion, it is quite fine for vhost-pci to have its
own smaller/specific vhost-user slave implementation (without virtio
rings handlings etc). (libvhost-user is also very young, not yet in
qemu, we should be able shape it for vhost-pci needs)
Thanks for the suggestion. It looks possible. I will need to investigate
more about it.
libvhost-user is still at an initial stage and not in QEMU yet, I think
we can probably have vhost-pci as an independent slave for now - this
will not complicate libvhost-user when it's in the initial stage (it
might not be good to make it a quite complex design at the beginning),
and on the other side, the vhost-pci based slave implementation draft is
already there. We can merge them if it is necessary when they both are
stable in QEMU. What do you think?
Best,
Wei