|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [pvops-dom0] [patch] Hook Linux's PCI probe and remove c
To: |
"Kay, Allen M" <allen.m.kay@xxxxxxxxx> |
Subject: |
Re: [Xen-devel] [pvops-dom0] [patch] Hook Linux's PCI probe and remove callbacks |
From: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> |
Date: |
Mon, 20 Jul 2009 10:00:57 -0700 |
Cc: |
"'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Han, Weidong" <weidong.han@xxxxxxxxx>, 'Keir Fraser' <Keir.Fraser@xxxxxxxxxxxxx>, Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> |
Delivery-date: |
Mon, 20 Jul 2009 10:01:29 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<57C9024A16AD2D4C97DC78E552063EA3A90A8D30@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
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> |
References: |
<715D42877B251141A38726ABF5CABF2C0545AE597D@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4A6105CA.1000904@xxxxxxxx> <57C9024A16AD2D4C97DC78E552063EA3A90A8D30@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 |
On 07/17/09 16:42, Kay, Allen M wrote:
> These hooks for two purposes:
>
> 1) Enabling of a SR-IOV virtual function. The hypercall will tell xen to
> setup VT-d context entries for the BDF corresponding to the new virtual
> function. This is required for SR-IOV to work.
>
> 2) PCI hot-plug support when devices are hot added/removed. Vt-d context
> entries and data structures in Xen needs to be modified accordingly.
>
> These hooks needs to be enabled before either of these functions are
> performed - I assume after dom0 boots.
>
> Can you suggest a better way to do this?
>
The best person to ask is probably Jesse Barnes (cc:d).
In general the way to approach these things is to either find something
in the kernel which does something analogous and use the same
interfaces, possibly extending them a bit if necessary.
J
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|