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/
Home Products Support Community News


[Xen-devel] xenstore pci global parameters

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: [Xen-devel] xenstore pci global parameters
From: Qing He <qing.he@xxxxxxxxx>
Date: Wed, 2 Dec 2009 16:10:29 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 02 Dec 2009 00:11:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
Hi Stefano,
        I noticed that the MSI-INTx translation doesn't work in
recent xen-unstable. After some investigation, it tracks down to
the change in changeset 20348. And with the fix from 20397, the
pci devclass is now created at the time of the first pci device
assignment, either it's booting device or hotplug device.

        However, one of the problem is that pci devclass provides
pci global parameters, for example, pci_msitranslate and
pci_power_mgmt. The device model used to get the value of these
global parameters at init time, but now, it won't see anything
since the pci block in xenstore doesn't exist at that time.
So the problem now is that these parameters are bypassed and
the guest can't benefit from it. I can add some flags in qemu
similar to first_dev, but that looks a little weird.

        I'm not very familiar with stubdom initialization, so
I'd like to know how the pci devclass is used in the stubdom,
and why there is some circular dependency?


Xen-devel mailing list

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