WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH V2 5/5] libxl: Lists qdisk device in libxl_device

To: "anthony.perard@xxxxxxxxxx" <anthony.perard@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH V2 5/5] libxl: Lists qdisk device in libxl_device_disk_list
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Mon, 13 Dec 2010 18:07:54 +0000
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 13 Dec 2010 10:16:52 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1292246143-31045-6-git-send-email-anthony.perard@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1292246143-31045-1-git-send-email-anthony.perard@xxxxxxxxxx> <1292246143-31045-6-git-send-email-anthony.perard@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Mon, 13 Dec 2010, anthony.perard@xxxxxxxxxx wrote:
> From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
> 
> 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.

This patch fails to compile:

libxl.c:2553:66: error: macro "strchr" requires 2 arguments, but only 1 given
cc1: warnings being treated as errors
libxl.c: In function ‘libxl_device_disk_list’:
libxl.c:2553: error: passing argument 1 of ‘strlen’ from incompatible pointer 
type
/usr/include/string.h:397: note: expected ‘const char *’ but argument is of 
type ‘char * (*)(const char *, int)’
libxl.c:2553: error: passing argument 1 of ‘__strdup’ from incompatible pointer 
type
/usr/include/bits/string2.h:1303: note: expected ‘const char *’ but argument is 
of type ‘char * (*)(const char *, int)’


I have applied patch 1, 2 and 4.
Next time please add an explicit signed-off-by line to your patches.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel