WARNING - OLD ARCHIVES

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

xen-users

RE: [Xen-users] pci passthrough question. Do I need VT-D ?

To: "'Nick S Kanakakorn'" <bbdada@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] pci passthrough question. Do I need VT-D ?
From: "Dustin Henning" <Dustin.Henning@xxxxxxxxxxx>
Date: Tue, 9 Sep 2008 07:47:21 -0400
Cc:
Delivery-date: Tue, 09 Sep 2008 04:48:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7f60d76b0809082342u6a22e9a4vefc7eafe645537c0@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: PRD, Inc.
References: <7f60d76b0809082342u6a22e9a4vefc7eafe645537c0@xxxxxxxxxxxxxx>
Reply-to: Dustin.Henning@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckSR0SeQTxUZkzUTM2Bk75OwO4eoQAKk3Sw
        I know very little about this, but if I remember correctly,
searching the archives will show you that VT-D  is certainly required for
PCI passthrough to HVM domUs (maybe not for PV ones, but I'm not so sure on
that).  You might try creating a PV domU to do this in, or it might be
quicker to search the archives in case that's not possible either.
        Dustin

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Nick S
Kanakakorn
Sent: Tuesday, September 09, 2008 02:42
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] pci passthrough question. Do I need VT-D ?

Hi,

I really need help.  I spent 2 days already on this pci passthrough thing.

I'm using Xen 3.2.1 with Centos 5.2 64 bits on intel VT.  I'd like to
use PCI passthrough and I don't think I need VT-D functionality.

I'm trying to pass PCI 12:01.0 to my domU guest.
I got this error when I use "xm create /etc/xen/hvm_centos_2.cfg"

Using config file "/etc/xen/hvm_centos_2.cfg".
Error: Fail to assign device(12:1.0): maybe VT-d is not enabled, or
the device is not exist, or it has already been assigned to other
domain

I thought that I can do PCI-passthrough w/o VT-D.
Do I misunderstand anything ?   How do I solve this problems ?

Here is some debugging info:

I managed to use pciback module to hide
my device (qlogic).  Here is the output from dmesg.

ACPI: PCI interrupt for device 0000:12:01.0 disabled
pciback 0000:12:01.0: seizing device
PCI: Enabling device 0000:12:01.0 (0150 -> 0153)
ACPI: PCI Interrupt 0000:12:01.0[A] -> GSI 25 (level, low) -> IRQ 21
ACPI: PCI interrupt for device 0000:12:01.0 disabled
ACPI: PCI interrupt for device 0000:12:01.1 disabled
pciback 0000:12:01.1: seizing device
PCI: Enabling device 0000:12:01.1 (0150 -> 0153)
ACPI: PCI Interrupt 0000:12:01.1[B] -> GSI 24 (level, low) -> IRQ 22
ACPI: PCI interrupt for device 0000:12:01.1 disabled

I also noticed that cat /proc/cpuinfo does not show vmx flag to
indicate vt.  I checked bios of HP proliant DL380 and made sure that
VT was enabled.

flags           : fpu de tsc msr pae cx8 apic sep mtrr cmov pat
clflush acpi mmx fxsr sse sse2 ss ht syscall lm constant_tsc pni cx16
lahf_lm

Thanks,
-- 
-Nick K

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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