[PATCH 6/6] VSOCK: header and config files.

2013-01-08 Thread George Zhang
VSOCK header files, Makefiles and Kconfig systems for Linux VSocket module. Signed-off-by: George Zhang Acked-by: Andy king Acked-by: Dmitry Torokhov --- Documentation/ioctl/ioctl-number.txt |1 include/linux/socket.h |4 net/Kconfig |1

[PATCH 5/6] VSOCK: utility functions.

2013-01-08 Thread George Zhang
VSOCK utility functions for Linux VSocket module. Signed-off-by: George Zhang Acked-by: Andy king Acked-by: Dmitry Torokhov --- net/vmw_vsock/util.c | 345 ++ net/vmw_vsock/util.h | 187 +++ 2 files changed, 532

[PATCH 4/6] VSOCK: statistics implementation.

2013-01-08 Thread George Zhang
VSOCK stats for VMCI Stream Sockets protocol. Signed-off-by: George Zhang Acked-by: Andy king Acked-by: Dmitry Torokhov --- net/vmw_vsock/stats.c | 30 ++ net/vmw_vsock/stats.h | 150 + 2 files changed, 180 insertions(+), 0 deletions

[PATCH 3/6] VSOCK: notification implementation.

2013-01-08 Thread George Zhang
VSOCK control notifications for VMCI Stream Sockets protocol. Signed-off-by: George Zhang Acked-by: Andy king Acked-by: Dmitry Torokhov --- net/vmw_vsock/notify.c | 675 net/vmw_vsock/notify.h | 124 + 2 files changed, 799 insertions

[PATCH 2/6] VSOCK: vsock address implementaion.

2013-01-08 Thread George Zhang
VSOCK linux address code implementation. Signed-off-by: George Zhang Acked-by: Andy king Acked-by: Dmitry Torokhov --- net/vmw_vsock/vsock_addr.c | 116 net/vmw_vsock/vsock_addr.h | 34 + 2 files changed, 150 insertions(+), 0

[PATCH 0/6] VSOCK for Linux upstreaming

2013-01-08 Thread George Zhang
STREAM. For additional information about the use of VMCI and in particular VMCI Sockets, please refer to the VMCI Socket Programming Guide available at https://www.vmware.com/support/developer/vmci-sdk/. --- George Zhang (6): VSOCK: vsock protocol implementation. VSOCK: vsock add

[PATCH 12/12] VMCI: Some header and config files.

2013-01-08 Thread George Zhang
VMCI head config patch Adds all the necessary files to enable building of the VMCI module with the Linux Makefiles and Kconfig systems. Also adds the header files used for building modules against the driver. Signed-off-by: George Zhang Acked-by: Andy king Acked-by: Dmitry Torokhov

[PATCH 11/12] VMCI: host side driver implementation.

2013-01-08 Thread George Zhang
VMCI host side driver code implementation. Signed-off-by: George Zhang Acked-by: Andy king Acked-by: Dmitry Torokhov --- drivers/misc/vmw_vmci/vmci_host.c | 1042 + 1 files changed, 1042 insertions(+), 0 deletions(-) create mode 100644 drivers/misc

[PATCH 10/12] VMCI: guest side driver implementation.

2013-01-08 Thread George Zhang
VMCI guest side driver code implementation. Signed-off-by: George Zhang Acked-by: Andy king Acked-by: Dmitry Torokhov --- drivers/misc/vmw_vmci/vmci_guest.c | 759 1 files changed, 759 insertions(+), 0 deletions(-) create mode 100644 drivers/misc

[PATCH 09/12] VMCI: routing implementation.

2013-01-08 Thread George Zhang
VMCI routing code is responsible for routing between various hosts/guests as well as routing in nested scenarios. Signed-off-by: George Zhang Acked-by: Andy king Acked-by: Dmitry Torokhov --- drivers/misc/vmw_vmci/vmci_route.c | 226 drivers/misc

[PATCH 08/12] VMCI: resource object implementation.

2013-01-08 Thread George Zhang
VMCI resource tracks all used resources within the vmci code. Signed-off-by: George Zhang Acked-by: Andy king Acked-by: Dmitry Torokhov --- drivers/misc/vmw_vmci/vmci_resource.c | 229 + drivers/misc/vmw_vmci/vmci_resource.h | 59 + 2 files changed

