search for: vmci_event

Displaying 20 results from an estimated 29 matches for "vmci_event".

Did you mean: kvmi_event
2012 Aug 30
0
[PATCH 05/11] vmci_event.patch: VMCI kernel events handling.
Signed-off-by: George Zhang <georgezhang at vmware.com> --- 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/misc/vmw_vmci/vmci_event.h diff --git a/drivers/misc/vmw_vmci/vmci_even...
2012 Aug 30
0
[PATCH 05/11] vmci_event.patch: VMCI kernel events handling.
Signed-off-by: George Zhang <georgezhang at vmware.com> --- 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/misc/vmw_vmci/vmci_event.h diff --git a/drivers/misc/vmw_vmci/vmci_even...
2012 Aug 30
1
[Pv-drivers] [vmw_vmci 00/11] VMCI driver for Linux
...tps://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 of vmci_handle. vmci_hash_table.patch: VMCI hash table implementation. vmci_queue_pair.patch: VMCI queue pair implementation. vmci_resource.patch: VMCI resource hash table implementation. vmci_rout...
2012 Aug 30
1
[Pv-drivers] [vmw_vmci 00/11] VMCI driver for Linux
...tps://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 of vmci_handle. vmci_hash_table.patch: VMCI hash table implementation. vmci_queue_pair.patch: VMCI queue pair implementation. vmci_resource.patch: VMCI resource hash table implementation. vmci_rout...
2012 Oct 30
29
[PATCH 00/12] VMCI for Linux upstreaming
....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/misc/vmw_vmci/vmci_driver.c | 159 + drivers/misc/vmw_vmci/vmci_driver.h | 50 drivers/misc/vmw_vmci/vmci_event.c | 371 +++ drivers/misc/vmw_vmci/vmci_event.h | 25 drivers/misc/vmw_vmci/vmci_guest.c | 765 ++++++ drivers/misc/vmw_vmci/vmci_handle_array.c | 162 + drivers/misc/vmw_vmci/vmci_handle_array.h | 46 drivers/misc/vmw_vmci/vmci_host.c | 1046 +++++++++ drivers/m...
2012 Oct 30
29
[PATCH 00/12] VMCI for Linux upstreaming
....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/misc/vmw_vmci/vmci_driver.c | 159 + drivers/misc/vmw_vmci/vmci_driver.h | 50 drivers/misc/vmw_vmci/vmci_event.c | 371 +++ drivers/misc/vmw_vmci/vmci_event.h | 25 drivers/misc/vmw_vmci/vmci_guest.c | 765 ++++++ drivers/misc/vmw_vmci/vmci_handle_array.c | 162 + drivers/misc/vmw_vmci/vmci_handle_array.h | 46 drivers/misc/vmw_vmci/vmci_host.c | 1046 +++++++++ drivers/m...
2013 Jan 08
13
[PATCH 00/12] VMCI for Linux upstreaming
...ake_handle which return a structure on stack. use macro instead and use C99 initialization. Remove #define for VMCI_HANDLE_TO_CONTEXT_ID and VMCI_HANDLE_TO_RESOURCE_ID Change macro to inline function for VMCI_HANDLE_EQUAL. Remove u32 typedefs for 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,...
2013 Jan 08
13
[PATCH 00/12] VMCI for Linux upstreaming
...ake_handle which return a structure on stack. use macro instead and use C99 initialization. Remove #define for VMCI_HANDLE_TO_CONTEXT_ID and VMCI_HANDLE_TO_RESOURCE_ID Change macro to inline function for VMCI_HANDLE_EQUAL. Remove u32 typedefs for 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,...
2012 Oct 16
11
[PATCH 00/10] VMCI for Linux upstreaming
...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/misc/vmw_vmci/vmci_driver.c | 2187 ++++++++++++++++++ drivers/misc/vmw_vmci/vmci_driver.h | 44 drivers/misc/vmw_vmci/vmci_event.c | 415 +++ drivers/misc/vmw_vmci/vmci_event.h | 25 drivers/misc/vmw_vmci/vmci_handle_array.c | 162 + drivers/misc/vmw_vmci/vmci_handle_array.h | 46 drivers/misc/vmw_vmci/vmci_queue_pair.c | 3556 +++++++++++++++++++++++++++++ drivers/misc/vmw_vmci/vmci_queue_pair.h |...
2012 Oct 16
11
[PATCH 00/10] VMCI for Linux upstreaming
...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/misc/vmw_vmci/vmci_driver.c | 2187 ++++++++++++++++++ drivers/misc/vmw_vmci/vmci_driver.h | 44 drivers/misc/vmw_vmci/vmci_event.c | 415 +++ drivers/misc/vmw_vmci/vmci_event.h | 25 drivers/misc/vmw_vmci/vmci_handle_array.c | 162 + drivers/misc/vmw_vmci/vmci_handle_array.h | 46 drivers/misc/vmw_vmci/vmci_queue_pair.c | 3556 +++++++++++++++++++++++++++++ drivers/misc/vmw_vmci/vmci_queue_pair.h |...
2012 Jun 12
11
[vmw_vmci RFCv2 00/11] VMCI for Linux
...rs/misc/vmw_vmci/vmci_datagram.h | 56 + drivers/misc/vmw_vmci/vmci_doorbell.c | 751 ++++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 57 + drivers/misc/vmw_vmci/vmci_driver.c | 2297 +++++++++++++++++++ drivers/misc/vmw_vmci/vmci_driver.h | 52 + drivers/misc/vmw_vmci/vmci_event.c | 453 ++++ drivers/misc/vmw_vmci/vmci_event.h | 29 + drivers/misc/vmw_vmci/vmci_handle_array.c | 174 ++ drivers/misc/vmw_vmci/vmci_handle_array.h | 50 + drivers/misc/vmw_vmci/vmci_hash_table.c | 332 +++ drivers/misc/vmw_vmci/vmci_hash_table.h | 56 + drivers/misc/v...
2012 Jun 12
11
[vmw_vmci RFCv2 00/11] VMCI for Linux
...rs/misc/vmw_vmci/vmci_datagram.h | 56 + drivers/misc/vmw_vmci/vmci_doorbell.c | 751 ++++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 57 + drivers/misc/vmw_vmci/vmci_driver.c | 2297 +++++++++++++++++++ drivers/misc/vmw_vmci/vmci_driver.h | 52 + drivers/misc/vmw_vmci/vmci_event.c | 453 ++++ drivers/misc/vmw_vmci/vmci_event.h | 29 + drivers/misc/vmw_vmci/vmci_handle_array.c | 174 ++ drivers/misc/vmw_vmci/vmci_handle_array.h | 50 + drivers/misc/vmw_vmci/vmci_hash_table.c | 332 +++ drivers/misc/vmw_vmci/vmci_hash_table.h | 56 + drivers/misc/v...
2012 Jul 26
16
[vmw_vmci 00/11] VMCI for Linux
...rs/misc/vmw_vmci/vmci_datagram.h | 56 + drivers/misc/vmw_vmci/vmci_doorbell.c | 751 ++++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 57 + drivers/misc/vmw_vmci/vmci_driver.c | 2298 +++++++++++++++++++ drivers/misc/vmw_vmci/vmci_driver.h | 52 + drivers/misc/vmw_vmci/vmci_event.c | 451 ++++ drivers/misc/vmw_vmci/vmci_event.h | 29 + drivers/misc/vmw_vmci/vmci_handle_array.c | 174 ++ drivers/misc/vmw_vmci/vmci_handle_array.h | 50 + drivers/misc/vmw_vmci/vmci_hash_table.c | 332 +++ drivers/misc/vmw_vmci/vmci_hash_table.h | 56 + drivers/misc/v...
2012 Jul 26
16
[vmw_vmci 00/11] VMCI for Linux
...rs/misc/vmw_vmci/vmci_datagram.h | 56 + drivers/misc/vmw_vmci/vmci_doorbell.c | 751 ++++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 57 + drivers/misc/vmw_vmci/vmci_driver.c | 2298 +++++++++++++++++++ drivers/misc/vmw_vmci/vmci_driver.h | 52 + drivers/misc/vmw_vmci/vmci_event.c | 451 ++++ drivers/misc/vmw_vmci/vmci_event.h | 29 + drivers/misc/vmw_vmci/vmci_handle_array.c | 174 ++ drivers/misc/vmw_vmci/vmci_handle_array.h | 50 + drivers/misc/vmw_vmci/vmci_hash_table.c | 332 +++ drivers/misc/vmw_vmci/vmci_hash_table.h | 56 + drivers/misc/v...
2012 May 15
13
[vmw_vmci RFC 00/11] VMCI for Linux
...rs/misc/vmw_vmci/vmci_datagram.h | 57 + drivers/misc/vmw_vmci/vmci_doorbell.c | 989 +++++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 57 + drivers/misc/vmw_vmci/vmci_driver.c | 2875 ++++++++++++++++++ drivers/misc/vmw_vmci/vmci_driver.h | 52 + drivers/misc/vmw_vmci/vmci_event.c | 614 ++++ drivers/misc/vmw_vmci/vmci_event.h | 29 + drivers/misc/vmw_vmci/vmci_handle_array.c | 300 ++ drivers/misc/vmw_vmci/vmci_handle_array.h | 50 + drivers/misc/vmw_vmci/vmci_hash_table.c | 494 ++++ drivers/misc/vmw_vmci/vmci_hash_table.h | 56 + drivers/misc/...
2012 May 15
13
[vmw_vmci RFC 00/11] VMCI for Linux
...rs/misc/vmw_vmci/vmci_datagram.h | 57 + drivers/misc/vmw_vmci/vmci_doorbell.c | 989 +++++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 57 + drivers/misc/vmw_vmci/vmci_driver.c | 2875 ++++++++++++++++++ drivers/misc/vmw_vmci/vmci_driver.h | 52 + drivers/misc/vmw_vmci/vmci_event.c | 614 ++++ drivers/misc/vmw_vmci/vmci_event.h | 29 + drivers/misc/vmw_vmci/vmci_handle_array.c | 300 ++ drivers/misc/vmw_vmci/vmci_handle_array.h | 50 + drivers/misc/vmw_vmci/vmci_hash_table.c | 494 ++++ drivers/misc/vmw_vmci/vmci_hash_table.h | 56 + drivers/misc/...
2019 May 24
0
[PATCH] VMCI: Fix integer overflow in VMCI handle arrays
...deletions(-) diff --git a/drivers/misc/vmw_vmci/vmci_context.c b/drivers/misc/vmw_vmci/vmci_context.c index 21d0fa592145..bc089e634a75 100644 --- a/drivers/misc/vmw_vmci/vmci_context.c +++ b/drivers/misc/vmw_vmci/vmci_context.c @@ -29,6 +29,9 @@ #include "vmci_driver.h" #include "vmci_event.h" +/* Use a wide upper bound for the maximum contexts. */ +#define VMCI_MAX_CONTEXTS 2000 + /* * List of current VMCI contexts. Contexts can be added by * vmci_ctx_create() and removed via vmci_ctx_destroy(). @@ -125,19 +128,22 @@ struct vmci_ctx *vmci_ctx_create(u32 cid, u32 priv_fla...
2012 Aug 30
0
[PATCH 11/11] vmci_headers.patch: VMCI kernel driver public API.
...############################################################################## + +# +# Makefile for the VMware VMCI +# + +obj-$(CONFIG_VMWARE_VMCI) += vmw_vmci.o + +vmw_vmci-y += vmci_context.o +vmw_vmci-y += vmci_datagram.o +vmw_vmci-y += vmci_doorbell.o +vmw_vmci-y += vmci_driver.o +vmw_vmci-y += vmci_event.o +vmw_vmci-y += vmci_handle_array.o +vmw_vmci-y += vmci_hash_table.o +vmw_vmci-y += vmci_queue_pair.o +vmw_vmci-y += vmci_resource.o +vmw_vmci-y += vmci_route.o + +vmci: + $(MAKE) -C ../../.. SUBDIRS=$$PWD CONFIG_VMWARE_VMCI=m modules + +clean: + $(MAKE) -C ../../.. SUBDIRS=$$PWD CONFI...
2012 Aug 30
0
[PATCH 11/11] vmci_headers.patch: VMCI kernel driver public API.
...############################################################################## + +# +# Makefile for the VMware VMCI +# + +obj-$(CONFIG_VMWARE_VMCI) += vmw_vmci.o + +vmw_vmci-y += vmci_context.o +vmw_vmci-y += vmci_datagram.o +vmw_vmci-y += vmci_doorbell.o +vmw_vmci-y += vmci_driver.o +vmw_vmci-y += vmci_event.o +vmw_vmci-y += vmci_handle_array.o +vmw_vmci-y += vmci_hash_table.o +vmw_vmci-y += vmci_queue_pair.o +vmw_vmci-y += vmci_resource.o +vmw_vmci-y += vmci_route.o + +vmci: + $(MAKE) -C ../../.. SUBDIRS=$$PWD CONFIG_VMWARE_VMCI=m modules + +clean: + $(MAKE) -C ../../.. SUBDIRS=$$PWD CONFI...
2012 Aug 30
0
[PATCH 02/11] vmci_datagram.patch: VMCI datagram entity handling.
...e <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 resource; + u32 flags; + bool runDelayed; + vmci_data...