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

Serge Hallyn serge.hallyn at ubuntu.com
Wed Apr 24 17:05:21 UTC 2013


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.hallyn at ubuntu.com):
> Yup, it's branch s.9.clone6 in github.com/hallyn/lxc
> 
> Quoting S.Çağlar Onur (caglar at 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:51 AM, S.Çağlar Onur <caglar at 10ur.org> wrote:
> > 
> > > Hi Serge,
> > >
> > > [resending as list rejected my first mail due to its size]
> > >
> > > On Wed, Apr 24, 2013 at 9:26 AM, Serge Hallyn <serge.hallyn at ubuntu.com>wrote:
> > >
> > >> +static void new_hwaddr(char *hwaddr)
> > >> +{
> > >> +       snprintf(hwaddr, 18, "00:16:3e:%02x:%02x:%02x",
> > >> +                       rand() % 255, rand() % 255, rand() % 255);
> > >> +}
> > >>
> > >
> > > I believe we need to call srand here otherwise it will always give the
> > > same set of numbers with the same sequence
> > >
> > > --
> > > S.Çağlar Onur <caglar at 10ur.org>
> > >
> > 
> > 
> > 
> > -- 
> > S.Çağlar Onur <caglar at 10ur.org>
> 
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service 
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel




More information about the lxc-devel mailing list