[PATCH 06/12] VMCI: handle array implementation.

2013-01-08 Thread George Zhang
VMCI handle code adds support for dynamic arrays that will grow if they need to. Signed-off-by: George Zhang Acked-by: Andy king Acked-by: Dmitry Torokhov --- drivers/misc/vmw_vmci/vmci_handle_array.c | 142 + drivers/misc/vmw_vmci/vmci_handle_array.h | 52

[PATCH 05/12] VMCI: event handling implementation.

2013-01-08 Thread George Zhang
VMCI event code that manages event handlers and handles callbacks when specific events fire. Signed-off-by: George Zhang Acked-by: Andy king Acked-by: Dmitry Torokhov --- drivers/misc/vmw_vmci/vmci_event.c | 224 drivers/misc/vmw_vmci/vmci_event.h | 25

[PATCH 04/12] VMCI: device driver implementaton.

2013-01-08 Thread George Zhang
VMCI driver code implementes both the host and guest personalities of the VMCI driver. Signed-off-by: George Zhang Acked-by: Andy king Acked-by: Dmitry Torokhov --- drivers/misc/vmw_vmci/vmci_driver.c | 117 +++ drivers/misc/vmw_vmci/vmci_driver.h | 50

[PATCH 03/12] VMCI: doorbell implementation.

2013-01-08 Thread George Zhang
VMCI doorbell code allows for notifcations between host and guest. Signed-off-by: George Zhang Acked-by: Andy king Acked-by: Dmitry Torokhov --- drivers/misc/vmw_vmci/vmci_doorbell.c | 604 + drivers/misc/vmw_vmci/vmci_doorbell.h | 51 +++ 2 files changed

[PATCH 02/12] VMCI: datagram implementation.

2013-01-08 Thread George Zhang
VMCI datagram Implements datagrams to allow data to be sent between host and guest. Signed-off-by: George Zhang Acked-by: Andy king Acked-by: Dmitry Torokhov --- drivers/misc/vmw_vmci/vmci_datagram.c | 500 + drivers/misc/vmw_vmci/vmci_datagram.h | 52

[PATCH 01/12] VMCI: context implementation.

2013-01-08 Thread George Zhang
VMCI Context code maintains state for vmci and allows the driver to communicate with multiple VMs. Signed-off-by: George Zhang Acked-by: Andy king Acked-by: Dmitry Torokhov --- drivers/misc/vmw_vmci/vmci_context.c | 1214 ++ drivers/misc/vmw_vmci/vmci_context.h

[PATCH 00/12] VMCI for Linux upstreaming

2013-01-08 Thread George Zhang
cular VMCI Sockets, please refer to the VMCI Socket Programming Guide available at https://www.vmware.com/support/developer/vmci-sdk/. --- George Zhang (12): VMCI: context implementation. VMCI: datagram implementation. VMCI: doorbell implementation. VMCI doorbell code allows f

Re: [Pv-drivers] [PATCH 00/12] VMCI for Linux upstreaming

2012-11-26 Thread George Zhang
Greg > > And why isn't George responding to my comments when I ask questions? > I think Andy or Dmitry replied faster... We will improve our process from your comments, Thanks a lot, George ___ Virtualization mailing list Virtualization@lists.linux-fo

[PATCH 6/6] VSOCK: header and config files.

2012-11-21 Thread George Zhang
VSOCK header files, Makefiles and Kconfig systems for Linux VSocket module. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- include/linux/socket.h |4 net/Kconfig |1 net/Makefile

[PATCH 5/6] VSOCK: utility functions.

2012-11-21 Thread George Zhang
VSOCK utility functions for Linux VSocket module. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- net/vmw_vsock/util.c | 620 ++ net/vmw_vsock/util.h | 314 + 2 files changed

[PATCH 4/6] VSOCK: statistics implementation.

2012-11-21 Thread George Zhang
VSOCK stats for VMCI Stream Sockets protocol. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- net/vmw_vsock/stats.c | 37 net/vmw_vsock/stats.h | 217 + 2 files changed, 254 insertions(+), 0

[PATCH 3/6] VSOCK: notification implementation.

