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

[Xen-devel] A problem about xen no-iommu graphics card passthough



 Hi!

   I want to make windows work  with native graphics card on xen with no iommu (no vt-d) support. With many googling, I find that xen with Neocleuse 1:1 No-IOMMU passthough patches maybe can meet my requestment.

   I download and compile a copy of direct-io.hg source, and pass my graphics card to hvm windows domU.  I hide the graphics card from dom0 linux with backpci.hide boot option, and allow dom0 linux auto loading windows hvm config. When xen dom0 linux booting, no any booting information show on the screen, because there are no graphics card assign to dom0 linux. But when windows hvm domu loading, dom0 linux's console works, it seem that dom0 linux get the graphics card. While windows domu can not show anything on the screen.

   I use xm list command to see that both dom0 and windows domu is running. Where is the windows booting information goes? Can someone know this problem. The following is my xen grub config and hvm config file.

 

I use the lspci command, and get the graphics card pci info:

01:00.0 VGA compatible controller: nVidia Corporation Unknown device 05e6 (rev a1)

 

 

=================grub.conf==========================================================

title Fedora Core (2.6.18.8-xen)
 root (hd0,3)
 kernel /boot/xen-3.0.gz nativedom=1 nativedom_mem=1024
 module /boot/vmlinuz-2.6.18.8 ro root=LABEL=LINUXZ rhgb quiet pciback.hide=(0000:01:00.0)
 module /boot/initrd-2.6.18.8.img

title Fedora Core (2.6.18-1.2798.fc6)
 root (hd0,3)
 kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=LINUXZ rhgb quiet
 initrd /boot/initrd-2.6.18-1.2798.fc6.img

 

 

 

=================winxp.hvm==========================================================

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 = 1024


shadow_memory = 8


name = "WinXP"

 

apic=1


# Nativedomain enable
nativedom = 1

 

# Nativedomain pci assgin
pci = ['01:00.0']


disk = [ 'phy:/dev/hda,ioemu:hda,w' ]


device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'


boot="cda"


# enable SDL library for graphics, default = 0
sdl=0

 

# enable VNC library for graphics, default = 1
vnc=0


# enable stdvga, default = 0 (use cirrus logic device model)
stdvga=0

 

 

 

 

 

 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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