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

[Xen-changelog] [xen-unstable] libxl: print out vifname in create dryrun.



# HG changeset patch
# User Wei Liu <wei.liu2@xxxxxxxxxx>
# Date 1325783613 0
# Node ID 19ac027a3c311159dc0f3696d6e571314f0bf0c3
# Parent  aaad6a035efb0fcd2d3d7a7320ce9b8ead0ba163
libxl: print out vifname in create dryrun.

Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
Acked-by: Ian Campbell <ian.campbell.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
---


diff -r aaad6a035efb -r 19ac027a3c31 tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c  Thu Jan 05 15:51:28 2012 +0000
+++ b/tools/libxl/xl_cmdimpl.c  Thu Jan 05 17:13:33 2012 +0000
@@ -419,6 +419,8 @@
     for (i = 0; i < d_config->num_vifs; i++) {
         printf("\t(device\n");
         printf("\t\t(vif\n");
+        if (d_config->vifs[i].ifname)
+            printf("\t\t\t(vifname %s)\n", d_config->vifs[i].ifname);
         printf("\t\t\t(backend_domid %d)\n", d_config->vifs[i].backend_domid);
         printf("\t\t\t(frontend_domid %d)\n", domid);
         printf("\t\t\t(devid %d)\n", d_config->vifs[i].devid);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
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®.