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

Re: [Xen-devel] VGA Passthrough on Xen 4.1: succees (IGD) and failure (A

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] VGA Passthrough on Xen 4.1: succees (IGD) and failure (ATI) report
From: Gennady Marchenko <gennady.marchenko@xxxxxxxxx>
Date: Wed, 25 May 2011 15:41:21 +0400
Delivery-date: Wed, 25 May 2011 04:43:54 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=WLaJae3d4J/p+jUlfwUpcFw1JkFQY9tv4yalO8BxSnc=; b=o8zYjh2zmp73liQTpk+5ApNe9BTTyR6+WvEgoZ0e2Af8YrVRA0A3bM02lavCwf/lZg hL6CHbNj0r+6Y/c5WV/gJyrWMn/FQ5gD5PVkETGUceYhs1U0bZxQl66RfK940MMl1BuY 7tPVKD0f2JyvKzzrzTpXCxhkqR5ye4StVKpeU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Y0uDLweNGjOuLKxoasJgvOqZ6gxU3xeYV4EvrSEOBFHinZL9vFGh0241ZVXDBL8SZm F2Rp6dLvURpZelkPk1KEncckbzBpNNwldnK+OLxshCyS84jXurwBS6z9N9czr+j7Fc+b 8ztjBMkCPNq0I6iitr8wJSiQ7mH0W5lCWle9A=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201105241354.10400.wei.wang2@xxxxxxx>
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>
References: <BANLkTi=q=STDLbGSUj_dstddbZ30cS1idA@xxxxxxxxxxxxxx> <201105241354.10400.wei.wang2@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
This patch doesnt work for me cause patched current sources can't be compiled with following error :((( :

            TARGET_CFLAGS="-mno-red-zone -O1 -fno-omit-frame-pointer  -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -Wno-unused-but-set-variable  -fno-stack-protector -fno-exceptions" \
            TARGET_LDFLAGS="-nostdlib -L/usr/src/xen-unstable.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/lib" \
            ./xen-setup-stubdom )
make DESTDIR= -C ioemu -f ./Makefile
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
=== PCI passthrough capability has been enabled ===
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
=== PCI passthrough capability has been enabled ===
make[2]: Entering directory `/usr/src/xen-unstable.hg/stubdom/ioemu'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
=== PCI passthrough capability has been enabled ===
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
=== PCI passthrough capability has been enabled ===
=== PCI passthrough capability has been enabled ===
make[3]: Entering directory `/usr/src/xen-unstable.hg/stubdom/ioemu/i386-stubdom'
  CC    i386-stubdom/pt-graphics.o
/usr/src/xen-unstable.hg/stubdom/ioemu/hw/pt-graphics.c:11:20: fatal error: sys/io.h: No such file or directory
compilation terminated.
make[3]: *** [pt-graphics.o] Error 1
make[3]: Leaving directory `/usr/src/xen-unstable.hg/stubdom/ioemu/i386-stubdom'
make[2]: *** [subdir-i386-stubdom] Error 2
make[2]: Leaving directory `/usr/src/xen-unstable.hg/stubdom/ioemu'
make[1]: *** [ioemu] Error 2
make[1]: Leaving directory `/usr/src/xen-unstable.hg/stubdom'
make: *** [install-stubdom] Error 2

And I can't fix it.


Gennady.

On Tue, May 24, 2011 at 3:54 PM, Wei Wang2 <wei.wang2@xxxxxxx> wrote:
How does this patch work for you? You also need to install latest ATI driver
in guest.
http://lists.xensource.com/archives/html/xen-devel/2010-12/msg00705.html
Thanks
Wei

On Tuesday 17 May 2011 06:47:33 Gennady Marchenko wrote:
> Hi all!
>
> I'm very interested with XenVGAPassthrough and tries to do it on my system
> with vt-d support:
>
> CPU: Intel core2duo E8400
> MB: Asus p5q-vm do
> mem: 8GB
>
> So I'm succeed at Intel IGD:
>
> 00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset
> Integrated Graphics Controller (rev 03)
>
> with
>
> Debian Sid's XEN 4.1/Linux 2.6.39-rc7+ (from
> git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git<http://git.ker
>nel.org/pub/scm/linux/kernel/git/konrad/xen.git>) and WinXP SP2 with Intel's
> drivers version 6.14.10.5157
>
> but no success with two ATI cards:
>
> ATI X800GTO
> ATI 5450
> (on same m.board)
>
> with empty screen. When I run HVM screen went from "empty" to another
> "empty ", HVM not booting. So I don't know - is there need to do something
> with bios and how I can do it with binary xen. Could you help me with it
> please?
>
> Thanks all for this feature!
> Gennady.




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