Re: [Qemu-devel] [PATCH] add CephFS support in VirtFS

2016-03-09 Thread Gerard Braad
Hi All, It has been a while since anyone responded to this thread, and I am quite interested in this functionality. What can be done this get this merged? For the details, please see: http://thread.gmane.org/gmane.comp.emulators.qemu/393583 http://thread.gmane.org/gmane.comp.file-systems.ce

Re: [Qemu-devel] [PATCH] add CephFS support in VirtFS

2016-03-09 Thread Greg Kurz
On Wed, 9 Mar 2016 11:10:39 +0800 Gerard Braad wrote: > Hi All, > > > It has been a while since anyone responded to this thread, and I am > quite interested in this functionality. > What can be done this get this merged? > Hi, I'll try to spend some time on it. Cheers. -- Greg > For the de

Re: [Qemu-devel] [PATCH] add CephFS support in VirtFS

2016-02-17 Thread Jevon Qiao
On 17/2/16 17:37, Daniel P. Berrange wrote: On Wed, Feb 17, 2016 at 03:32:06PM +0800, Jevon Qiao wrote: Hi Daniel, Thank you for reviewing my code, please see my reply in-line. On 15/2/16 17:17, Daniel P. Berrange wrote: On Sun, Feb 14, 2016 at 01:06:40PM +0800, Jevon Qiao wrote: + +static i

Re: [Qemu-devel] [PATCH] add CephFS support in VirtFS

2016-02-17 Thread Jevon Qiao
On 17/2/16 17:04, Greg Kurz wrote: On Wed, 17 Feb 2016 16:49:33 +0800 Jevon Qiao wrote: On 17/2/16 16:01, Greg Kurz wrote: On Wed, 17 Feb 2016 15:32:06 +0800 Jevon Qiao wrote: Hi Daniel, Thank you for reviewing my code, please see my reply in-line. On 15/2/16 17:17, Daniel P. Berrange

Re: [Qemu-devel] [PATCH] add CephFS support in VirtFS

2016-02-17 Thread Eric Blake
On 02/17/2016 02:37 AM, Daniel P. Berrange wrote: > If you have a branch holding a whole series of patches to submit, then > it is easier to automate it. eg > > git rebase -i master -x 'git show | ./scripts/checkpatch.pl -' Or even make it part of 'git commit': http://wiki.qemu.org/Contribute/Su

Re: [Qemu-devel] [PATCH] add CephFS support in VirtFS

2016-02-17 Thread Daniel P. Berrange
On Wed, Feb 17, 2016 at 03:32:06PM +0800, Jevon Qiao wrote: > Hi Daniel, > > Thank you for reviewing my code, please see my reply in-line. > On 15/2/16 17:17, Daniel P. Berrange wrote: > >On Sun, Feb 14, 2016 at 01:06:40PM +0800, Jevon Qiao wrote: > >>+ > >>+static int cephfs_parse_opts(QemuOpts *

Re: [Qemu-devel] [PATCH] add CephFS support in VirtFS

2016-02-17 Thread Greg Kurz
On Wed, 17 Feb 2016 16:49:33 +0800 Jevon Qiao wrote: > On 17/2/16 16:01, Greg Kurz wrote: > > On Wed, 17 Feb 2016 15:32:06 +0800 > > Jevon Qiao wrote: > > > >> Hi Daniel, > >> > >> Thank you for reviewing my code, please see my reply in-line. > >> On 15/2/16 17:17, Daniel P. Berrange wrote:

Re: [Qemu-devel] [PATCH] add CephFS support in VirtFS

2016-02-17 Thread Jevon Qiao
On 17/2/16 16:01, Greg Kurz wrote: On Wed, 17 Feb 2016 15:32:06 +0800 Jevon Qiao wrote: Hi Daniel, Thank you for reviewing my code, please see my reply in-line. On 15/2/16 17:17, Daniel P. Berrange wrote: On Sun, Feb 14, 2016 at 01:06:40PM +0800, Jevon Qiao wrote: diff --git a/configure b/c

Re: [Qemu-devel] [PATCH] add CephFS support in VirtFS

2016-02-17 Thread Greg Kurz
On Wed, 17 Feb 2016 15:32:06 +0800 Jevon Qiao wrote: > Hi Daniel, > > Thank you for reviewing my code, please see my reply in-line. > On 15/2/16 17:17, Daniel P. Berrange wrote: > > On Sun, Feb 14, 2016 at 01:06:40PM +0800, Jevon Qiao wrote: > >> diff --git a/configure b/configure > >> index 8

Re: [Qemu-devel] [PATCH] add CephFS support in VirtFS

2016-02-16 Thread Jevon Qiao
Hi Daniel, Thank you for reviewing my code, please see my reply in-line. On 15/2/16 17:17, Daniel P. Berrange wrote: On Sun, Feb 14, 2016 at 01:06:40PM +0800, Jevon Qiao wrote: diff --git a/configure b/configure index 83b40fc..cecece7 100755 --- a/configure +++ b/configure @@ -1372,6 +1377,7 @@

Re: [Qemu-devel] [PATCH] add CephFS support in VirtFS

2016-02-15 Thread Daniel P. Berrange
On Sun, Feb 14, 2016 at 01:06:40PM +0800, Jevon Qiao wrote: > diff --git a/configure b/configure > index 83b40fc..cecece7 100755 > --- a/configure > +++ b/configure > @@ -1372,6 +1377,7 @@ disabled with --disable-FEATURE, default is enabled if > available: >vhost-net vhost-net acceleratio

Re: [Qemu-devel] [PATCH] add CephFS support in VirtFS

2016-02-13 Thread Jevon Qiao
On 14/2/16 14:01, Aneesh Kumar K.V wrote: diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c index f972731..385c01d 100644 --- a/hw/9pfs/virtio-9p.c +++ b/hw/9pfs/virtio-9p.c @@ -1326,7 +1326,7 @@ out_nofid: static int32_t get_iounit(V9fsPDU *pdu, V9fsPath *path) { struct statfs

Re: [Qemu-devel] [PATCH] add CephFS support in VirtFS

2016-02-13 Thread Aneesh Kumar K.V
> diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c > index f972731..385c01d 100644 > --- a/hw/9pfs/virtio-9p.c > +++ b/hw/9pfs/virtio-9p.c > @@ -1326,7 +1326,7 @@ out_nofid: > static int32_t get_iounit(V9fsPDU *pdu, V9fsPath *path) > { > struct statfs stbuf; > -int32_t iounit =