Re: [PATCHv8 0/3]virtio_console: Add rproc_serial driver

2012-11-05 Thread Amit Shah
On (Mon) 05 Nov 2012 [09:11:45], Rusty Russell wrote: Sjur Brændeland s...@brendeland.net writes: From: Sjur Brændeland sjur.brandel...@stericsson.com This patch-set introduces a new virtio type rproc_serial for communicating with remote processors over shared memory. The driver depends

Re: [PATCHv8 0/3]virtio_console: Add rproc_serial driver

2012-11-05 Thread Amit Shah
On (Mon) 05 Nov 2012 [11:31:24], Amit Shah wrote: On (Mon) 05 Nov 2012 [09:11:45], Rusty Russell wrote: Sjur Brændeland s...@brendeland.net writes: From: Sjur Brændeland sjur.brandel...@stericsson.com This patch-set introduces a new virtio type rproc_serial for communicating

Re: [PATCH 6/9] virtio_mmio: Cast resources[1].start to ‘unsigned int *’ to rid compiler warning

2012-11-05 Thread Pawel Moll
On Mon, 2012-11-05 at 08:21 +, Lee Jones wrote: processed = sscanf(str, @%lli:%u%n:%d%n, - base, resources[1].start, consumed, + base, (unsigned int *)resources[1].start, consumed, vm_cmdline_id, consumed); This suppresses a

[PATCH] virtio-mmio: Fix irq parsing in command line parameter

2012-11-05 Thread Pawel Moll
On 64-bit machines resource_size_t is a 64-bit value, while sscanf() format for this argument was defined as %u. Fixed by using an intermediate local value of a known length. Also added cleaned up the resource creation and adde extra comments to make the parameters parsing easier to follow.

Re: [PATCH] virtio-mmio: Fix irq parsing in command line parameter

2012-11-05 Thread Lee Jones
On Mon, 05 Nov 2012, Pawel Moll wrote: On 64-bit machines resource_size_t is a 64-bit value, while sscanf() format for this argument was defined as %u. Fixed by using an intermediate local value of a known length. Also added cleaned up the resource creation and adde extra comments to make

Re: [PATCH] virtio-mmio: Fix irq parsing in command line parameter

2012-11-05 Thread Pawel Moll
On Mon, 2012-11-05 at 13:44 +, Lee Jones wrote: On Mon, 05 Nov 2012, Pawel Moll wrote: On 64-bit machines resource_size_t is a 64-bit value, while sscanf() format for this argument was defined as %u. Fixed by using an intermediate local value of a known length. Also added cleaned

Re: [PATCH] virtio-mmio: Fix irq parsing in command line parameter

2012-11-05 Thread Lee Jones
On Mon, 05 Nov 2012, Pawel Moll wrote: On Mon, 2012-11-05 at 13:44 +, Lee Jones wrote: On Mon, 05 Nov 2012, Pawel Moll wrote: On 64-bit machines resource_size_t is a 64-bit value, while sscanf() format for this argument was defined as %u. Fixed by using an intermediate local

[PATCH 0/6] VSOCK for Linux upstreaming

2012-11-05 Thread George Zhang
* * * This series of VSOCK linux upstreaming patches include latest udpate from VMware. Summary of changes: - Add include/linux/socket.h for AF_VSOCK. - Cleanup some comments. - Cleanup makefiles. * * * In an effort to improve the out-of-the-box experience with Linux

[PATCH 2/6] VSOCK: vsock address implementaion.

2012-11-05 Thread George Zhang
VSOCK linux address code implementation. Signed-off-by: George Zhang georgezh...@vmware.com --- net/vmw_vsock/vsock_addr.c | 264 net/vmw_vsock/vsock_addr.h | 40 +++ 2 files changed, 304 insertions(+), 0 deletions(-) create mode 100644

[PATCH 4/6] VSOCK: statistics implementation.

2012-11-05 Thread George Zhang
VSOCK stats for VMCI Stream Sockets protocol. Signed-off-by: George Zhang georgezh...@vmware.com --- net/vmw_vsock/stats.c | 37 net/vmw_vsock/stats.h | 219 + 2 files changed, 256 insertions(+), 0 deletions(-) create mode 100644

[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 georgezh...@vmware.com --- include/linux/socket.h |4 net/Kconfig |1 net/Makefile|1 net/vmw_vsock/Kconfig

Re: [PATCH 0/6] VSOCK for Linux upstreaming

2012-11-05 Thread David Miller
The big and only question is whether anyone can actually use any of this stuff without your proprietary bits? ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Re: [PATCH 0/6] VSOCK for Linux upstreaming

2012-11-05 Thread David Miller
From: David Miller da...@davemloft.net Date: Mon, 05 Nov 2012 13:09:17 -0500 (EST) The big and only question is whether anyone can actually use any of this stuff without your proprietary bits? And BTW vm-crosst...@vmware.com bounces, take it out of the CC: list on all future emails.

Re: [Pv-drivers] [PATCH 0/6] VSOCK for Linux upstreaming

2012-11-05 Thread Andy King
Hi David, The big and only question is whether anyone can actually use any of this stuff without your proprietary bits? Do you mean the VMCI calls? The VMCI driver is in the process of being upstreamed into the drivers/misc tree. Greg (cc'd on these patches) is actively reviewing that code

Re: [PATCH 0/6] VSOCK for Linux upstreaming

2012-11-05 Thread Sasha Levin
Hi George, On Mon, Nov 5, 2012 at 1:00 PM, George Zhang georgezh...@vmware.com wrote: 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/. Is there

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 da...@davemloft.net To: georgezh...@vmware.com Cc: net...@vger.kernel.org, linux-ker...@vger.kernel.org, virtualization@lists.linux-foundation.org,

Re: [PATCH 0/6] VSOCK for Linux upstreaming

2012-11-05 Thread George Zhang
Sasha, There is a 'brief' implementation notes aboutVSOCK protocol family in af_vsock.c. More about user space layer socket programming is from VMCI Socket Programming Guide. (remove crosst...@vmware.com for email bouncing). thanks, George - Original Message - From: Sasha Levin

Re: [PATCHv8 0/3]virtio_console: Add rproc_serial driver

2012-11-05 Thread Rusty Russell
Amit Shah amit.s...@redhat.com writes: On (Mon) 05 Nov 2012 [11:31:24], Amit Shah wrote: On (Mon) 05 Nov 2012 [09:11:45], Rusty Russell wrote: Sjur Brændeland s...@brendeland.net writes: From: Sjur Brændeland sjur.brandel...@stericsson.com This patch-set introduces a new virtio

Re: [RFC virtio-next 0/4] Introduce CAIF Virtio and reversed Vrings

2012-11-05 Thread Rusty Russell
Sjur Brændeland sju...@gmail.com writes: Hi Rusty, So, this adds another host-side virtqueue implementation. Can we combine them together conveniently? You pulled out more stuff into vring.h which is a start, but it's a bit overloaded. Perhaps we should separate the common fields into