This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Cathy Avery
Recipients Cathy Avery, gregory.p.smith
Date 2016-07-21.15:36:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469115390.74.0.838831983223.issue27584@psf.upfronthosting.co.za>
In-reply-to
Content
I have added AF_VSOCK support to python's 3.6 socket module ( socketmodule.c socketmodule.h cloned from https://hg.python.org/cpython ). The implementation is very similar to AF_NETLINK.  AF_VSOCK requires the VMware-specific VMCI transport which is currently upstream or the virtio-vsock drivers developed by Stefan Hajnoczi at Red Hat. The virtio-vsock drivers are not upstream yet but more information with source and build instructions can be found at http://qemu-project.org/Features/VirtioVsock.

More information on vSocket programming can be found at https://pubs.vmware.com/vsphere-60/topic/com.vmware.ICbase/PDF/ws9_esx60_vmci_sockets.pdf

The VMCI transport supports SOCK_DGRAM and SOCK_STREAM on both Linux and Windows. Virtio-vsock currently supports SOCK_STREAM only on Linux.

My python addition supports SOCK_STREAM and SOCK_DGRAM calls on Linux only.

I have tested my implementation on both driver sets on Linux.

Attached is a diff file so you can see which files I've modified. These include a new configure.ac. I have already tested the new file generation by running autoreconf. 

Also included in the patch is an updated socket.rst file however I could not get the final html page to be double spaced.
History
Date User Action Args
2016-07-21 15:36:31Cathy Averysetrecipients: + Cathy Avery, gregory.p.smith
2016-07-21 15:36:30Cathy Averysetmessageid: <1469115390.74.0.838831983223.issue27584@psf.upfronthosting.co.za>
2016-07-21 15:36:30Cathy Averylinkissue27584 messages
2016-07-21 15:36:30Cathy Averycreate