Re: [lxc-devel] [PATCH] implement backend drivers and container clone API (v2)

2013-04-24 Thread Serge Hallyn
After this patch, I'd like to only re-introduce the original lxc-clone bash script's command line options in the new c program, then push to staging. Subject: [PATCH 2/3] on copy-clone of btrfs, create a subvolume so that it can be snapshotted. Signed-off-by: Serge Hallyn --- src/lxc/bdev.c |

Re: [lxc-devel] [PATCH] implement backend drivers and container clone API (v2)

2013-04-24 Thread Serge Hallyn
Quoting S.Çağlar Onur (cag...@10ur.org): > Hi Serge, > > [resending as list rejected my first mail due to its size] > > On Wed, Apr 24, 2013 at 9:26 AM, Serge Hallyn wrote: > > > > +static void new_hwaddr(char *hwaddr) > > +{ > > + snprintf(hwaddr, 18, "00:16:3e:%02x:%02x:%02x", > > +

Re: [lxc-devel] [PATCH] implement backend drivers and container clone API (v2)

2013-04-24 Thread Serge Hallyn
Not sure why the patch didn't apply, I just cherrypicked it into staging with no complaints. Pushed to branch s.b.clone1. Quoting Serge Hallyn (serge.hal...@ubuntu.com): > Yup, it's branch s.9.clone6 in github.com/hallyn/lxc > > Quoting S.Çağlar Onur (cag...@10ur.org): > > Hi Serge, > > > > Als

Re: [lxc-devel] [PATCH] implement backend drivers and container clone API (v2)

2013-04-24 Thread Serge Hallyn
Quoting S.Çağlar Onur (cag...@10ur.org): > Hi Serge, > > [resending as list rejected my first mail due to its size] > > On Wed, Apr 24, 2013 at 9:26 AM, Serge Hallyn wrote: > > > > +static void new_hwaddr(char *hwaddr) > > +{ > > + snprintf(hwaddr, 18, "00:16:3e:%02x:%02x:%02x", > > +

Re: [lxc-devel] [PATCH] implement backend drivers and container clone API (v2)

2013-04-24 Thread Serge Hallyn
Yup, it's branch s.9.clone6 in github.com/hallyn/lxc Quoting S.Çağlar Onur (cag...@10ur.org): > Hi Serge, > > Also do you have a git repository somewhere to pull this patch as this one > won't apply cleanly on top of staging tree and I wanted to give it a try. > > > On Wed, Apr 24, 2013 at 11:5

Re: [lxc-devel] [PATCH] implement backend drivers and container clone API (v2)

2013-04-24 Thread S . Çağlar Onur
Hi Serge, Also do you have a git repository somewhere to pull this patch as this one won't apply cleanly on top of staging tree and I wanted to give it a try. On Wed, Apr 24, 2013 at 11:51 AM, S.Çağlar Onur wrote: > Hi Serge, > > [resending as list rejected my first mail due to its size] > > O

Re: [lxc-devel] [PATCH] implement backend drivers and container clone API (v2)

2013-04-24 Thread S . Çağlar Onur
Hi Serge, [resending as list rejected my first mail due to its size] On Wed, Apr 24, 2013 at 9:26 AM, Serge Hallyn wrote: > > +static void new_hwaddr(char *hwaddr) > +{ > + snprintf(hwaddr, 18, "00:16:3e:%02x:%02x:%02x", > + rand() % 255, rand() % 255, rand() % 255); >