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-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] A problem about xen no-iommu graphics card passthough
From: "Flykey" <feiyulong_803@xxxxxxxx>
Date: Sat, 04 Jul 2009 11:24:46 +0800
Delivery-date: Mon, 06 Jul 2009 08:08:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

 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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] A problem about xen no-iommu graphics card passthough, Flykey <=