Re: [PATCH 1/1] VSOCK: Introduce VM Sockets

From: Neil Horman
Date: Fri Jan 25 2013 - 19:00:00 EST


On Fri, Jan 25, 2013 at 09:37:50AM -0800, acking@xxxxxxxxxx wrote:
> From: Andy King <acking@xxxxxxxxxx>
>
> VM Sockets allows communication between virtual machines and the hypervisor.
> User level applications both in a virtual machine and on the host can use the
> VM Sockets API, which facilitates fast and efficient communication between
> guest virtual machines and their host. A socket address family, designed to be
> compatible with UDP and TCP at the interface level, is provided.
>
> Today, VM Sockets is used by various VMware Tools components inside the guest
> for zero-config, network-less access to VMware host services. In addition to
> this, VMware's users are using VM Sockets for various applications, where
> network access of the virtual machine is restricted or non-existent. Examples
> of this are VMs communicating with device proxies for proprietary hardware
> running as host applications and automated testing of applications running
> within virtual machines.
>
> The VMware VM Sockets are similar to other socket types, like Berkeley UNIX
> socket interface. The VM Sockets module supports both connection-oriented
> stream sockets like TCP, and connectionless datagram sockets like UDP. The VM
> Sockets protocol family is defined as "AF_VSOCK" and the socket operations
> split for SOCK_DGRAM and SOCK_STREAM.
>
> For additional information about the use of VM Sockets, please refer to the VM
> Sockets Programming Guide available at:
>
> https://www.vmware.com/support/developer/vmci-sdk/
>
> Signed-off-by: George Zhang <georgezhang@xxxxxxxxxx>
> Signed-off-by: Dmitry Torokhov <dtor@xxxxxxxxxx>
> Signed-off-by: Andy king <acking@xxxxxxxxxx>
> index 0000000..95e2568
> --- /dev/null
> +++ b/net/vmw_vsock/Kconfig
> @@ -0,0 +1,14 @@
> +#
> +# Vsock protocol
> +#
> +
> +config VMWARE_VSOCK
> + tristate "Virtual Socket protocol"
> + depends on VMWARE_VMCI
What is CONFIG_VMWARE_VMCI? I don't find that in any Kconfig in the tree?

I''m still looking over the rest, but I get build issues if I just remove the
dependency.

Neil

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/