2012-11-21 Thread George Zhang
VSOCK control notifications for VMCI Stream Sockets protocol. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- net/vmw_vsock/notify.c | 983 net/vmw_vsock/notify.h | 130 ++ 2 files changed, 1113

[PATCH 2/6] VSOCK: vsock address implementaion.

2012-11-21 Thread George Zhang
VSOCK linux address code implementation. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- net/vmw_vsock/vsock_addr.c | 246 net/vmw_vsock/vsock_addr.h | 40 +++ 2 files changed, 286 insertions(+), 0

[PATCH 0/6] VSOCK for Linux upstreaming

2012-11-21 Thread George Zhang
;AF_VSOCK" and the socket operations split for SOCK_DGRAM and SOCK_STREAM. For additional information about the use of VMCI and in particular VMCI Sockets, please refer to the VMCI Socket Programming Guide available at https://www.vmware.com/support/developer/vmci-sdk/. --- George Zhang (6

[PATCH 12/12] VMCI: Some header and config files.

2012-11-21 Thread George Zhang
VMCI head config patch Adds all the necessary files to enable building of the VMCI module with the Linux Makefiles and Kconfig systems. Also adds the header files used for building modules against the driver. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King

[PATCH 11/12] VMCI: host side driver implementation.

2012-11-21 Thread George Zhang
VMCI host side driver code implementation. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_host.c | 1036 + 1 files changed, 1036 insertions(+), 0 deletions(-) create mode 100644 drivers

[PATCH 10/12] VMCI: guest side driver implementation.

2012-11-21 Thread George Zhang
VMCI guest side driver code implementation. Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_guest.c | 757 1 files changed, 757 insertions(+), 0 deletions(-) create mode 100644 drivers

[PATCH 09/12] VMCI: routing implementation.

2012-11-21 Thread George Zhang
VMCI routing code is responsible for routing between various hosts/guests as well as routing in nested scenarios. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_route.c | 227 drivers

[PATCH 08/12] VMCI: resource object implementation.

2012-11-21 Thread George Zhang
VMCI resource tracks all used resources within the vmci code. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_resource.c | 232 + drivers/misc/vmw_vmci/vmci_resource.h | 59 2 files

[PATCH 06/12] VMCI: handle array implementation.

2012-11-21 Thread George Zhang
VMCI handle code adds support for dynamic arrays that will grow if they need to. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_handle_array.c | 142 + drivers/misc/vmw_vmci/vmci_handle_array.h

[PATCH 05/12] VMCI: event handling implementation.

2012-11-21 Thread George Zhang
VMCI event code that manages event handlers and handles callbacks when specific events fire. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_event.c | 224 drivers/misc/vmw_vmci

[PATCH 04/12] VMCI: device driver implementaton.

2012-11-21 Thread George Zhang
VMCI driver code implementes both the host and guest personalities of the VMCI driver. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_driver.c | 117 +++ drivers/misc/vmw_vmci/vmci_driver.h

[PATCH 03/12] VMCI: doorbell implementation.

2012-11-21 Thread George Zhang
VMCI doorbell code allows for notifcations between host and guest. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_doorbell.c | 605 + drivers/misc/vmw_vmci/vmci_doorbell.h | 51 +++ 2 files

[PATCH 02/12] VMCI: datagram implementation.

2012-11-21 Thread George Zhang
VMCI datagram Implements datagrams to allow data to be sent between host and guest. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_datagram.c | 501 + drivers/misc/vmw_vmci/vmci_datagram.h

[PATCH 01/12] VMCI: context implementation.

2012-11-21 Thread George Zhang
VMCI Context code maintains state for vmci and allows the driver to communicate with multiple VMs. Signed-off-by: George Zhang Signed-off-by: Dmitry Torokhov Signed-off-by: Andy King --- drivers/misc/vmw_vmci/vmci_context.c | 1223 ++ drivers/misc/vmw_vmci

[PATCH 00/12] VMCI for Linux upstreaming

2012-11-21 Thread George Zhang
e available at https://www.vmware.com/support/developer/vmci-sdk/. --- George Zhang (12): VMCI: context implementation. VMCI: datagram implementation. VMCI: doorbell implementation. VMCI: device driver implementaton. VMCI: event handling implementation. VMCI: handle

