[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] backport requests for 4.x-testing
On Wed, Mar 14, 2012 at 12:50 AM, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> wrote: > Roderick Colenbrander writes ("Re: [Xen-devel] backport requests for > 4.x-testing"): >> I would like to nominate 2 patches to be backported to Xen 4.1: >> 24458 (libxl: print out vifname in create dryrun.) >> 24459 (libxl: write vifname in xenstore if set.) > > I have backported 24458. 24459 looks fine to be for a backport but > doesn't apply cleanly to 4.1. Would you care to provide a backported > version ? Sorry, just feel bored and here is the backport version which I not sure whether is it right :p Mind to check? Thanks. libxl: write vifname in xenstore if set. Simple fix to enable user to specify vif names. Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell.com> xen-unstable changeset: 24459:caf9753d4cc1 Backport-requested-by: Roderick Colenbrander <thunderbird2k@xxxxxxxxx> diff -urN a/tools/libxl/libxl.c b/tools/libxl/libxl.c --- a/tools/libxl/libxl.c 2012-03-14 00:49:03.000000000 +0800 +++ b/tools/libxl/libxl.c 2012-03-14 01:15:27.000000000 +0800 @@ -1229,6 +1229,10 @@ flexarray_append(back, libxl__sprintf(&gc, "%d", 1)); flexarray_append(back, "script"); flexarray_append(back, nic->script); + if (nic->ifname) { + flexarray_append(back, "vifname"); + flexarray_append(back, nic->ifname); + } flexarray_append(back, "mac"); flexarray_append(back, libxl__sprintf(&gc, "%02x:%02x:%02x:%02x:%02x:%02x", nic->mac[0], nic->mac[1], nic->mac[2], > > Thanks, > Ian. Thanks. Kindest regards, Giam Teck Choon _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |