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

Re: [Xen-devel] VGA passthrough on unstable


  • To: Pasi Kärkkäinen <pasik@xxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

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