[PATCH 6/6] VSOCK: header and config files.

2012-11-07 Thread George Zhang
VSOCK header files, Makefiles and Kconfig systems for Linux VSocket module. Signed-off-by: George Zhang --- include/linux/socket.h |4 net/Kconfig |1 net/Makefile|1 net/vmw_vsock/Kconfig | 14 + net

[PATCH 5/6] VSOCK: utility functions.

2012-11-07 Thread George Zhang
VSOCK utility functions for Linux VSocket module. Signed-off-by: George Zhang --- net/vmw_vsock/util.c | 626 ++ net/vmw_vsock/util.h | 312 + 2 files changed, 938 insertions(+), 0 deletions(-) create mode 100644 net

[PATCH 4/6] VSOCK: statistics implementation.

2012-11-07 Thread George Zhang
VSOCK stats for VMCI Stream Sockets protocol. Signed-off-by: George Zhang --- net/vmw_vsock/stats.c | 37 net/vmw_vsock/stats.h | 219 + 2 files changed, 256 insertions(+), 0 deletions(-) create mode 100644 net/vmw_vsock/stats.c

[PATCH 3/6] VSOCK: notification implementation.

2012-11-07 Thread George Zhang
VSOCK control notifications for VMCI Stream Sockets protocol. Signed-off-by: George Zhang --- net/vmw_vsock/notify.c | 984 net/vmw_vsock/notify.h | 130 ++ 2 files changed, 1114 insertions(+), 0 deletions(-) create mode 100644 net

[PATCH 2/6] VSOCK: vsock address implementaion.

2012-11-07 Thread George Zhang
VSOCK linux address code implementation. Signed-off-by: George Zhang --- net/vmw_vsock/vsock_addr.c | 264 net/vmw_vsock/vsock_addr.h | 40 +++ 2 files changed, 304 insertions(+), 0 deletions(-) create mode 100644 net/vmw_vsock/vsock_addr.c

[PATCH 0/6] VSOCK for Linux upstreaming

2012-11-07 Thread George Zhang
nal information about the use of VMCI and in particular VMCI Sockets, please refer to the VMCI Socket Programming Guide available at https://www.vmware.com/support/developer/vmci-sdk/. --- George Zhang (6): VSOCK: vsock protocol implementation. VSOCK: vsock address implementai

[PATCH 12/12] VMCI: Some header and config files.

2012-11-07 Thread George Zhang
VMCI head config patch Adds all the necessary files to enable building of the VMCI module with the Linux Makefiles and Kconfig systems. Also adds the header files used for building modules against the driver. Signed-off-by: George Zhang --- drivers/misc/Kconfig|1

[PATCH 11/12] VMCI: host side driver implementation.

2012-11-07 Thread George Zhang
VMCI host side driver code implementation. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_host.c | 1033 + 1 files changed, 1033 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_host.c diff --git a/drivers/misc

[PATCH 10/12] VMCI: guest side driver implementation.

2012-11-07 Thread George Zhang
VMCI guest side driver code implementation. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_guest.c | 762 1 files changed, 762 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_guest.c diff --git a/drivers/misc

[PATCH 09/12] VMCI: routing implementation.

2012-11-07 Thread George Zhang
VMCI routing code is responsible for routing between various hosts/guests as well as routing in nested scenarios. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_route.c | 229 drivers/misc/vmw_vmci/vmci_route.h | 30 + 2 files changed

[PATCH 08/12] VMCI: resource object implementation.

2012-11-07 Thread George Zhang
VMCI resource tracks all used resources within the vmci code. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_resource.c | 232 + drivers/misc/vmw_vmci/vmci_resource.h | 59 2 files changed, 291 insertions(+), 0 deletions(-) create mode

[PATCH 06/12] VMCI: handle array implementation.

2012-11-07 Thread George Zhang
VMCI handle code adds support for dynamic arrays that will grow if they need to. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_handle_array.c | 142 + drivers/misc/vmw_vmci/vmci_handle_array.h | 52 +++ 2 files changed, 194 insertions(+), 0

[PATCH 05/12] VMCI: event handling implementation.

2012-11-07 Thread George Zhang
VMCI event code that manages event handlers and handles callbacks when specific events fire. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_event.c | 229 drivers/misc/vmw_vmci/vmci_event.h | 25 2 files changed, 254 insertions(+), 0

