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

[Xen-users] How to do PCIe Passthrough?




Hi:
I was wondering if any of you could help me on PCIe passthrough.

My environment is xen 4.0.0 with ubuntu 10.04 LTS and I have HVM domu with winxp. I have two PCIe NIC.
I would like to use one NIC for one domU.

Here is my config file:

import os, re
arch = os.uname()[4]
if re.search ('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder = "hvm"
memory = 2048
shadow_memory = 8
name = "VM1WINXP"
#vif = [ 'type = ioemu, bridge=eth0' ]
vif = [ ]
#vif= [ 'mac=00:16:3e:36:a1:e9' ]
pciback=['0000:03:00.0']
vcpus=1
#, '06:00.0']
acpi = 1
apci = 1
cdrom =[ 'file:/etc/xen/window.iso']
#disk = [ 'tap:aio:/etc/xen/ryanimage.img,hda,w', 'phy:/dev/sr0,hdc:cdrom,r' ]
#disk = [ 'tap:aio:/etc/xen/window.img,hda,w', 'phy:/dev/sr0,hdc:cdrom,r' ]
disk = [ 'phy:/dev/sda5,hda,w', 'phy:/dev/sr0,hdc:cdrom,r' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot='c'
sdl = 0
vnc = 1
vncconsole = 1
vncviewer = 1
vncunused = 1
stdvga = 0
vncpasswd = ''
serial = 'pty'
usbdevice = 'tablet'

Is there anything I missed? And also do we have to do anything on dom0?

Anju


_______________________________________________
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®.