xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Liwei <xieliwei@gmail.com>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: VGA passthrough on unstable
Date: Mon, 9 May 2011 08:26:55 +0800	[thread overview]
Message-ID: <BANLkTik6HxUDLiphV2jvPT5WhnGrRmnzrg@mail.gmail.com> (raw)
In-Reply-To: <20110505184929.GU32595@reaktio.net>

On 6 May 2011 02:49, Pasi Kärkkäinen <pasik@iki.fi> 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

  reply	other threads:[~2011-05-09  0:26 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-03  6:29 VGA passthrough on unstable Liwei
2011-05-03 15:20 ` Liwei
2011-05-05 11:33 ` Liwei
2011-05-05 15:20   ` Pasi Kärkkäinen
2011-05-05 16:56     ` Liwei
2011-05-05 17:06       ` Pasi Kärkkäinen
2011-05-05 17:59         ` Liwei
2011-05-05 18:12           ` Pasi Kärkkäinen
2011-05-05 18:28             ` Liwei
2011-05-05 18:33               ` Pasi Kärkkäinen
2011-05-05 18:42                 ` Liwei
2011-05-05 18:49                   ` Pasi Kärkkäinen
2011-05-09  0:26                     ` Liwei [this message]
2011-05-09 17:14     ` Javier
2011-05-10 13:12       ` JavMV
2011-05-10 13:12       ` JavMV
2011-05-10 17:55         ` Konrad Rzeszutek Wilk
2011-05-10 13:12       ` JavMV
  -- strict thread matches above, loose matches on Subject: below --
2011-05-17 23:14 Liwei
2011-05-24 15:35 Liwei
2011-05-24 15:44 ` Liwei
2011-05-31 14:59 Liwei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTik6HxUDLiphV2jvPT5WhnGrRmnzrg@mail.gmail.com \
    --to=xieliwei@gmail.com \
    --cc=pasik@iki.fi \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).