aboutsummaryrefslogtreecommitdiffstats
path: root/docs/misc/vtd.txt
diff options
context:
space:
mode:
authorKeir Fraser <keir@xensource.com>2007-10-25 09:27:00 +0100
committerKeir Fraser <keir@xensource.com>2007-10-25 09:27:00 +0100
commit437891b12b76a6f835b0b657d300537c34f21aab (patch)
tree84ae7875d3f6dcb1fa342b8509911af64a7bd631 /docs/misc/vtd.txt
parentff5d3cc782d80862272982198365e874c674880a (diff)
downloadxen-437891b12b76a6f835b0b657d300537c34f21aab.tar.gz
xen-437891b12b76a6f835b0b657d300537c34f21aab.tar.bz2
xen-437891b12b76a6f835b0b657d300537c34f21aab.zip
vt-d: add a vt-d howto setup document
docs/misc/vtd.txt is a vt-d how-to document that should answer questions about how to use vt-d with latest Xen. Signed-off-by: Allen Kay <allen.m.kay@intel.com>
Diffstat (limited to 'docs/misc/vtd.txt')
-rw-r--r--docs/misc/vtd.txt50
1 files changed, 50 insertions, 0 deletions
diff --git a/docs/misc/vtd.txt b/docs/misc/vtd.txt
new file mode 100644
index 0000000000..c33074b84a
--- /dev/null
+++ b/docs/misc/vtd.txt
@@ -0,0 +1,50 @@
+Title : How to do PCI Passthrough with VT-d
+Authors : Allen Kay <allen.m.kay@intel.com>
+ Weidong Han <weidong.han@intel.com>
+Created : October-24-2007
+Updated : October-24-2007
+
+How to turn on VT-d in Xen
+--------------------------
+
+1 ) cd xen-unstable.hg
+2 ) make install
+3 ) make linux-2.6-xen-config CONFIGMODE=menuconfig
+4 ) change XEN->"PCI-device backend driver" from "M" to "*".
+5 ) make linux-2.6-xen-build
+6 ) make linux-2.6-xen-install
+7 ) depmod 2.6.18.8-xen
+8 ) mkinitrd -v -f --with=ahci --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.18-xen.img 2.6.18.8-xen
+9 ) cp initrd-2.6.18-xen.img /boot
+10) lspci - select the PCI BDF you want to assign to guest OS
+11) "hide" pci device from dom0 as following sample grub entry:
+
+title Xen-Fedora Core (2.6.18-xen)
+ root (hd0,0)
+ kernel /boot/xen.gz com1=115200,8n1 console=com1 vtd=1
+ module /boot/vmlinuz-2.6.18.8-xen root=LABEL=/ ro console=tty0 console=ttyS0,115200,8n1 pciback.hide=(01:00.0)(03:00.0) pciback.verbose_request=1 apic=debug maxcpus=1
+ module /boot/initrd-2.6.18-xen.img
+
+12) reboot system
+13) add "pci" line in /etc/xen/hvm.conf for to assigned devices
+ pci = [ '01:00.0', '03:00.0' ]
+15) start hvm guest and use "lspci" to see the passthru device and
+ "ifconfig" to see if IP address has been assigned to NIC devices.
+
+
+VT-d Enabled Systems
+--------------------
+
+1) For VT-d enabling work on Xen, we have been using development
+systems using following Intel motherboards:
+ - DQ35MP
+ - DQ35JO
+
+2) As far as we know, following OEM systems also has vt-d enabled.
+Feel free to add others as they become available.
+
+- Dell: Optiplex 755
+http://www.dell.com/content/products/category.aspx/optix?c=us&cs=555&l=en&s=biz
+
+- HP Compaq: DC7800
+http://h10010.www1.hp.com/wwpc/us/en/en/WF04a/12454-12454-64287-321860-3328898.html