[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] PCI passthrough (pci-attach) to HVM guests bug (BAR64 addresses are bogus)



On Mon, Nov 10, 2014 at 05:42:32PM +0000, David Vrabel wrote:
> On 10/11/14 17:32, Konrad Rzeszutek Wilk wrote:
> > Hey,
> > 
> > With Xen 4.5 (today's staging), when I boot a guest and then do pci-attach
> > the BARs values are corrupt.
> 
> Corrupt?
> 
> > [  152.572965] pci 0000:00:04.0: BAR 1: no space for [mem size 0x08000000 
> > 64bit  pref]
> 
> Looks like the default MMIO hole isn't large enough for this device.

The BARs are 32M, 64M, 128MB and the MMIO is 2GB.

It looks like the BAR value is corrupted as:

(dom0):
[   22.834109] pci 0000:05:00.0: reg 0x14: [mem 0xd0000000-0xd7ffffff 64bit 
pref]
                                                  ^ - here we have '0xd'
guest:
[  152.518320] pci 0000:00:04.0: reg 0x14: [mem 0x00000000-0x07ffffff 64bit 
pref]


See that '0xd' gone in the guest?



> 
> David

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.