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] How to do PCIe Passthrough?

To: xen user <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] How to do PCIe Passthrough?
From: Achala Aryal <arya2595@xxxxxxxxxxxxxxxxxx>
Date: Mon, 11 Jul 2011 11:29:30 -0700
Delivery-date: Mon, 11 Jul 2011 11:30:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
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 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
<Prev in Thread] Current Thread [Next in Thread>