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

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Nick S Kanakakorn" <bbdada@xxxxxxxxx>
  • Date: Mon, 8 Sep 2008 23:42:09 -0700
  • Delivery-date: Mon, 08 Sep 2008 23:42:46 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=qdAW4wLzFVaOpWqb3Zm9GhGle8Ih9an+Q3negmRnnCYpfCdTHk2nfUqy+tYuy1c4ke aUiLkrAqzsnQamYmRhIV5Jnt/w9fXTDUC4squj94fRgRy+eL4XzgOGpjyAqQJXqFpb/T bLWdeYes1Pd88l4ifaLAVzaY+U+AahNinKrc0=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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