search for: pr_devel

Displaying 20 results from an estimated 37 matches for "pr_devel".

2012 Aug 30
0
[PATCH 02/11] vmci_datagram.patch: VMCI datagram entity handling.
...dg->dst.context == VMCI_HYPERVISOR_CONTEXT_ID) + return VMCI_ERROR_DST_UNREACHABLE; + + ASSERT(dg->dst.context != VMCI_HYPERVISOR_CONTEXT_ID); + + /* Check that source handle matches sending context. */ + if (dg->src.context != contextID) { + pr_devel("Sender context (ID=0x%x) is not owner of src " \ + "datagram entry (handle=0x%x:0x%x).", + contextID, dg->src.context, dg->src.resource); + return VMCI_ERROR_NO_ACCESS; + } + + /* Get hold of privileg...
2012 Aug 30
0
[PATCH 02/11] vmci_datagram.patch: VMCI datagram entity handling.
...dg->dst.context == VMCI_HYPERVISOR_CONTEXT_ID) + return VMCI_ERROR_DST_UNREACHABLE; + + ASSERT(dg->dst.context != VMCI_HYPERVISOR_CONTEXT_ID); + + /* Check that source handle matches sending context. */ + if (dg->src.context != contextID) { + pr_devel("Sender context (ID=0x%x) is not owner of src " \ + "datagram entry (handle=0x%x:0x%x).", + contextID, dg->src.context, dg->src.resource); + return VMCI_ERROR_NO_ACCESS; + } + + /* Get hold of privileg...
2012 Aug 30
2
[PATCH 01/11] vmci_context.patch: VMCI context list operations.
...uintptr_t eventHnd, + int userVersion, + const struct cred *cred, + struct vmci_ctx **outContext) +{ + struct vmci_ctx *context; + int result; + + if (privFlags & ~VMCI_PRIVILEGE_ALL_FLAGS) { + pr_devel("Invalid flag (flags=0x%x) for VMCI context.", + privFlags); + return VMCI_ERROR_INVALID_ARGS; + } + + if (userVersion == 0) + return VMCI_ERROR_INVALID_ARGS; + + context = kzalloc(sizeof(*context), GFP_KERNEL); +...
2012 Aug 30
2
[PATCH 01/11] vmci_context.patch: VMCI context list operations.
...uintptr_t eventHnd, + int userVersion, + const struct cred *cred, + struct vmci_ctx **outContext) +{ + struct vmci_ctx *context; + int result; + + if (privFlags & ~VMCI_PRIVILEGE_ALL_FLAGS) { + pr_devel("Invalid flag (flags=0x%x) for VMCI context.", + privFlags); + return VMCI_ERROR_INVALID_ARGS; + } + + if (userVersion == 0) + return VMCI_ERROR_INVALID_ARGS; + + context = kzalloc(sizeof(*context), GFP_KERNEL); +...
2012 Aug 30
0
[PATCH 03/11] vmci_doorbell.patch: VMCI doorbell notification handling.
...ost_context_notify(uint32_t srcCID, + struct vmci_handle handle) +{ + struct dbell_entry *entry; + struct vmci_resource *resource; + int result; + + ASSERT(vmci_host_code_active()); + + if (VMCI_HANDLE_INVALID(handle)) { + pr_devel("Notifying an invalid doorbell " \ + "(handle=0x%x:0x%x).", handle.context, + handle.resource); + return VMCI_ERROR_INVALID_ARGS; + } + + resource = vmci_resource_get(handle, VMCI_RESOURCE_TYPE_DOORBELL); +...
2012 Aug 30
0
[PATCH 03/11] vmci_doorbell.patch: VMCI doorbell notification handling.
...ost_context_notify(uint32_t srcCID, + struct vmci_handle handle) +{ + struct dbell_entry *entry; + struct vmci_resource *resource; + int result; + + ASSERT(vmci_host_code_active()); + + if (VMCI_HANDLE_INVALID(handle)) { + pr_devel("Notifying an invalid doorbell " \ + "(handle=0x%x:0x%x).", handle.context, + handle.resource); + return VMCI_ERROR_INVALID_ARGS; + } + + resource = vmci_resource_get(handle, VMCI_RESOURCE_TYPE_DOORBELL); +...
2012 Aug 30
1
[PATCH 04/11] vmci_driver.patch: VMCI device driver.
...cid_update(u32 subID, + struct vmci_event_data *eventData, + void *clientData) +{ + struct vmci_event_payld_ctx *evPayload = + vmci_event_data_payload(eventData); + + if (subID != ctxUpdateSubID) { + pr_devel("Invalid subscriber (ID=0x%x).", subID); + return; + } + + if (eventData == NULL || evPayload->contextID == VMCI_INVALID_ID) { + pr_devel("Invalid event data."); + return; + } + + pr_devel("Updating contex...
2012 Aug 30
1
[PATCH 04/11] vmci_driver.patch: VMCI device driver.
...cid_update(u32 subID, + struct vmci_event_data *eventData, + void *clientData) +{ + struct vmci_event_payld_ctx *evPayload = + vmci_event_data_payload(eventData); + + if (subID != ctxUpdateSubID) { + pr_devel("Invalid subscriber (ID=0x%x).", subID); + return; + } + + if (eventData == NULL || evPayload->contextID == VMCI_INVALID_ID) { + pr_devel("Invalid event data."); + return; + } + + pr_devel("Updating contex...
2012 Jun 12
11
[vmw_vmci RFCv2 00/11] VMCI for Linux
Second revision of the VMware VMCI RFC patchset. It incorperates fixes for all the feedback about the comment blocks and style and now passes checkpatch with 0 errors and 0 warnings. Thanks to all who have reviewed the code thus far. * * * In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication
2012 Jun 12
11
[vmw_vmci RFCv2 00/11] VMCI for Linux
Second revision of the VMware VMCI RFC patchset. It incorperates fixes for all the feedback about the comment blocks and style and now passes checkpatch with 0 errors and 0 warnings. Thanks to all who have reviewed the code thus far. * * * In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication
2013 Jan 08
13
[PATCH 00/12] VMCI for Linux upstreaming
* * * This series of VMCI linux upstreaming patches include latest udpate from VMware to address Greg's and all other's code review comments. Summary of changes: - Rebase our linux kernel tree from v3.5 to v3.7. - Fix all checkpatch warnings and errors. Fix some checkpatch with -strict errors. This addresses Greg's comment: On 15 Nov 2012
2013 Jan 08
13
[PATCH 00/12] VMCI for Linux upstreaming
* * * This series of VMCI linux upstreaming patches include latest udpate from VMware to address Greg's and all other's code review comments. Summary of changes: - Rebase our linux kernel tree from v3.5 to v3.7. - Fix all checkpatch warnings and errors. Fix some checkpatch with -strict errors. This addresses Greg's comment: On 15 Nov 2012
2012 Jul 26
16
[vmw_vmci 00/11] VMCI for Linux
In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel. The purpose of this post is to acquire feedback on the vmw_vmci kernel module. The vmw_vsock kernel module will be presented in a later post.
2012 Jul 26
16
[vmw_vmci 00/11] VMCI for Linux
In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel. The purpose of this post is to acquire feedback on the vmw_vmci kernel module. The vmw_vsock kernel module will be presented in a later post.
2012 Oct 16
11
[PATCH 00/10] VMCI for Linux upstreaming
* * * In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel. The purpose of this post is to acquire feedback on the vmw_vmci kernel module. The vmw_vsock kernel module will be presented in a later
2012 Oct 16
11
[PATCH 00/10] VMCI for Linux upstreaming
* * * In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel. The purpose of this post is to acquire feedback on the vmw_vmci kernel module. The vmw_vsock kernel module will be presented in a later
2012 May 15
13
[vmw_vmci RFC 00/11] VMCI for Linux
In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel. The purpose of this post is to acquire feedback on the vmw_vmci kernel module. The vmw_vsock kernel module will be presented in a later post.
2012 May 15
13
[vmw_vmci RFC 00/11] VMCI for Linux
In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel. The purpose of this post is to acquire feedback on the vmw_vmci kernel module. The vmw_vsock kernel module will be presented in a later post.
2012 Aug 30
0
[PATCH 09/11] vmci_resource.patch: VMCI resource hash table implementation.
...+ struct vmci_handle resourceHandle, + VMCIResourceFreeCB containerFreeCB, + void *containerObject) +{ + int result; + + ASSERT(resource); + + if (VMCI_HANDLE_EQUAL(resourceHandle, VMCI_INVALID_HANDLE)) { + pr_devel("Invalid argument resource (handle=0x%x:0x%x)", + resourceHandle.context, resourceHandle.resource); + return VMCI_ERROR_INVALID_ARGS; + } + + vmci_hash_init_entry(&resource->hashEntry, resourceHandle); + resource->type = res...
2012 Aug 30
0
[PATCH 09/11] vmci_resource.patch: VMCI resource hash table implementation.
...+ struct vmci_handle resourceHandle, + VMCIResourceFreeCB containerFreeCB, + void *containerObject) +{ + int result; + + ASSERT(resource); + + if (VMCI_HANDLE_EQUAL(resourceHandle, VMCI_INVALID_HANDLE)) { + pr_devel("Invalid argument resource (handle=0x%x:0x%x)", + resourceHandle.context, resourceHandle.resource); + return VMCI_ERROR_INVALID_ARGS; + } + + vmci_hash_init_entry(&resource->hashEntry, resourceHandle); + resource->type = res...