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

Re: [Xen-devel] Unable to create VM with nic device on Arndale



On Wed, 2013-12-18 at 15:07 +0400, Eugene Fedotov wrote:
> Hello!
> Could someone check VIF creation on ARM ?
> 
> My domU's config is following:
> extra = "console=hvc0 debug ipv6.disable=1";
> kernel = "/boot/zImageU"
> memory = 128
> name = "domU-1"
> vcpus = 1
> vif = [ 'script=/etc/xen/scripts/vif-route, ip=10.0.0.1' ];

The parser doesn't handle spaces well.

> 
> "xl create domU.conf" causes following output:
> Parsing config from domU.conf
> libxl: error: libxl_create.c:1180:domcreate_attach_vtpms: unable to add 
> nic devices
> libxl: error: libxl_device.c:780:libxl__initiate_device_remove: unable 
> to get my domid
> libxl: error: libxl.c:1452:devices_destroy_cb: libxl__devices_destroy 
> failed for 1
> 
> Libxl code assumes that domcreate_attach_vtpms handler called, that 
> calls domcreate_attach_pci.
> Why vif is logically depend on PCI and vtpm on ARM platform? (it is 
> confusing).

It's a nasty side effect of the way libxl is structured internally as a
sequence of steps. The vtpm step follows the nic test and each step
checks for success failure in the previous step. This is very
confusing...

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®.