From: Ian Jackson Subject: Re: Unable to create VM with nic device on Arndale Date: Wed, 18 Dec 2013 12:46:23 +0000 Message-ID: <21169.39199.902511.563980@mariner.uk.xensource.com> References: <52B181EB.6080303@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: Eugene Fedotov , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Stefano Stabellini writes ("Re: [Xen-devel] Unable to create VM with nic device on Arndale"): > On Wed, 18 Dec 2013, Eugene Fedotov wrote: ... > > "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 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). This is just the asynchronous callback structure. There's a function which starts the addition of NICs and arranges when it's done for the next function to be called, which is the one for adding vtpms. > Is it possible that the error message is actually wrong? > I guess the error is just related to the creation of the vif somehow but > it is printed by domcreate_attach_vtpms because it is the first callback > being called. Exactly. It's very unhelpful that this is the only message being printed. There really ought to be a message about which NIC failed. Can you try it again with "xl -vvvv" ? Ian.