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

Re: [Xen-devel] Newbie on VGA-Passthru



BTW: I use xxd command and it shows vgabios-pt.bin file size is 0xffff. In xm dmesg, it shows "(XEN) HVM1:  f0000-fffff: Main BIOS". So I think the vgabios-pt.bin is fully loaded in this situation.

On 8/4/2011 10:36 PM, Superymk wrote:
Hi Pasi,

Thanks for your reply. I've read the link you provide. I even redo the experiment with the xen-unstable version and use merely 1 vga graphics card according to http://xen.1045712.n5.nabble.com/Patches-for-VGA-Passthrough-XEN-4-2-unstable-tt4406265.html. It still shows only the qemu console in vnc client.

I also follow the link:http://lists.xensource.com/archives/html/xen-devel/2011-05/msg01471.html. But it still produce the same result.

I attach the log and lspci result. I find that my video card has the same memory address range with the one in http://lists.xensource.com/archives/html/xen-devel/2011-05/msg01471.html. So I think the patch should work to me, but it is not. Also, I am confused with this line "register_real_device: Real physical device 03:00.0 registered successfuly!". Why it doesn't boot OS normally if the vga card is registered successfully? The DomU has WinXP installed.

Any suggestion? Please figure it out if I still miss something. Thanks!

--Miao

On 8/4/2011 1:06 AM, Pasi Kärkkäinen wrote:
On Wed, Aug 03, 2011 at 11:05:37PM +0800, Superymk wrote:
    Pardon me if I should create this mail thread in other mail lists.

    I just tried to assign the network card to the DomU and the device can be
    identified in it. But it is not the same case with the VGA card.

Did you read: http://wiki.xen.org/xenwiki/XenVGAPassthrough ?

-- Pasi

    Thanks,
    Miao

    On 8/3/2011 7:52 PM, Superymk wrote:

      Hi all, sorry to bother.

      I'd like to ask how to enable HVM based vga-passthru of the secondary
      graphics adapter on Xen-4.1-testing?
      Now DomU only shows the qemu console after started.

      My box's configuration is i7 965 + DX58SO + 2* Nvidia 9800 GTX. I use
      CentOS 5.6, checkout xen-4.1-testing.hg and jeremy's kernel (2.6.32.43).

      I am trying to enable vga-passthru on my box by patching the first four
      patches according to
      [1]http://lists.xensource.com/archives/html/xen-devel/2010-05/msg00441.html.
      It seems all hunks are patched successfully. In order to fix the compile
      errors. I modified the pass-through patch to make the hunk #1 to be
      placed in the middle of the pass-through.c file.

      I attached the domU config file (winxp), dom0 lspci output (lspci), xl
      dmesg output (xldmesg). The pci of the secondary graphics card is
      03:00.0

      Grub config:

      title CentOS (2.6.32.43-xen)
          root   (hd0,0)
             kernel  /boot/xen-4.1.gz dom0_mem=1024M loglvl=all
      guest_loglvl=all iommu=1
             module  /boot/vmlinuz-2.6.32.43 root=LABEL=/ ro
      xen-pciback.hide=(03:00.0)
             module  /boot/initrd-2.6.32.43.img

      Thanks a lot!

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

References

    Visible links
    1. http://lists.xensource.com/archives/html/xen-devel/2010-05/msg00441.html
    2. mailto:Xen-devel@xxxxxxxxxxxxxxxxxxx
    3. http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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





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

_______________________________________________
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®.