search for: vmci_context

Displaying 20 results from an estimated 31 matches for "vmci_context".

2012 Aug 30
1
[Pv-drivers] [vmw_vmci 00/11] VMCI driver for Linux
...CI 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/. George Zhang (11): vmci_context.patch: VMCI context list operations. vmci_datagram.patch: VMCI datagram entity handling. vmci_doorbell.patch: VMCI doorbell notification handling. vmci_driver.patch: VMCI device driver. vmci_event.patch: VMCI kernel events handling. vmci_handle_array.patch: VMCI array...
2012 Aug 30
1
[Pv-drivers] [vmw_vmci 00/11] VMCI driver for Linux
...CI 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/. George Zhang (11): vmci_context.patch: VMCI context list operations. vmci_datagram.patch: VMCI datagram entity handling. vmci_doorbell.patch: VMCI doorbell notification handling. vmci_driver.patch: VMCI device driver. vmci_event.patch: VMCI kernel events handling. vmci_handle_array.patch: VMCI array...
2012 Aug 30
2
[PATCH 01/11] vmci_context.patch: VMCI context list operations.
Signed-off-by: George Zhang <georgezhang at vmware.com> --- 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 drivers/misc/vmw_vmci/vmci_context.h diff --git a/drivers/misc/vmw_vmci/v...
2012 Aug 30
2
[PATCH 01/11] vmci_context.patch: VMCI context list operations.
Signed-off-by: George Zhang <georgezhang at vmware.com> --- 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 drivers/misc/vmw_vmci/vmci_context.h diff --git a/drivers/misc/vmw_vmci/v...
2019 May 24
0
[PATCH] VMCI: Fix integer overflow in VMCI handle arrays
...s change, we introduce a mandatory max capacity for handle arrays/lists to avoid excessive memory usage. Signed-off-by: Vishnu Dasa <vdasa at vmware.com> Reviewed-by: Adit Ranadive <aditr at vmware.com> Reviewed-by: Jorgen Hansen <jhansen at vmware.com> --- drivers/misc/vmw_vmci/vmci_context.c | 80 +++++++++++++---------- drivers/misc/vmw_vmci/vmci_handle_array.c | 38 +++++++---- drivers/misc/vmw_vmci/vmci_handle_array.h | 29 +++++--- include/linux/vmw_vmci_defs.h | 11 +++- 4 files changed, 99 insertions(+), 59 deletions(-) diff --git a/drivers/misc/vmw_vmci/vmci_...
2012 Oct 30
29
[PATCH 00/12] VMCI for Linux upstreaming
...header and config files. drivers/misc/Kconfig | 1 drivers/misc/Makefile | 2 drivers/misc/vmw_vmci/Kconfig | 16 drivers/misc/vmw_vmci/Makefile | 43 drivers/misc/vmw_vmci/vmci_common_int.h | 34 drivers/misc/vmw_vmci/vmci_context.c | 1290 +++++++++++ drivers/misc/vmw_vmci/vmci_context.h | 177 + drivers/misc/vmw_vmci/vmci_datagram.c | 520 ++++ drivers/misc/vmw_vmci/vmci_datagram.h | 55 drivers/misc/vmw_vmci/vmci_doorbell.c | 673 +++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 53 drivers/m...
2012 Oct 30
29
[PATCH 00/12] VMCI for Linux upstreaming
...header and config files. drivers/misc/Kconfig | 1 drivers/misc/Makefile | 2 drivers/misc/vmw_vmci/Kconfig | 16 drivers/misc/vmw_vmci/Makefile | 43 drivers/misc/vmw_vmci/vmci_common_int.h | 34 drivers/misc/vmw_vmci/vmci_context.c | 1290 +++++++++++ drivers/misc/vmw_vmci/vmci_context.h | 177 + drivers/misc/vmw_vmci/vmci_datagram.c | 520 ++++ drivers/misc/vmw_vmci/vmci_datagram.h | 55 drivers/misc/vmw_vmci/vmci_doorbell.c | 673 +++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 53 drivers/m...
2012 Aug 30
0
[PATCH 02/11] vmci_datagram.patch: VMCI datagram entity handling.
...+#include <linux/module.h> +#include <linux/sched.h> +#include <linux/slab.h> +#include <linux/bug.h> + +#include "vmci_common_int.h" +#include "vmci_hash_table.h" +#include "vmci_datagram.h" +#include "vmci_resource.h" +#include "vmci_context.h" +#include "vmci_driver.h" +#include "vmci_event.h" +#include "vmci_route.h" + +/* + * struct datagram_entry describes the datagram entity. It is used for datagram + * entities created only on the host. + */ +struct datagram_entry { + struct vmci_resource...
2012 Aug 30
0
[PATCH 02/11] vmci_datagram.patch: VMCI datagram entity handling.
...+#include <linux/module.h> +#include <linux/sched.h> +#include <linux/slab.h> +#include <linux/bug.h> + +#include "vmci_common_int.h" +#include "vmci_hash_table.h" +#include "vmci_datagram.h" +#include "vmci_resource.h" +#include "vmci_context.h" +#include "vmci_driver.h" +#include "vmci_event.h" +#include "vmci_route.h" + +/* + * struct datagram_entry describes the datagram entity. It is used for datagram + * entities created only on the host. + */ +struct datagram_entry { + struct vmci_resource...
2013 Jan 08
13
[PATCH 00/12] VMCI for Linux upstreaming
...vmci_id, vmci_event, vmci_privilege_flags. Use C99 style initialization for struct VMCI_INVALID_HANDLE. Use inline function instead of macro for VMCI_HANDLE_INVALID. No change for vmw_vmci_api.h location (under include/linux/ directory). No change for macros VMCI_CONTEXT_IS_VM, VMCI_HOST_CONTEXT_ID, VMCI_RESERVED_CID_LIMIT, VMCI_HYPERVISOR_CONTEXT_ID and VMCI_WELL_KNOWN_CONTEXT_ID. Still in header file include/linux/vmw_vmci_defs.h This addresses Greg's several comments on Thu, 15 Nov 2012 16:01:18 -0800...
2013 Jan 08
13
[PATCH 00/12] VMCI for Linux upstreaming
...vmci_id, vmci_event, vmci_privilege_flags. Use C99 style initialization for struct VMCI_INVALID_HANDLE. Use inline function instead of macro for VMCI_HANDLE_INVALID. No change for vmw_vmci_api.h location (under include/linux/ directory). No change for macros VMCI_CONTEXT_IS_VM, VMCI_HOST_CONTEXT_ID, VMCI_RESERVED_CID_LIMIT, VMCI_HYPERVISOR_CONTEXT_ID and VMCI_WELL_KNOWN_CONTEXT_ID. Still in header file include/linux/vmw_vmci_defs.h This addresses Greg's several comments on Thu, 15 Nov 2012 16:01:18 -0800...
2012 Oct 16
11
[PATCH 00/10] VMCI for Linux upstreaming
...r and config files. drivers/misc/Kconfig | 1 drivers/misc/Makefile | 2 drivers/misc/vmw_vmci/Kconfig | 16 drivers/misc/vmw_vmci/Makefile | 41 drivers/misc/vmw_vmci/vmci_common_int.h | 34 drivers/misc/vmw_vmci/vmci_context.c | 1291 +++++++++++ drivers/misc/vmw_vmci/vmci_context.h | 177 + drivers/misc/vmw_vmci/vmci_datagram.c | 522 ++++ drivers/misc/vmw_vmci/vmci_datagram.h | 55 drivers/misc/vmw_vmci/vmci_doorbell.c | 674 +++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 53 drivers...
2012 Oct 16
11
[PATCH 00/10] VMCI for Linux upstreaming
...r and config files. drivers/misc/Kconfig | 1 drivers/misc/Makefile | 2 drivers/misc/vmw_vmci/Kconfig | 16 drivers/misc/vmw_vmci/Makefile | 41 drivers/misc/vmw_vmci/vmci_common_int.h | 34 drivers/misc/vmw_vmci/vmci_context.c | 1291 +++++++++++ drivers/misc/vmw_vmci/vmci_context.h | 177 + drivers/misc/vmw_vmci/vmci_datagram.c | 522 ++++ drivers/misc/vmw_vmci/vmci_datagram.h | 55 drivers/misc/vmw_vmci/vmci_doorbell.c | 674 +++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 53 drivers...
2012 Jun 12
11
[vmw_vmci RFCv2 00/11] VMCI for Linux
...make VMCI build drivers/misc/Kconfig | 1 + drivers/misc/Makefile | 1 + drivers/misc/vmw_vmci/Kconfig | 16 + drivers/misc/vmw_vmci/Makefile | 43 + drivers/misc/vmw_vmci/vmci_common_int.h | 58 + drivers/misc/vmw_vmci/vmci_context.c | 1269 +++++++++++ drivers/misc/vmw_vmci/vmci_context.h | 161 ++ drivers/misc/vmw_vmci/vmci_datagram.c | 586 +++++ drivers/misc/vmw_vmci/vmci_datagram.h | 56 + drivers/misc/vmw_vmci/vmci_doorbell.c | 751 ++++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 57 + dr...
2012 Jun 12
11
[vmw_vmci RFCv2 00/11] VMCI for Linux
...make VMCI build drivers/misc/Kconfig | 1 + drivers/misc/Makefile | 1 + drivers/misc/vmw_vmci/Kconfig | 16 + drivers/misc/vmw_vmci/Makefile | 43 + drivers/misc/vmw_vmci/vmci_common_int.h | 58 + drivers/misc/vmw_vmci/vmci_context.c | 1269 +++++++++++ drivers/misc/vmw_vmci/vmci_context.h | 161 ++ drivers/misc/vmw_vmci/vmci_datagram.c | 586 +++++ drivers/misc/vmw_vmci/vmci_datagram.h | 56 + drivers/misc/vmw_vmci/vmci_doorbell.c | 751 ++++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 57 + dr...
2012 Jul 26
16
[vmw_vmci 00/11] VMCI for Linux
...make VMCI build drivers/misc/Kconfig | 1 + drivers/misc/Makefile | 1 + drivers/misc/vmw_vmci/Kconfig | 16 + drivers/misc/vmw_vmci/Makefile | 43 + drivers/misc/vmw_vmci/vmci_common_int.h | 58 + drivers/misc/vmw_vmci/vmci_context.c | 1269 +++++++++++ drivers/misc/vmw_vmci/vmci_context.h | 161 ++ drivers/misc/vmw_vmci/vmci_datagram.c | 586 +++++ drivers/misc/vmw_vmci/vmci_datagram.h | 56 + drivers/misc/vmw_vmci/vmci_doorbell.c | 751 ++++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 57 + dr...
2012 Jul 26
16
[vmw_vmci 00/11] VMCI for Linux
...make VMCI build drivers/misc/Kconfig | 1 + drivers/misc/Makefile | 1 + drivers/misc/vmw_vmci/Kconfig | 16 + drivers/misc/vmw_vmci/Makefile | 43 + drivers/misc/vmw_vmci/vmci_common_int.h | 58 + drivers/misc/vmw_vmci/vmci_context.c | 1269 +++++++++++ drivers/misc/vmw_vmci/vmci_context.h | 161 ++ drivers/misc/vmw_vmci/vmci_datagram.c | 586 +++++ drivers/misc/vmw_vmci/vmci_datagram.h | 56 + drivers/misc/vmw_vmci/vmci_doorbell.c | 751 ++++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 57 + dr...
2012 Aug 30
0
[PATCH 09/11] vmci_resource.patch: VMCI resource hash table implementation.
...ABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + */ + +#ifndef _VMCI_RESOURCE_H_ +#define _VMCI_RESOURCE_H_ + +#include <linux/vmw_vmci_defs.h> +#include <linux/types.h> + +#include "vmci_hash_table.h" +#include "vmci_context.h" + +typedef void (*VMCIResourceFreeCB) (void *resource); + +enum vmci_resource_type { + VMCI_RESOURCE_TYPE_ANY, + VMCI_RESOURCE_TYPE_API, + VMCI_RESOURCE_TYPE_GROUP, + VMCI_RESOURCE_TYPE_DATAGRAM, + VMCI_RESOURCE_TYPE_DOORBELL, +}; + +struct vmci_resource { +...
2012 Aug 30
0
[PATCH 09/11] vmci_resource.patch: VMCI resource hash table implementation.
...ABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + */ + +#ifndef _VMCI_RESOURCE_H_ +#define _VMCI_RESOURCE_H_ + +#include <linux/vmw_vmci_defs.h> +#include <linux/types.h> + +#include "vmci_hash_table.h" +#include "vmci_context.h" + +typedef void (*VMCIResourceFreeCB) (void *resource); + +enum vmci_resource_type { + VMCI_RESOURCE_TYPE_ANY, + VMCI_RESOURCE_TYPE_API, + VMCI_RESOURCE_TYPE_GROUP, + VMCI_RESOURCE_TYPE_DATAGRAM, + VMCI_RESOURCE_TYPE_DOORBELL, +}; + +struct vmci_resource { +...
2012 May 15
13
[vmw_vmci RFC 00/11] VMCI for Linux
...make VMCI build drivers/misc/Kconfig | 1 + drivers/misc/Makefile | 1 + drivers/misc/vmw_vmci/Kconfig | 16 + drivers/misc/vmw_vmci/Makefile | 43 + drivers/misc/vmw_vmci/vmci_common_int.h | 72 + drivers/misc/vmw_vmci/vmci_context.c | 1743 +++++++++++ drivers/misc/vmw_vmci/vmci_context.h | 150 + drivers/misc/vmw_vmci/vmci_datagram.c | 760 +++++ drivers/misc/vmw_vmci/vmci_datagram.h | 57 + drivers/misc/vmw_vmci/vmci_doorbell.c | 989 +++++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 57 + dr...