[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL 05/47] contrib: add libvhost-user
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] [PULL 05/47] contrib: add libvhost-user |
Date: |
Thu, 10 Nov 2016 17:05:03 +0000 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Thu, Nov 10, 2016 at 06:12:03PM +0200, Michael S. Tsirkin wrote:
> From: Marc-André Lureau <address@hidden>
>
> Add a library to help implementing vhost-user backend (or slave).
>
> Dealing with vhost-user as an application developer isn't so easy: you
> have all the trouble with any protocol: validation, unix ancillary data,
> shared memory, eventfd, logging, and on top of that you need to deal
> with virtio queues, if possible efficiently.
>
> qemu test has a nice vhost-user testing application vhost-user-bridge,
> which implements most of vhost-user, and virtio.c which implements
> virtqueues manipulation. Based on these two, I tried to make a simple
> library, reusable for tests or development of new vhost-user scenarios.
By "new vhost-user scenarios" does this mean facilitating creation of
vhost user clients by out of tree 3rd parties ?
Unless I'm missing something, the change doesn't actually build any
.so of this code, so only thing that can use it right now is other
QEMU code.
If we want 3rd parties to use this, then it seems to me that LGPLv2+ or
even a BSD like license would be more applicable than GPLv2+. Also we
would need to state what API/ABI stability guarantees we're going to
provide and create a versioned ELF .so.
In general this patch looks like it is something to propose in 2.9,
rather than pushing feature work in post-freeze.
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://entangle-photo.org -o- http://search.cpan.org/~danberr/ :|
- [Qemu-devel] [PULL 00/47] virtio, vhost, pc, pci: tests, documentation, fixes and cleanups, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 05/47] contrib: add libvhost-user, Michael S. Tsirkin, 2016/11/10
- Re: [Qemu-devel] [PULL 05/47] contrib: add libvhost-user,
Daniel P. Berrange <=
- [Qemu-devel] [PULL 01/47] tests/vhost-user-bridge: remove false comment, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 02/47] tests/vhost-user-bridge: remove unnecessary dispatcher_remove, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 04/47] tests/vhost-user-bridge: do not accept more than one connection, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 03/47] tests/vhost-user-bridge: indicate peer disconnected, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 06/47] tests/vhost-user-bridge: use contrib/libvhost-user, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 07/47] intel_iommu: fixing source id during IOTLB hash key calculation, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 09/47] virtio: make virtqueue_alloc_element static, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 08/47] virtio: rename virtqueue_discard to virtqueue_unpop, Michael S. Tsirkin, 2016/11/10
- [Qemu-devel] [PULL 10/47] pcie_aer: Convert pcie_aer_init to Error, Michael S. Tsirkin, 2016/11/10