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

[Xen-users] pci export/passthrough


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.