Port-xen archive

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

PCI passthrough doens't work on a Windows XP domu



Hi there,

 

I have a WinXP domu which is running well on my NetBSD 6.1.4 XEN3_DOM0. I have set up <pciback.hide=xxx> in the /boot.cfg file and <pci=xxx> in the winxp’s config file, but the winxp guest can not find that hardware. Here are some details:

 

dhcppc2#  dmesg |grep pciback

pciback0 at pci0 dev 27 function 0: vendor 0x8086 product 0x1e20 (rev. 0x04)

pciback0: mem: 0xf7e30000 ? 0x00004000

pciback0: interrupting at ioapic0 pin 22,event channel 7

 

 

dhcppc2# cat /boot.cfg
menu=Boot Xen 3.1 with 1GB mem for Dom0:load /netbsd-XEN3_DOM0.gz console=pc pciback.hide=(00:1b.0);multiboot /xen.gz iommu=1 dom0_mem=1024M,max:1024M
menu=Boot normally:rndseed /var/db/entropy-file;boot netbsd
menu=Boot single user:rndseed /var/db/entropy-file;boot netbsd -s
menu=Disable ACPI:rndseed /var/db/entropy-file;boot netbsd -2
menu=Disable ACPI and SMP:rndseed /var/db/entropy-file;boot netbsd -12
menu=Drop to boot prompt:prompt
default=1
timeout=5
clear=1
dhcppc2#

 

 

 

dhcppc2# cat /usr/pkg/etc/xen/winxp.conf
kernel = '/usr/pkg/lib/xen/boot/hvmloader'
builder = 'hvm'
memory = 3072
device_model = '/usr/pkg/libexec/qemu-dm'

disk = [ 'file:/data/xen/winxp.img,ioemu:hda,w',
         'file:/data/xen/temp/winxp.iso,ioemu:hdb:cdrom,r']

vcpus=2

#Hostname
name = "winxp"

vif = ['type=ioemu,bridge=bridge0']
pci = ['0000:00:1b.0']
#acpi = 0
#sdl = 0
#serial = 'pty'
boot = 'c'
vnc = 1
#vnclisten=""
#vncpasswd=""
usbdevice = 'tablet' 

 

 

I have checked the xend log, I get some error:

 

INFO (pciquirk:79) Config file does not exist: /etc/xen/xend-pci-quirks.sxp

INFO (pciquirk:122) Config file does not exist: /etc/xen/xend-pci-permissive.sxp

 

According to the wiki.xen.org, these 2 sxp files is unnecessary for HVM guest.

 

How to make the sound card visible by the Windows XP guest ? Thank you.

 

 

 

Best regards

 

John Fu

 



Home | Main Index | Thread Index | Old Index