[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



        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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.