From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: David Vrabel <david.vrabel@citrix.com>
Cc: xen-devel@lists.xenproject.org, jbeulich@suse.com
Subject: Re: PCI passthrough (pci-attach) to HVM guests bug (BAR64 addresses are bogus)
Date: Mon, 10 Nov 2014 13:07:20 -0500 [thread overview]
Message-ID: <20141110180720.GA15286@laptop.dumpdata.com> (raw)
In-Reply-To: <5460F908.4040208@citrix.com>
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
next prev parent reply other threads:[~2014-11-10 18:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-10 17:32 PCI passthrough (pci-attach) to HVM guests bug (BAR64 addresses are bogus) Konrad Rzeszutek Wilk
2014-11-10 17:42 ` David Vrabel
2014-11-10 18:07 ` Konrad Rzeszutek Wilk [this message]
2014-11-10 21:32 ` Konrad Rzeszutek Wilk
2014-11-12 1:37 ` Konrad Rzeszutek Wilk
2014-11-12 9:24 ` Jan Beulich
2014-11-12 10:01 ` Malcolm Crossley
2014-11-12 10:11 ` Jan Beulich
2014-11-12 10:41 ` Malcolm Crossley
2014-11-12 15:14 ` Konrad Rzeszutek Wilk
2014-11-12 17:24 ` Jan Beulich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141110180720.GA15286@laptop.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=david.vrabel@citrix.com \
--cc=jbeulich@suse.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.