qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH 2/4] vhost-user: add the vhost-user extensio


From: Wei Wang
Subject: Re: [Qemu-devel] [RFC PATCH 2/4] vhost-user: add the vhost-user extension to support the vhost-pci based inter-vm communication
Date: Fri, 11 Nov 2016 16:28:21 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131028 Thunderbird/17.0.10

On 11/10/2016 07:36 PM, Marc-André Lureau wrote:
Hi

On Thu, Nov 10, 2016 at 6:47 AM Wei Wang <address@hidden <mailto:address@hidden>> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]