[PATCH 04/12] VMCI: device driver implementaton.

2012-11-07 Thread George Zhang
VMCI driver code implementes both the host and guest personalities of the VMCI driver. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_driver.c | 116 +++ drivers/misc/vmw_vmci/vmci_driver.h | 50 +++ 2 files changed, 166 insertions

[PATCH 03/12] VMCI: doorbell implementation.

2012-11-07 Thread George Zhang
VMCI doorbell code allows for notifcations between host and guest. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_doorbell.c | 605 + drivers/misc/vmw_vmci/vmci_doorbell.h | 51 +++ 2 files changed, 656 insertions(+), 0 deletions(-) create mode

[PATCH 02/12] VMCI: datagram implementation.

2012-11-07 Thread George Zhang
VMCI datagram Implements datagrams to allow data to be sent between host and guest. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_datagram.c | 506 + drivers/misc/vmw_vmci/vmci_datagram.h | 52 +++ 2 files changed, 558 insertions(+), 0 deletions

[PATCH 01/12] VMCI: context implementation.

2012-11-07 Thread George Zhang
VMCI Context code maintains state for vmci and allows the driver to communicate with multiple VMs. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_context.c | 1246 ++ drivers/misc/vmw_vmci/vmci_context.h | 183 + 2 files changed, 1429

[PATCH 00/12] VMCI for Linux upstreaming

2012-11-07 Thread George Zhang
rtual machine support are combined in a single kernel module. For additional information about the use of VMCI and in particular VMCI Sockets, please refer to the VMCI Socket Programming Guide available at https://www.vmware.com/support/developer/vmci-sdk/. --- George Zhang (12): VMCI: co

Re: [PATCH 0/6] VSOCK for Linux upstreaming

2012-11-05 Thread George Zhang
asha Levin" To: "George Zhang" Cc: net...@vger.kernel.org, linux-ker...@vger.kernel.org, virtualization@lists.linux-foundation.org, pv-driv...@vmware.com, vm-crosst...@vmware.com, da...@davemloft.net, gre...@linuxfoundation.org Sent: Monday, November 5, 2012 10:23:02 AM Subject: R

Re: [PATCH 0/6] VSOCK for Linux upstreaming

2012-11-05 Thread George Zhang
David, We will fix this bounces and remove the email: crosst...@vmware.com. Thanks, george zhang - Original Message - From: "David Miller" To: georgezh...@vmware.com Cc: net...@vger.kernel.org, linux-ker...@vger.kernel.org, virtualization@lists.linux-foundation.or

[PATCH 6/6] VSOCK: header and config files.

2012-11-05 Thread George Zhang
VSOCK header files, Makefiles and Kconfig systems for Linux VSocket module. Signed-off-by: George Zhang --- include/linux/socket.h |4 net/Kconfig |1 net/Makefile|1 net/vmw_vsock/Kconfig | 14 + net

[PATCH 5/6] VSOCK: utility functions.

2012-11-05 Thread George Zhang
VSOCK utility functions for Linux VSocket module. Signed-off-by: George Zhang --- net/vmw_vsock/util.c | 626 ++ net/vmw_vsock/util.h | 312 + 2 files changed, 938 insertions(+), 0 deletions(-) create mode 100644 net

[PATCH 4/6] VSOCK: statistics implementation.

2012-11-05 Thread George Zhang
VSOCK stats for VMCI Stream Sockets protocol. Signed-off-by: George Zhang --- net/vmw_vsock/stats.c | 37 net/vmw_vsock/stats.h | 219 + 2 files changed, 256 insertions(+), 0 deletions(-) create mode 100644 net/vmw_vsock/stats.c

[PATCH 3/6] VSOCK: notification implementation.

2012-11-05 Thread George Zhang
VSOCK control notifications for VMCI Stream Sockets protocol. Signed-off-by: George Zhang --- net/vmw_vsock/notify.c | 984 net/vmw_vsock/notify.h | 130 ++ 2 files changed, 1114 insertions(+), 0 deletions(-) create mode 100644 net

[PATCH 2/6] VSOCK: vsock address implementaion.

