From xen-devel-bounces@lists.xen.org Fri Feb 21 14:39:18 2014 Received: (at maildrop) by bugs.xenproject.org; 21 Feb 2014 14:39:18 +0000 Received: from lists.xen.org ([50.57.142.19]) by bugs.xenproject.org with esmtp (Exim 4.80) (envelope-from ) id 1WGrG2-0001zu-Rx for xen-devel-maildrop-Eithu9ie@bugs.xenproject.org; Fri, 21 Feb 2014 14:39:18 +0000 Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WGrAy-00022j-V1; Fri, 21 Feb 2014 14:34:04 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WGrAx-00022c-KL for xen-devel@lists.xenproject.org; Fri, 21 Feb 2014 14:34:03 +0000 Received: from [85.158.137.68:53982] by server-10.bemta-3.messagelabs.com id 3B/87-07302-AD367035; Fri, 21 Feb 2014 14:34:02 +0000 X-Env-Sender: linux@eikelenboom.it X-Msg-Ref: server-12.tower-31.messagelabs.com!1392993242!593332!1 X-Originating-IP: [84.200.39.61] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 6.9.16; banners=-,-,- X-VirusChecked: Checked Received: (qmail 20978 invoked from network); 21 Feb 2014 14:34:02 -0000 Received: from vserver.eikelenboom.it (HELO smtp.eikelenboom.it) (84.200.39.61) by server-12.tower-31.messagelabs.com with DHE-RSA-AES128-SHA encrypted SMTP; 21 Feb 2014 14:34:02 -0000 Received: from 207-69-ftth.on.nl ([88.159.69.207]:51212 helo=[172.16.1.20]) by smtp.eikelenboom.it with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1WGr9m-0000Io-L9; Fri, 21 Feb 2014 15:32:50 +0100 Date: Fri, 21 Feb 2014 15:34:00 +0100 From: Sander Eikelenboom Organization: Eikelenboom IT services X-Priority: 3 (Normal) Message-ID: <974010162.20140221153400@eikelenboom.it> To: Ian Campbell MIME-Version: 1.0 Cc: xen-devel Subject: [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 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