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

On Sat, Sep 17, 2011 at 02:22:40PM +0100, Andy Burns wrote:
> 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 ...
> 

Thanks! I added a note about this grub2 issue to:
http://wiki.xen.org/xenwiki/XenPCIpassthrough

-- Pasi


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

<Prev in Thread] Current Thread [Next in Thread>