Re: [Qemu-devel] [PATCH] ivshmem: Store file descriptor for vhost-user negotiation

2016-01-11 Thread Tetsuya Mukawa
On 2016/01/12 4:20, Markus Armbruster wrote: > Marc-André Lureau writes: > >> Hi >> >> On Fri, Dec 4, 2015 at 3:55 PM, Tetsuya Mukawa wrote: What's the use case or test case? >>> One of example is userspace device driver like DPDK PMD. >>> Actually, I've found this fd related behavior using

Re: [Qemu-devel] [PATCH] ivshmem: Store file descriptor for vhost-user negotiation

2016-01-11 Thread Markus Armbruster
Marc-André Lureau writes: > Hi > > On Fri, Dec 4, 2015 at 3:55 PM, Tetsuya Mukawa wrote: >>> What's the use case or test case? >> >> One of example is userspace device driver like DPDK PMD. >> Actually, I've found this fd related behavior using DPDK virtio-net PMD. >> Could you please check belo

Re: [Qemu-devel] [PATCH] ivshmem: Store file descriptor for vhost-user negotiation

2015-12-07 Thread Tetsuya Mukawa
2015-12-07 20:31 GMT+09:00 Marc-André Lureau : > Hi > > On Fri, Dec 4, 2015 at 3:55 PM, Tetsuya Mukawa wrote: >>> What's the use case or test case? >> >> One of example is userspace device driver like DPDK PMD. >> Actually, I've found this fd related behavior using DPDK virtio-net PMD. >> Could yo

Re: [Qemu-devel] [PATCH] ivshmem: Store file descriptor for vhost-user negotiation

2015-12-07 Thread Marc-André Lureau
Hi On Fri, Dec 4, 2015 at 3:55 PM, Tetsuya Mukawa wrote: >> What's the use case or test case? > > One of example is userspace device driver like DPDK PMD. > Actually, I've found this fd related behavior using DPDK virtio-net PMD. > Could you please check below to know my use case more? > http://t

Re: [Qemu-devel] [PATCH] ivshmem: Store file descriptor for vhost-user negotiation

2015-12-04 Thread Tetsuya Mukawa
2015-12-04 22:20 GMT+09:00 Marc-André Lureau : > Hi > > On Fri, Dec 4, 2015 at 4:52 AM, Tetsuya Mukawa wrote: >> If virtio-net driver allocates memory in vishmem shared memory, > > s/vishmem/ivshmem Thanks, I will fix it. > > How can virtio-net allocate memory in ivshmem memory bar? > > What's t

Re: [Qemu-devel] [PATCH] ivshmem: Store file descriptor for vhost-user negotiation

2015-12-04 Thread Marc-André Lureau
Hi On Fri, Dec 4, 2015 at 4:52 AM, Tetsuya Mukawa wrote: > If virtio-net driver allocates memory in vishmem shared memory, s/vishmem/ivshmem How can virtio-net allocate memory in ivshmem memory bar? What's the use case or test case? > vhost-net will work correctly, but vhost-user will not wor

[Qemu-devel] [PATCH] ivshmem: Store file descriptor for vhost-user negotiation

2015-12-03 Thread Tetsuya Mukawa
If virtio-net driver allocates memory in vishmem shared memory, vhost-net will work correctly, but vhost-user will not work because a fd of shared memory will not be sent to vhost-user backend. This patch fixes ivshmem to store file descriptor of shared memory. It will be used when vhost-user negot