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] Newbie on VGA-Passthru

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] Newbie on VGA-Passthru
From: Superymk <superymkxen@xxxxxxxxxxx>
Date: Thu, 4 Aug 2011 22:45:53 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 04 Aug 2011 07:47:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BLU0-SMTP404DB63DE613FCA2A5600D5A23D0@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: <BLU0-SMTP1046893288B1FB9768F1FE5A23A0@xxxxxxx> <BLU0-SMTP350A19BFC6733B35793D045A23A0@xxxxxxx> <20110803170627.GS32373@xxxxxxxxxxx> <BLU0-SMTP404DB63DE613FCA2A5600D5A23D0@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0
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
<Prev in Thread] Current Thread [Next in Thread>