WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Yet Another PCI passthrough question

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Yet Another PCI passthrough question
From: Andy Burns <xen.lists@xxxxxxxxxxx>
Date: Sat, 17 Sep 2011 14:22:40 +0100
Delivery-date: Sat, 17 Sep 2011 06:23:54 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=9RoA3SVIdeNEW+EFt86mw+eKM5rkQNLKsPbfD77kGpo=; b=N1RaXMeXfD91j3R8pj1O40x82arpxt2m6Dan4WTv6ZEiYHNF5vUG3m+6jzwIdfAncI j4bkUBOMwEInLHDsZol81W0x/pK796EU1Xabgyj4zA+eRJGGjKBerVz1PLscjCQ92oXE 7XCML+i5hZnwirz1O9+h4S+qWCMl+/m1jUX7Q=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1316175995.2436.7.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1FD06C1B2A7E4842A38834B8AB5B3CFE0326599B91@xxxxxxxxxxxxxxxxxxx> <1314823434.9190.3.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <1FD06C1B2A7E4842A38834B8AB5B3CFE03265E6363@xxxxxxxxxxxxxxxxxxx> <1314886850.542.9.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <1FD06C1B2A7E4842A38834B8AB5B3CFE032659A152@xxxxxxxxxxxxxxxxxxx> <1316175995.2436.7.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 16 September 2011 13:26, James Pifer <jep@xxxxxxxxxxxxxxxx> wrote:

> module /boot/vmlinuz-2.6.32.12-0.7-xen root=/dev/cciss/c0d0p2 
> resume=/dev/cciss/c0d0p1 splash=silent showopts vga=0x317 pciback.permissive 
> pciback.hide=(0e:04.0)(0e:04.1) pci=resource_alignment=0e:04.0;0e:04.1

One thing I've found when using grub2, then grub interprets the
semi-colon between multiple BDF triplets as a separator, e.g. in the
above case it
would only pass to the kernel

pci=resource_alignment=0e:04.0

and then give an error

error: unknown command `0e:04.1'

the fix is to wrap single quotes around the clause, e.g

module /boot/vmlinuz-2.6.32.12-0.7-xen root=/dev/cciss/c0d0p2
resume=/dev/cciss/c0d0p1 splash=silent showopts vga=0x317
pciback.permissive pciback.hide=(0e:04.0)(0e:04.1)
'pci=resource_alignment=0e:04.0;0e:04.1'

Hopefully google will squirrel this a way and it be useful to anyone
else hitting the same issue ...

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users