2012-11-05 Thread George Zhang
VSOCK linux address code implementation. Signed-off-by: George Zhang --- net/vmw_vsock/vsock_addr.c | 264 net/vmw_vsock/vsock_addr.h | 40 +++ 2 files changed, 304 insertions(+), 0 deletions(-) create mode 100644 net/vmw_vsock/vsock_addr.c

[PATCH 0/6] VSOCK for Linux upstreaming

2012-11-05 Thread George Zhang
fer to the VMCI Socket Programming Guide available at https://www.vmware.com/support/developer/vmci-sdk/. --- George Zhang (6): VSOCK: vsock protocol implementation. VSOCK: vsock address implementaion. VSOCK: notification implementation. VSOCK: statistics implementati

[PATCH 12/12] VMCI: Some header and config files.

2012-11-01 Thread George Zhang
VMCI head config patch Adds all the necessary files to enable building of the VMCI module with the Linux Makefiles and Kconfig systems. Also adds the header files used for building modules against the driver. Signed-off-by: George Zhang --- drivers/misc/Kconfig|1

[PATCH 11/12] VMCI: host side driver implementation.

2012-11-01 Thread George Zhang
VMCI host side driver code implementation. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_host.c | 1036 + 1 files changed, 1036 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_host.c diff --git a/drivers/misc

[PATCH 10/12] VMCI: guest side driver implementation.

2012-11-01 Thread George Zhang
VMCI guest side driver code implementation. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_guest.c | 762 1 files changed, 762 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_guest.c diff --git a/drivers/misc

[PATCH 09/12] VMCI: routing implementation.

2012-11-01 Thread George Zhang
VMCI routing code is responsible for routing between various hosts/guests as well as routing in nested scenarios. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_route.c | 233 drivers/misc/vmw_vmci/vmci_route.h | 30 + 2 files changed

[PATCH 08/12] VMCI: resource object implementation.

2012-11-01 Thread George Zhang
VMCI resource tracks all used resources within the vmci code. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_resource.c | 232 + drivers/misc/vmw_vmci/vmci_resource.h | 59 2 files changed, 291 insertions(+), 0 deletions(-) create mode

[PATCH 06/12] VMCI: handle array implementation.

2012-11-01 Thread George Zhang
VMCI handle code adds support for dynamic arrays that will grow if they need to. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_handle_array.c | 142 + drivers/misc/vmw_vmci/vmci_handle_array.h | 52 +++ 2 files changed, 194 insertions(+), 0

[PATCH 05/12] VMCI: event handling implementation.

2012-11-01 Thread George Zhang
VMCI event code that manages event handlers and handles callbacks when specific events fire. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_event.c | 229 drivers/misc/vmw_vmci/vmci_event.h | 25 2 files changed, 254 insertions(+), 0

[PATCH 04/12] VMCI: device driver implementaton.

2012-11-01 Thread George Zhang
VMCI driver code implementes both the host and guest personalities of the VMCI driver. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_driver.c | 116 +++ drivers/misc/vmw_vmci/vmci_driver.h | 50 +++ 2 files changed, 166 insertions

[PATCH 03/12] VMCI: doorbell implementation.

2012-11-01 Thread George Zhang
VMCI doorbell code allows for notifcations between host and guest. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_doorbell.c | 645 + drivers/misc/vmw_vmci/vmci_doorbell.h | 53 +++ 2 files changed, 698 insertions(+), 0 deletions(-) create mode

[PATCH 02/12] VMCI: datagram implementation.

2012-11-01 Thread George Zhang
VMCI datagram Implements datagrams to allow data to be sent between host and guest. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_datagram.c | 506 + drivers/misc/vmw_vmci/vmci_datagram.h | 52 +++ 2 files changed, 558 insertions(+), 0 deletions

[PATCH 01/12] VMCI: context implementation.

2012-11-01 Thread George Zhang
VMCI Context code maintains state for vmci and allows the driver to communicate with multiple VMs. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_context.c | 1247 ++ drivers/misc/vmw_vmci/vmci_context.h | 183 + 2 files changed, 1430 insertions

[PATCH 00/12] VMCI for Linux upstreaming

