[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] libxl: fix indentation in libxl_dm.c for qemu


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Mon, 14 May 2012 16:32:24 +0000
  • Delivery-date: Mon, 14 May 2012 16:32:30 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Roger Pau Monne <roger.pau@xxxxxxxxxx>
# Date 1336667639 -3600
# Node ID 453bd08998001bb0212f6c4101bb6228ef70da1b
# Parent  8885452be593e503c5ca91a19412ec1eb69387c1
libxl: fix indentation in libxl_dm.c for qemu

Fixed indentation on Qemu argument construction for network devices.

Signed-off-by: Roger Pau Monne <roger.pau@xxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r 8885452be593 -r 453bd0899800 tools/libxl/libxl_dm.c
--- a/tools/libxl/libxl_dm.c    Thu May 10 17:33:58 2012 +0100
+++ b/tools/libxl/libxl_dm.c    Thu May 10 17:33:59 2012 +0100
@@ -216,8 +216,10 @@ static char ** libxl__build_device_model
                 else
                     ifname = vifs[i].ifname;
                 flexarray_vappend(dm_args,
-                                "-net", libxl__sprintf(gc, 
"nic,vlan=%d,macaddr=%s,model=%s",
-                                                       vifs[i].devid, smac, 
vifs[i].model),
+                                  "-net",
+                                  GCSPRINTF(
+                                      "nic,vlan=%d,macaddr=%s,model=%s",
+                                      vifs[i].devid, smac, vifs[i].model),
                                   "-net",
                                   GCSPRINTF(
                                       "tap,vlan=%d,ifname=%s,bridge=%s,"

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.