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

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] pci passthrough question. Do I need VT-D ?
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=M6m1aG6zmEyTWFB1FpezOd0sqKhuvaK1uDRZAtSpEnA=; b=g78Yp+Z1TzcYf23s0muwCNreI0OG0ApeYtAXhCj979JJyT2Ha5cCX2ctt10Tlz8lIp 3QmOVvl7nyCIghfhCC9Oj0jdpNw5Y/r4bgQZJ+mNtoZE3lNkXE2y6v5opWDR8kVR49cf cXVy+9CzTv96K6eaJHXLt/TE4wHiz5nnfFgYc=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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