From xen-devel-bounces@lists.xen.org Thu Oct 31 21:36:54 2013 Received: (at maildrop) by bugs.xenproject.org; 31 Oct 2013 21:36:54 +0000 Received: from lists.xen.org ([50.57.142.19]) by bugs.xenproject.org with esmtp (Exim 4.80) (envelope-from ) id 1VbzvC-0001TB-Ps for xen-devel-maildrop-Eithu9ie@bugs.xenproject.org; Thu, 31 Oct 2013 21:36:54 +0000 Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Vbzrf-0006vc-EP; Thu, 31 Oct 2013 21:33:15 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Vbznz-0006jN-Ez for xen-devel@lists.xen.org; Thu, 31 Oct 2013 21:29:27 +0000 Received: from [85.158.137.68:44832] by server-5.bemta-3.messagelabs.com id 61/32-25946-6BBC2725; Thu, 31 Oct 2013 21:29:26 +0000 X-Env-Sender: saurabh.globe@gmail.com X-Msg-Ref: server-2.tower-31.messagelabs.com!1383254964!935882!1 X-Originating-IP: [209.85.128.174] X-SpamReason: No, hits=0.9 required=7.0 tests=BODY_RANDOM_LONG, HTML_50_60, HTML_MESSAGE, ML_RADAR_SPEW_LINKS_14, RCVD_BY_IP, spamassassin: X-StarScan-Received: X-StarScan-Version: 6.9.12; banners=-,-,- X-VirusChecked: Checked Received: (qmail 14928 invoked from network); 31 Oct 2013 21:29:25 -0000 Received: from mail-ve0-f174.google.com (HELO mail-ve0-f174.google.com) (209.85.128.174) by server-2.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 31 Oct 2013 21:29:25 -0000 Received: by mail-ve0-f174.google.com with SMTP id pa12so2512637veb.5 for ; Thu, 31 Oct 2013 14:29:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Dk4QmNIzOFayuHL3XmEe+JZcRjeyTGyTj+pj6Wh046w=; b=M48hYIrelSSzetTOsGdKjf2RzAS7ql2s3fcl4SgHQ1YXSzr+1C3/7/vulXg3YZkUvJ PspaNSad1wQ3PqxKz7kPh4Gjnfm4rhR7TIcYGlyd3KrOTTN52dXJYTccxwqzXaIDx5UT orxDRtO6zDlumFWCbbqLbjqpoui1zmKwt/oWjHEkpzVKCrrdrRgDHqOLOWaLRpZsIvEg Sh8VQ2KlQYX93XIcb3aXh2yG3B0LIvAAUVWqZ8ssQZMa2i1hQozm2qbsW0fbFhdwmdsC KLyknYPliyObGdIB8xwf4vl1gDQ9uYBWC2O9ABKV8WpkK2LMqoW8nRwLAWLrTV5GpAUk A9yw== MIME-Version: 1.0 X-Received: by 10.220.86.69 with SMTP id r5mr3309489vcl.9.1383254964551; Thu, 31 Oct 2013 14:29:24 -0700 (PDT) Received: by 10.58.97.197 with HTTP; Thu, 31 Oct 2013 14:29:24 -0700 (PDT) Date: Thu, 31 Oct 2013 14:29:24 -0700 Message-ID: From: Saurabh Mishra To: xen-devel@lists.xen.org X-Mailman-Approved-At: Thu, 31 Oct 2013 21:33:14 +0000 Subject: [Xen-devel] PCI Passthrough question (xm->xl migration in Xen 4.2.2) 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: multipart/mixed; boundary="===============2785753107051696667==" Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org --===============2785753107051696667== Content-Type: multipart/alternative; boundary=001a11c1ff44cbc78004ea10240f --001a11c1ff44cbc78004ea10240f Content-Type: text/plain; charset=ISO-8859-1 In XM toolchain, we use to put pci = [ '0000:07:11.6=0@1a' ] but looks like in XL toolchain there is no way to specify function in the guest. Kindly let me know. XM - pci = [ '0000:07:11.6=0@1a' ] XL - pci = [ '0000:07:11.6@1a' ] In the guest VM we see that PCI device is getting 0 function in both the cases however, it may not work the same way in the future. *lspci -nn* 00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02) 00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000] 00:01.1 IDE interface [0101]: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] [8086:7010] 00:01.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 01) 00:02.0 VGA compatible controller [0300]: Cirrus Logic GD 5446 [1013:00b8] 00:03.0 Unknown class [ff80]: XenSource, Inc. Xen Platform Device [5853:0001] (rev 01) *00:1a.0 Ethernet controller [0200]: Intel Corporation 82559 Ethernet Controller Virtual Function [8086:10ed] (rev 01)* * * Thanks, /Saurabh --001a11c1ff44cbc78004ea10240f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
In XM toolchain, we use to put=A0pci =3D [ '0000:0= 7:11.6=3D0@1a' ] but looks like in XL toolchain there is no way to spec= ify function in the guest.

Kindly let me know.

XM =A0-=A0pci =3D [ '0000:07:11.6=3D0@= 1a' ]
XL =A0 -=A0pci =3D [ '0000:07:11.6@1a' ]=

In the guest VM we see that PCI device is getting 0 function in both= the cases however, it may not work the same way in the future.

lspci -nn

=
00:00.= 0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:= 1237] (rev 02)
00:01.0 ISA bridge [0601]: Intel Corporation 82371= SB PIIX3 ISA [Natoma/Triton II] [8086:7000]
00:01.1 IDE interface [0101]: Intel Corporation 82371SB PIIX3 IDE [Nat= oma/Triton II] [8086:7010]
00:01.3 Bridge [0680]: Intel Corporati= on 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 01)
00:02.0 VGA comp= atible controller [0300]: Cirrus Logic GD 5446 [1013:00b8]
00:03.0 Unknown class [ff80]: XenSource, Inc. Xen Platform Device [585= 3:0001] (rev 01)
00:1a.0 Ethernet controller [0200]: Intel Cor= poration 82559 Ethernet Controller Virtual Function [8086:10ed] (rev 01)


Thanks,
<= span style=3D"color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13p= x">/Saurabh
--001a11c1ff44cbc78004ea10240f-- --===============2785753107051696667== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============2785753107051696667==--