]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit91de4b799ea2cd0162a31637d3c2ad07b9af2f14
tree869acbbc9e9cf4ae92e7153b387dfccd0a76659e
parent07c732e82c5135ab30e4b0249a363a39fc9de8e5
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