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 export/passthrough

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] pci export/passthrough
From: "Bryce Covert" <bryce.covert@xxxxxxxxx>
Date: Mon, 6 Aug 2007 00:04:25 -0400
Delivery-date: Sun, 05 Aug 2007 21:02:04 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=p4QrWGXgmdW952vw0VEJxQMklgfv8w2CaV08vRhPS9cx3AodTvy5YDweWhcgOyuxr1BUdEG5XVeIYQ0gGC+488brl+Nf6lQUHoACsCVWEar7hhRrDjBb8u13rCM6RCd5cwzRicl+JxXxi8LbtKIOHFmSbXHPBioXNunP1/JSK2w=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=nEWfTcNOX64aw/JlL/gMv/aIeNc9fV21sZNYgkEWb87wkg3kfM1DSnHb04DqrzFFi0rtQ6rwOyaoJEuTZZblg6jf8nLH6HNrr01Qt10Td0hFHMCGS/Wtz2hGYrY9EYhnBRVk9Gv7yJjmitmWHLdvEMi77M3lGHsNP7si1KR3LZc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

I'm trying to accomplish using a windows vm just for the purpose of using a windows only driver for my audio card. I've followed the guides I've found by searching the archives.

This is the approach I've taken. Make these changes to /boot/grub/menu.lst
title        Xen 3.1.0 / Ubuntu, kernel 2.6.18-xen
root        (hd1,0)
kernel        /boot/xen-3.1.gz physdev_dom0_hide='(02:09.0)'
module        /boot/vmlinuz-2.6.18-xen root=UUID=8f220833-f57d-4a45-80a0-45f5e3e6017c ro console=tty0
module        /boot/initrd.img-2.6.18-xen
quiet
savedefault

Then:
modprobe pciback
echo -n 0000:02:09.0 > /sys/bus/pci/drivers/pciback/new_slot
echo -n 0000:02:09.0 > /sys/bus/pci/drivers/pciback/bind

Finally, use it in my config file (entire listing)
kernel = "/usr/lib/xen/boot/hvmloader"
builder = 'hvm'
memory = 512
name = "winxp"
vcpus = 2
disk = [ 'file:/xen-images/xp.img,ioemu:hda,w', 'phy:/dev/cdrom,ioemu:hdc:cdrom,r']
device_model = '/usr/lib/xen/bin/qemu-dm'
ne2000=0
pci = [ '02,09,0' ]
boot='c'
acpi=0
apic=0
>>
stdvga=0
pae = 1
vnc=1
vncviewer=1                                  


I've tried using both the comma notation and the :/. notation.

The VM boots with no issues, but doesn't detect the pci card! I'm not quite sure how to diagnose or what information would be helpful to provide. I appreciate any response!

Thanks,
Bryce
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>