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

Re: [Xen-devel] [PATCH v5] libxl: usb2 and usb3 controller support for upstream qemu



On Mon, 2013-09-23 at 10:56 +0200, Fabio Fantoni wrote:

> 
> I tried to change this part with:
> flexarray_vappend(dm_args, "-device",
>                         GCSPRINTF("ich9-usb-uhci%d,masterbus=usb.0,"
>                         "firstport=%d,addr=0x1d.%#x,multifunction=on",
>                         i, 2*(i-1), i-1) );
> 
> But on xl create it stops with segfault:
> xl -vvv create /etc/xen/W7.cfg
> ...
> libxl: debug: libxl_dm.c:1286:libxl__spawn_local_dm:   -device
> libxl: debug: libxl_dm.c:1286:libxl__spawn_local_dm:
> ich9-usb-uhci1,masterbus=usb.0,firstport=0,addr=0x1d.0,multifunction=on
> libxl: debug: libxl_dm.c:1286:libxl__spawn_local_dm:   
> Segfault error
> 
> I not understand what is the problem, can someone help me to solve
> please?

flexarray_vappend needs a NULL terminator. You want ..._append_pair.

Ian.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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