2012-11-01 Thread George Zhang
in a single kernel module. For additional information about the use of VMCI and in particular VMCI Sockets, please refer to the VMCI Socket Programming Guide available at https://www.vmware.com/support/developer/vmci-sdk/. --- George Zhang (12): VMCI: context implementation. VMCI: dat

[PATCH 12/12] VMCI: Some header and config files.

2012-10-29 Thread George Zhang
VMCI head config patch Adds all the necessary files to enable building of the VMCI module with the Linux Makefiles and Kconfig systems. Also adds the header files used for building modules against the driver. Signed-off-by: George Zhang --- drivers/misc/Kconfig|1

[PATCH 11/12] VMCI: host side driver implementation.

2012-10-29 Thread George Zhang
VMCI host side driver code implementation. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_host.c | 1046 + 1 files changed, 1046 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_host.c diff --git a/drivers/misc

[PATCH 10/12] VMCI: guest side driver implementation.

2012-10-29 Thread George Zhang
VMCI guest side driver code implementation. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_guest.c | 765 1 files changed, 765 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_guest.c diff --git a/drivers/misc

[PATCH 09/12] VMCI: routing implementation.

2012-10-29 Thread George Zhang
VMCI routing code is responsible for routing between various hosts/guests as well as routing in nested scenarios. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_route.c | 237 drivers/misc/vmw_vmci/vmci_route.h | 30 + 2 files changed

[PATCH 08/12] VMCI: resource object implementation.

2012-10-29 Thread George Zhang
VMCI resource tracks all used resources within the vmci code. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_resource.c | 237 + drivers/misc/vmw_vmci/vmci_resource.h | 59 2 files changed, 296 insertions(+), 0 deletions(-) create mode

[PATCH 06/12] VMCI: handle array implementation.

2012-10-29 Thread George Zhang
VMCI handle code adds support for dynamic arrays that will grow if they need to. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_handle_array.c | 162 + drivers/misc/vmw_vmci/vmci_handle_array.h | 46 2 files changed, 208 insertions(+), 0

[PATCH 05/12] VMCI: event handling implementation.

2012-10-29 Thread George Zhang
VMCI event code that manages event handlers and handles callbacks when specific events fire. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_event.c | 371 drivers/misc/vmw_vmci/vmci_event.h | 25 ++ 2 files changed, 396 insertions(+), 0

[PATCH 04/12] VMCI: device driver implementaton.

2012-10-29 Thread George Zhang
VMCI driver code implementes both the host and guest personalities of the VMCI driver. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_driver.c | 159 +++ drivers/misc/vmw_vmci/vmci_driver.h | 50 +++ 2 files changed, 209 insertions(+), 0

[PATCH 03/12] VMCI: doorbell implementation.

2012-10-29 Thread George Zhang
VMCI doorbell code allows for notifcations between host and guest. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_doorbell.c | 673 + drivers/misc/vmw_vmci/vmci_doorbell.h | 53 +++ 2 files changed, 726 insertions(+), 0 deletions(-) create mode

[PATCH 02/12] VMCI: datagram implementation.

2012-10-29 Thread George Zhang
VMCI datagram Implements datagrams to allow data to be sent between host and guest. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_datagram.c | 520 + drivers/misc/vmw_vmci/vmci_datagram.h | 55 +++ 2 files changed, 575 insertions(+), 0 deletions

[PATCH 01/12] VMCI: context implementation.

2012-10-29 Thread George Zhang
VMCI Context code maintains state for vmci and allows the driver to communicate with multiple VMs. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_context.c | 1290 ++ drivers/misc/vmw_vmci/vmci_context.h | 177 + 2 files changed, 1467

[PATCH 00/12] VMCI for Linux upstreaming

2012-10-29 Thread George Zhang
hines, the VMCI host and virtual machine support are combined in a single kernel module. For additional information about the use of VMCI and in particular VMCI Sockets, please refer to the VMCI Socket Programming Guide available at https://www.vmware.com/support/developer/vmci-sdk/. --- G

[PATCH 6/6] VSOCK: header and config files.

2012-10-15 Thread George Zhang
VSOCK header files, Makefiles and Kconfig systems for Linux VSocket module. Signed-off-by: George Zhang --- net/Kconfig |1 net/Makefile|1 net/vmw_vsock/Kconfig | 14 + net/vmw_vsock/Makefile |8 net

