[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 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 georgezh...@vmware.com Acked-by: Andy king ack...@vmware.com Acked-by: Dmitry Torokhov d...@vmware.com --- drivers/misc/vmw_vmci/vmci_driver.c | 117

[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 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 georgezh...@vmware.com Signed-off-by: Dmitry Torokhov d...@vmware.com Signed-off-by: Andy King ack...@vmware.com --- drivers/misc/vmw_vmci/vmci_driver.c | 117

[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

[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 georgezh...@vmware.com --- drivers/misc/vmw_vmci/vmci_driver.c | 116 +++ drivers/misc/vmw_vmci/vmci_driver.h | 50 +++ 2 files

[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 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 georgezh...@vmware.com --- drivers/misc/vmw_vmci/vmci_driver.c | 116 +++ drivers/misc/vmw_vmci/vmci_driver.h | 50 +++ 2 files

Re: [Pv-drivers] [PATCH 04/12] VMCI: device driver implementaton.

2012-10-30 Thread Greg KH
On Mon, Oct 29, 2012 at 09:15:22PM -0700, Dmitry Torokhov wrote: > On Mon, Oct 29, 2012 at 07:23:47PM -0700, Greg KH wrote: > > On Mon, Oct 29, 2012 at 06:04:15PM -0700, George Zhang wrote: > > > +static int __init vmci_core_init(void) > > > +{ > > > + int result; > > > + > > > + result =

Re: [Pv-drivers] [PATCH 04/12] VMCI: device driver implementaton.

2012-10-30 Thread Greg KH
On Mon, Oct 29, 2012 at 09:15:22PM -0700, Dmitry Torokhov wrote: On Mon, Oct 29, 2012 at 07:23:47PM -0700, Greg KH wrote: On Mon, Oct 29, 2012 at 06:04:15PM -0700, George Zhang wrote: +static int __init vmci_core_init(void) +{ + int result; + + result = vmci_ctx_init(); + if

Re: [Pv-drivers] [PATCH 04/12] VMCI: device driver implementaton.

2012-10-29 Thread Dmitry Torokhov
On Mon, Oct 29, 2012 at 07:23:47PM -0700, Greg KH wrote: > On Mon, Oct 29, 2012 at 06:04:15PM -0700, George Zhang wrote: > > +static int __init vmci_core_init(void) > > +{ > > + int result; > > + > > + result = vmci_ctx_init(); > > + if (result < VMCI_SUCCESS) { > > +

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

2012-10-29 Thread Greg KH
On Mon, Oct 29, 2012 at 06:04:15PM -0700, George Zhang wrote: > +static int __init vmci_core_init(void) > +{ > + int result; > + > + result = vmci_ctx_init(); > + if (result < VMCI_SUCCESS) { > + pr_err("Failed to initialize VMCIContext (result=%d).\n", > +

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

2012-10-29 Thread Greg KH
On Mon, Oct 29, 2012 at 06:04:15PM -0700, George Zhang wrote: > +/* > + * vmci_get_context_id() - Gets the current context ID. > + * > + * Returns the current context ID. Note that since this is accessed only > + * from code running in the host, this always returns the host context ID. > + */ >

[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 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 georgezh...@vmware.com --- drivers/misc/vmw_vmci/vmci_driver.c | 159 +++ drivers/misc/vmw_vmci/vmci_driver.h | 50 +++ 2 files changed,

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

2012-10-29 Thread Greg KH
On Mon, Oct 29, 2012 at 06:04:15PM -0700, George Zhang wrote: +/* + * vmci_get_context_id() - Gets the current context ID. + * + * Returns the current context ID. Note that since this is accessed only + * from code running in the host, this always returns the host context ID. + */ +u32

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

2012-10-29 Thread Greg KH
On Mon, Oct 29, 2012 at 06:04:15PM -0700, George Zhang wrote: +static int __init vmci_core_init(void) +{ + int result; + + result = vmci_ctx_init(); + if (result VMCI_SUCCESS) { + pr_err(Failed to initialize VMCIContext (result=%d).\n, +

Re: [Pv-drivers] [PATCH 04/12] VMCI: device driver implementaton.

2012-10-29 Thread Dmitry Torokhov
On Mon, Oct 29, 2012 at 07:23:47PM -0700, Greg KH wrote: On Mon, Oct 29, 2012 at 06:04:15PM -0700, George Zhang wrote: +static int __init vmci_core_init(void) +{ + int result; + + result = vmci_ctx_init(); + if (result VMCI_SUCCESS) { + pr_err(Failed to initialize