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 unstable

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] VGA passthrough on unstable
From: Liwei <xieliwei@xxxxxxxxx>
Date: Mon, 9 May 2011 08:26:55 +0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 08 May 2011 17:28:18 -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:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=8HSmwUrh1zg0kAskA7PJk9WA5vHXpl3rvAHCh3YwpRs=; b=VMAm32ckuyy4azifV4cc7ADPs4bwfGr1PDvYkOkaFw4yjyII5DRjcJHEdfI9/zrHWo mNRM3OK0IBMm6cCNa/xcKfxXfFraloSJK5vcErBSxz5L3d2SHsXrC9lLcq7Z/4DDrisZ u1wChVabbVaz/00gSvNqRA/N6Jkku2Ps+fgLU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=YoKDdiOAFme5s6rVyC9akTwyW0kZtfPCo2hO4rHqkXYYNsp6LQs6di2wKOnlIIpmOP e15Q3QQj5UvUUPkRfM1BSa0PrdGzK8Crrjc8AuX9EMzylsMbQ6wwpqEr36im44Phm/jO zcJ92DWUcQG0N0GllELNsUHHghI1/tsv3G6fM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110505184929.GU32595@xxxxxxxxxxx>
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=O1JkLyayYr4gx87QKqbRNRLnGOQ@xxxxxxxxxxxxxx> <BANLkTinrcbm-J6rDzTRQDUyjnKgd_LUwpg@xxxxxxxxxxxxxx> <20110505152019.GQ32595@xxxxxxxxxxx> <BANLkTinMgCqhP1ytSfrAQYpD_XX4rMh74A@xxxxxxxxxxxxxx> <20110505170632.GR32595@xxxxxxxxxxx> <BANLkTikjgWFbX7bi-B=mrc3=GpAmn4_aAQ@xxxxxxxxxxxxxx> <20110505181225.GS32595@xxxxxxxxxxx> <BANLkTi=1S+7+R7JWudnqfW-eZCHgSkpqKA@xxxxxxxxxxxxxx> <20110505183347.GT32595@xxxxxxxxxxx> <BANLkTi=sogJtdToUmFPbqBEQ6Uqiv6GL+Q@xxxxxxxxxxxxxx> <20110505184929.GU32595@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 6 May 2011 02:49, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
> Ok, so maybe you should rebuild a kernel with PASS instead of VPCI ..
> (to get matching PCI IDs in the VM).

Back with a newly compiled 2.6.32.39 from Jeremy's 2.6.32.x branch.
(Was stuck for days trying to get Konrad's 2.6.39 branch to work as
dom0 only to realise that its not supported yet) Also upgraded xen to
yesterday's revision.

Nothing seems to have changed. I'm still getting:
pt_pci_read_config: Error: Failed to read register with invalid access
size alignment. [00:05.0][Offset:0eh][Length:4]
pt_pci_read_config: Error: Failed to read register with invalid access
size alignment. [00:06.0][Offset:0eh][Length:4]

The PCI IDs did not change even though I've switched PCIDEV to pass:
# cat /boot/config-2.6.32.39 |grep PCIDEV
CONFIG_XEN_PCIDEV_FRONTEND=y
CONFIG_XEN_PCIDEV_BACKEND=y
# CONFIG_XEN_PCIDEV_BACKEND_VPCI is not set
CONFIG_XEN_PCIDEV_BACKEND_PASS=y
# CONFIG_XEN_PCIDEV_BACKEND_SLOT is not set
# CONFIG_XEN_PCIDEV_BACKEND_CONTROLLER is not set
# CONFIG_XEN_PCIDEV_BE_DEBUG is not set

With the following config, I managed to prevent the vm from
continuously rebooting, but it just stays at the pulsating windows
logo doing nothing:
W7Test                                       9  4087     1     -b----      37.9

builder='hvm'
memory = 4096
vcpus = 1
shadow_memory = 32
name = "W7Test"
vif = [ 'type=ioemu, bridge=xenbr0' ]
viridian = 1
acpi = 1
apic = 1
pae = 1
hpet = 1
hap = 1
disk = [ 'phy:/dev/mapper/VMStore-W7Test,hdb,w', 'file:/w7.iso,hda:cdrom,r' ]
boot="cd"
sdl=0
vnc=1
vncconsole=1
vncpasswd=''
serial='pty'
usbdevice='tablet'
gfx_passthru = 1
pci = [ '01:00.0', '01:00.1' ]
pci_msitranslate = 1

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