[PATCH 5/6] VSOCK: utility functions.

2012-10-15 Thread George Zhang
VSOCK utility functions for Linux VSocket module. Signed-off-by: George Zhang --- net/vmw_vsock/util.c | 694 ++ net/vmw_vsock/util.h | 331 2 files changed, 1025 insertions(+), 0 deletions(-) create mode 100644 net

[PATCH 4/6] VSOCK: statistics implementation.

2012-10-15 Thread George Zhang
VSOCK stats for VMCI Stream Sockets protocol. Signed-off-by: George Zhang --- net/vmw_vsock/stats.c | 37 net/vmw_vsock/stats.h | 222 + 2 files changed, 259 insertions(+), 0 deletions(-) create mode 100644 net/vmw_vsock/stats.c

[PATCH 3/6] VSOCK: notification implementation.

2012-10-15 Thread George Zhang
VSOCK control notifications for VMCI Stream Sockets protocol. Signed-off-by: George Zhang --- net/vmw_vsock/notify.c | 1041 net/vmw_vsock/notify.h | 130 ++ 2 files changed, 1171 insertions(+), 0 deletions(-) create mode 100644 net

[PATCH 2/6] VSOCK: vsock address implementaion.

2012-10-15 Thread George Zhang
VSOCK linux address code implementation. Signed-off-by: George Zhang --- net/vmw_vsock/vsock_addr.c | 264 net/vmw_vsock/vsock_addr.h | 40 +++ 2 files changed, 304 insertions(+), 0 deletions(-) create mode 100644 net/vmw_vsock/vsock_addr.c

[PATCH 0/6] VSOCK for Linux upstreaming

2012-10-15 Thread George Zhang
formation about the use of VMCI and in particular VMCI Sockets, please refer to the VMCI Socket Programming Guide available at https://www.vmware.com/support/developer/vmci-sdk/. --- George Zhang (6): VSOCK: vsock protocol implementation. VSOCK: vsock address implementai

[PATCH 10/10] VMCI: Some header and config files.

2012-10-15 Thread George Zhang
VMCI header config patch adds all the necessary files to enable building of the VMCI module with the Linux Makefiles and Kconfig systems. Also adds the header files used for building modules against the driver. Signed-off-by: George Zhang --- drivers/misc/Kconfig|1

[PATCH 09/10] VMCI: routing implementation.

2012-10-15 Thread George Zhang
VMCI routing code is responsible for routing between various hosts/guests as well as routing in nested scenarios. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_route.c | 237 drivers/misc/vmw_vmci/vmci_route.h | 30 + 2 files changed

[PATCH 08/10] VMCI: resource object implementation.

2012-10-15 Thread George Zhang
VMCI resource tracks all used resources within the vmci code. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_resource.c | 237 + drivers/misc/vmw_vmci/vmci_resource.h | 59 2 files changed, 296 insertions(+), 0 deletions(-) create mode

[PATCH 06/10] VMCI: handle array implementation.

2012-10-15 Thread George Zhang
VMCI handle code adds support for dynamic arrays that will grow if they need to. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_handle_array.c | 162 + drivers/misc/vmw_vmci/vmci_handle_array.h | 46 2 files changed, 208 insertions(+), 0

[PATCH 05/10] VMCI: event handling implementation.

2012-10-15 Thread George Zhang
VMCI event code that manages event handlers and handles callbacks when specific events fire. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_event.c | 415 drivers/misc/vmw_vmci/vmci_event.h | 25 ++ 2 files changed, 440 insertions(+), 0

[PATCH 03/10] VMCI: doorbell implementation.

2012-10-15 Thread George Zhang
VMCI doorbell code allows for notifcations between host and guest. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_doorbell.c | 674 + drivers/misc/vmw_vmci/vmci_doorbell.h | 53 +++ 2 files changed, 727 insertions(+), 0 deletions(-) create mode

[PATCH 01/10] VMCI: context implementation.

2012-10-15 Thread George Zhang
VMCI Context code maintains state for vmci and allows the driver to communicate with multiple VMs. Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_context.c | 1291 ++ drivers/misc/vmw_vmci/vmci_context.h | 177 + 2 files changed, 1468 insertions

  1   2   >