From: anthony.perard@citrix.com
To: Xen Devel <xen-devel@lists.xensource.com>
Cc: anthony.perard@citrix.com
Subject: [PATCH V2 2/2] libxl: Lists qdisk device in libxl_device_disk_list
Date: Thu, 6 Jan 2011 17:50:38 +0000 [thread overview]
Message-ID: <1294336238-29822-2-git-send-email-anthony.perard@citrix.com> (raw)
In-Reply-To: <19749.53779.853334.446731@mariner.uk.xensource.com>
From: Anthony PERARD <anthony.perard@citrix.com>
As libxl switch to qdisk when blktap isn't available, this patch makes
libxl_device_disk_list also list qdisk device. So
libxl_build_device_model_args_new will be able to add qdisk device to
the command line options of Qemu.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
tools/libxl/libxl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c
index 79ad06c..fa42d98 100644
--- a/tools/libxl/libxl.c
+++ b/tools/libxl/libxl.c
@@ -2572,6 +2572,7 @@ libxl_device_disk *libxl_device_disk_list(libxl_ctx *ctx, uint32_t domid, int *n
*num = libxl_append_disk_list_of_type(ctx, domid, "vbd", &disks, &ndisks);
*num += libxl_append_disk_list_of_type(ctx, domid, "tap", &disks, &ndisks);
+ *num += libxl_append_disk_list_of_type(ctx, domid, "qdisk", &disks, &ndisks);
return disks;
}
--
1.7.1
next prev parent reply other threads:[~2011-01-06 17:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-16 14:16 [PATCH] libxl: Specify the target ram size to Qemu (new) when calling it anthony.perard
2010-12-16 14:16 ` [PATCH] libxl: Lists qdisk device in libxl_device_disk_list anthony.perard
2011-01-06 14:30 ` Ian Jackson
2011-01-06 17:50 ` [PATCH V2 1/2] libxl: Factorize function libxl_device_disk_list anthony.perard
2011-01-06 18:04 ` Ian Jackson
2011-01-06 17:50 ` anthony.perard [this message]
2011-01-06 18:05 ` [PATCH V2 2/2] libxl: Lists qdisk device in libxl_device_disk_list Ian Jackson
2011-01-06 14:28 ` [PATCH] libxl: Specify the target ram size to Qemu (new) when calling it Ian Jackson
2011-01-06 14:35 ` Keir Fraser
2011-01-06 15:12 ` Anthony PERARD
2011-01-06 15:46 ` Ian Jackson
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=1294336238-29822-2-git-send-email-anthony.perard@citrix.com \
--to=anthony.perard@citrix.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).