From xen-devel-bounces@lists.xen.org Mon Feb 24 10:55:35 2014 Received: (at maildrop) by bugs.xenproject.org; 24 Feb 2014 10:55:35 +0000 Received: from lists.xen.org ([50.57.142.19]) by bugs.xenproject.org with esmtp (Exim 4.80) (envelope-from ) id 1WHtCB-0001iw-GX for xen-devel-maildrop-Eithu9ie@bugs.xenproject.org; Mon, 24 Feb 2014 10:55:35 +0000 Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WHt6h-0003DD-Ud; Mon, 24 Feb 2014 10:49:55 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WHt6g-0003D8-Fc for xen-devel@lists.xenproject.org; Mon, 24 Feb 2014 10:49:54 +0000 Received: from [85.158.139.211:13908] by server-17.bemta-5.messagelabs.com id E5/5F-31975-1D32B035; Mon, 24 Feb 2014 10:49:53 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-9.tower-206.messagelabs.com!1393238979!5789751!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n X-StarScan-Received: X-StarScan-Version: 6.9.16; banners=-,-,- X-VirusChecked: Checked Received: (qmail 1856 invoked from network); 24 Feb 2014 10:49:41 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-9.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 24 Feb 2014 10:49:41 -0000 X-IronPort-AV: E=Sophos;i="4.97,534,1389744000"; d="scan'208";a="103492540" Received: from accessns.citrite.net (HELO FTLPEX01CL03.citrite.net) ([10.9.154.239]) by FTLPIPO02.CITRIX.COM with ESMTP; 24 Feb 2014 10:49:39 +0000 Received: from [10.80.2.80] (10.80.2.80) by FTLPEX01CL03.citrite.net (10.13.107.80) with Microsoft SMTP Server id 14.2.342.4; Mon, 24 Feb 2014 05:49:38 -0500 Message-ID: <1393238977.16570.37.camel@kazak.uk.xensource.com> From: Ian Campbell To: Sander Eikelenboom Date: Mon, 24 Feb 2014 10:49:37 +0000 In-Reply-To: <974010162.20140221153400@eikelenboom.it> References: <974010162.20140221153400@eikelenboom.it> Organization: Citrix Systems, Inc. X-Mailer: Evolution 3.4.4-3 MIME-Version: 1.0 X-Originating-IP: [10.80.2.80] X-DLP: MIA2 Cc: xen-devel Subject: Re: [Xen-devel] xen-unstable pci passthrough: bug in accounting assigned pci devices when assignment has failed X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org graft 27 ^ thanks Adding this info to the bug for the benefit of whoever ends up looking at it. Thanks. Ian. On Fri, 2014-02-21 at 15:34 +0100, Sander Eikelenboom wrote: > Hi Ian, > > It was decided that the bug that domain creation does not fail on non assignable pci devices was deferred to 4.5. > (and it wouldn't prevent this bug anyhow when doing pci hotplug with xl pci-attach) > > But there seems to be a bug in the error path: > > root@creanuc:~# xl pci-assignable-list > 0000:02:00.0 > > Now when i boot a VM with pci=['00:19.0'] in it's config file ... which is not assignable: > > root@creanuc:~# xl create /etc/xen/domU/router.hvm > Parsing config from /etc/xen/domU/router.hvm > libxl: error: libxl_pci.c:1060:libxl__device_pci_add: PCI device 0:0:19.0 is not assignable > > That looks ok ... and the pci device is not visible / accessible in the guest ... but it seems the entry is still in xenstore nevertheless: > > root@creanuc:~# xl pci-list router > Vdev Device > 00.0 0000:00:19.0 > > -- > Sander > _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel