From: Wei Liu <wei.liu2@citrix.com>
To: xen-devel@lists.xensource.com
Cc: andy@strugglers.net, florian.heigl@gmail.com, wei.liu2@citrix.com
Subject: [PATCH 1/2] libxl: print out vifname in create dryrun.
Date: Thu, 29 Dec 2011 11:14:35 +0000 [thread overview]
Message-ID: <1325157276-4847-2-git-send-email-wei.liu2@citrix.com> (raw)
In-Reply-To: <1325157276-4847-1-git-send-email-wei.liu2@citrix.com>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
tools/libxl/xl_cmdimpl.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c
index 8270f34..8da8b88 100644
--- a/tools/libxl/xl_cmdimpl.c
+++ b/tools/libxl/xl_cmdimpl.c
@@ -419,6 +419,8 @@ static void printf_info(int domid,
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);
--
1.7.2.5
next prev parent reply other threads:[~2011-12-29 11:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-29 11:14 libxl: simple fix to enable user to configure vif names Wei Liu
2011-12-29 11:14 ` Wei Liu [this message]
2012-01-03 10:16 ` [PATCH 1/2] libxl: print out vifname in create dryrun Ian Campbell
2011-12-29 11:14 ` [PATCH 2/2] libxl: write vifname in xenstore if set Wei Liu
2012-01-03 10:16 ` Ian Campbell
2012-01-03 10:39 ` Wei Liu
2012-01-03 16:20 ` Florian Manschwetus
2012-01-05 17:14 ` Ian Jackson
2011-12-31 15:01 ` libxl: simple fix to enable user to configure vif names Florian Heigl
2012-01-01 11:56 ` Wei Liu
2012-01-04 12:42 ` Wei Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1325157276-4847-2-git-send-email-wei.liu2@citrix.com \
--to=wei.liu2@citrix.com \
--cc=andy@strugglers.net \
--cc=florian.heigl@gmail.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).