Re: [PATCH] vsock: only load vmci transport on VMware hypervisor by default
From: Stefan Hajnoczi
Date: Thu Aug 31 2017 - 07:55:40 EST
On Tue, Aug 29, 2017 at 03:37:07PM +0000, Jorgen S. Hansen wrote:
> > On Aug 29, 2017, at 4:36 AM, Dexuan Cui <decui@xxxxxxxxxxxxx> wrote:
> If we allow multiple host side transports, virtio host side support and
> vmci should be able to coexist regardless of the order of initialization.
That sounds good to me.
This means af_vsock.c needs to be aware of CID allocation. Currently the
vhost_vsock.ko driver handles this itself (it keeps a list of CIDs and
checks that they are not used twice). It should be possible to move
that state into af_vsock.c so we have <cid, host_transport> pairs.
I'm currently working on NFS over AF_VSOCK and sock_diag support (for
ss(8) and netstat-like tools).
Multi-transport support is lower priority for me at the moment. I'm
happy to review patches though. If there is no progress on this by the
end of the year then I will have time to work on it.
Are either of you are in Prague, Czech Republic on October 25-27 for
Linux Kernel Summit, Open Source Summit Europe, Embedded Linux
Conference Europe, KVM Forum, or MesosCon Europe?
Stefan