|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] 82576 VF passthrough
To: |
"Rose, Gregory V" <gregory.v.rose@xxxxxxxxx>, Satish Chowdhury <satish.chowdhury@xxxxxxxxxxxxxxxxxx> |
Subject: |
RE: [Xen-devel] 82576 VF passthrough |
From: |
"Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> |
Date: |
Fri, 25 Sep 2009 14:28:50 +0800 |
Accept-language: |
en-US |
Acceptlanguage: |
en-US |
Cc: |
Simon Horman <horms@xxxxxxxxxxxx>, "Han, Weidong" <weidong.han@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx> |
Delivery-date: |
Thu, 24 Sep 2009 23:30:03 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<43F901BD926A4E43B106BF17856F075582C556EC@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: |
<be5d34890909231156v75c8b52ehef522c7990039871@xxxxxxxxxxxxxx> <20090923232516.GB11263@xxxxxxxxxxxx> <43F901BD926A4E43B106BF17856F075582C556D7@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <be5d34890909242232p6e25c848o96a37d779024be1a@xxxxxxxxxxxxxx> <43F901BD926A4E43B106BF17856F075582C556EC@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Thread-index: |
Aco9oZELq7GKoXE1QpW5RvOBxTmYXgAAIsjAAAHAemA= |
Thread-topic: |
[Xen-devel] 82576 VF passthrough |
I remember the VF driver need hook for configuration space
access. For example, the BAR is 0 by default. Not sure if that's the reason.
--jyh
I've only ever used HVMs. I can't say whether VF
passthrough to a PV guest works or not but I can't think of any reason it
wouldn't. Can you pass other devices through to this PV guest? If
so then a VF should work also. Generally any guest that you can a
physical device through will also work with a VF device.
Next thing to consider is whether your BIOS supports
SR-IOV. There are a lot of machines that have the necessary HW to
support SR-IOV but the BIOS does not properly detect SR-IOV capable devices
and program the upstream switches and bridges properly to make sure the I/O
aperture is large enough to accommodate the extra VF devices when they
are enabled by the driver. There are very few BIOS vendors shipping
SR-IOV capable BIOS at the moment. If your machine does not have the
right BIOS then there is a work around in the Xen 3.4 release that you can
use. Or at least I think it's still there.
pci=assign-mmio=0000:01
Try
adding that to your kernel command line but substitute the domain/bus of your
device. For instance if your Kawela is on bus 4 then you would change
the command to pci=assign-mmio=0000:04.
Hope
that helps.
-
Greg
Hi Greg, I am using Vt-d machine. Sorry for the
confusion. My Hardware is HP dc7800p Chipset: Q35, with Intel Core
2 Duo E8400 processor. NIC Card is 82576 E1G42ET (dual port RJ-45
copper).
Is VF passthrough can be done only to HVM guest? Is VF
passthrough to paravirtal guest is
supported?
Regards, -Satish
On Fri, Sep 25, 2009 at 10:36 AM, Rose, Gregory V
<gregory.v.rose@xxxxxxxxx>
wrote:
>Subject: Re: [Xen-devel] 82576 VF
passthrough >
>On Thu, Sep 24, 2009 at 12:26:25AM +0530, Satish
Chowdhury wrote: >> Hi, >> >> I am trying to
setup 82576 VF passthrough to pv domU non >Vt-d
machine
You can't run SR-IOV VF devices in VM guests on a non
Vt-d machine. VT-d is required for VF passthrough to a
guest.
- Greg LAD Intel
Corp.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|