VSOCK: Support VM sockets connected to the hypervisor.
authorReilly Grant <grantr@vmware.com>
Thu, 14 Mar 2013 11:55:41 +0000 (11:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Mar 2013 12:26:26 +0000 (08:26 -0400)
commit2a89f9247ae43a2cf36fbc07b21b5792fc7b9efe
tree869acbbc9e9cf4ae92e7153b387dfccd0a76659e
parent8a7fbfab4be39b8690543f3d29b26860d2f6c576
VSOCK: Support VM sockets connected to the hypervisor.

The resource ID used for VM socket control packets (0) is already
used for the VMCI_GET_CONTEXT_ID hypercall so a new ID (15) must be
used when the guest sends these datagrams to the hypervisor.

The hypervisor context ID must also be removed from the internal
blacklist.

Signed-off-by: Reilly Grant <grantr@vmware.com>
Acked-by: Andy King <acking@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/vmw_vsock/vmci_transport.c
net/vmw_vsock/vmci_transport.h