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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to ma

[PATCH 01/11] vmci_context.patch: VMCI context list operations.

2012-08-30 Thread George Zhang
Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_context.c | 1245 ++ drivers/misc/vmw_vmci/vmci_context.h | 174 + 2 files changed, 1419 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_context.c create mode 100644

[PATCH 02/11] vmci_datagram.patch: VMCI datagram entity handling.

2012-08-30 Thread George Zhang
Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_datagram.c | 583 + drivers/misc/vmw_vmci/vmci_datagram.h | 55 +++ 2 files changed, 638 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_datagram.c create mode 100644

[PATCH 03/11] vmci_doorbell.patch: VMCI doorbell notification handling.

2012-08-30 Thread George Zhang
Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_doorbell.c | 749 + drivers/misc/vmw_vmci/vmci_doorbell.h | 54 ++ 2 files changed, 803 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_doorbell.c create mode 100644

[PATCH 05/11] vmci_event.patch: VMCI kernel events handling.

2012-08-30 Thread George Zhang
Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_event.c | 448 drivers/misc/vmw_vmci/vmci_event.h | 25 ++ 2 files changed, 473 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_event.c create mode 100644 drivers

[PATCH 06/11] vmci_handle_array.patch: VMCI array of vmci_handle.

2012-08-30 Thread George Zhang
Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_handle_array.c | 163 + drivers/misc/vmw_vmci/vmci_handle_array.h | 46 2 files changed, 209 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_handle_array.c create

[PATCH 07/11] vmci_hash_table.patch: VMCI hash table implementation.

2012-08-30 Thread George Zhang
Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_hash_table.c | 329 +++ drivers/misc/vmw_vmci/vmci_hash_table.h | 53 + 2 files changed, 382 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_hash_table.c create mode

[PATCH 09/11] vmci_resource.patch: VMCI resource hash table implementation.

2012-08-30 Thread George Zhang
Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_resource.c | 190 + drivers/misc/vmw_vmci/vmci_resource.h | 59 ++ 2 files changed, 249 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_resource.c create mode

[PATCH 10/11] vmci_route.patch: VMCI routing implementation.

2012-08-30 Thread George Zhang
Signed-off-by: George Zhang --- drivers/misc/vmw_vmci/vmci_route.c | 237 drivers/misc/vmw_vmci/vmci_route.h | 30 + 2 files changed, 267 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_route.c create mode 100644 drivers

[Pv-drivers] [vmw_vmci 00/11] VMCI driver for Linux

2012-08-30 Thread George Zhang
lease refer to the VMCI Socket Programming Guide available at https://www.vmware.com/support/developer/vmci-sdk/. George Zhang (11): vmci_context.patch: VMCI context list operations. vmci_datagram.patch: VMCI datagram entity handling. vmci_doorbell.patch: VMCI doorbell notific

[PATCH 11/11] vmci_headers.patch: VMCI kernel driver public API.

2012-08-30 Thread George Zhang
Signed-off-by: George Zhang --- drivers/misc/Kconfig|1 drivers/misc/Makefile |2 drivers/misc/vmw_vmci/Kconfig | 16 + drivers/misc/vmw_vmci/Makefile | 42 + drivers/misc/vmw_vmci/vmci_common_int.h | 34 + include/linux

[Pv-drivers] [vmw_vmci 00/11] VMCI driver for Linux

2012-08-30 Thread George Zhang
lease refer to the VMCI Socket Programming Guide available at https://www.vmware.com/support/developer/vmci-sdk/. George Zhang (11): vmci_context.patch: VMCI context list operations. vmci_datagram.patch: VMCI datagram entity handling. vmci_doorbell.patch: VMCI doorbell notific

[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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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

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-kernel@vger.kernel.org, virtualizat...@lists.linux-foundation.or

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-kernel@vger.kernel.org, virtualizat...@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

[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 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 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 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 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 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 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 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 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 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 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 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 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

[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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 02/10] VMCI: datagram implementation.

2012-10-15 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 | 522 + drivers/misc/vmw_vmci/vmci_datagram.h | 55 +++ 2 files changed, 577 insertions(+), 0 deletions

[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 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 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 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 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 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 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 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 00/10] VMCI for Linux upstreaming

2012-10-15 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 (10): VMCI: co

[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 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 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 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

[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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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

[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 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 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 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

  1   2   >