All of lore.kernel.org
 help / color / mirror / Atom feed
From: Weidong Han <weidong.han@intel.com>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: Xen VGA graphics passthrough for secondary adapters, vBAR=pBAR etc
Date: Mon, 12 Apr 2010 17:57:11 +0800	[thread overview]
Message-ID: <4BC2EE77.5010601@intel.com> (raw)
In-Reply-To: <20100412072119.GW1878@reaktio.net>

Pasi Kärkkäinen wrote:
> Hello,
>
> Now that Xen 4.0.0 is out and has support for primary graphics passthru
> and many people have been using it already and asking for a status update
> for secondary adapter passthru I thought of opening a new thread about this.
>
> What are the actual issues that need to be resolved to get the 
> secondary graphics passthru working? Probably related to VGA BIOS execution
> in the guest? 
>   
I think of two things need to be solved for secondary gfx assigned:
 1) claim VGA cycle for it to display in VGA for guest, VGA is owned by 
primary gfx.
 2) load VGA bios from file, because you cannot get it from memory like 
primary gfx.
> How about the vBAR=pBAR stuff required for some (Nvidia) cards? 
> How do we get that functionality integrated so people don't need additional patches? 
>   
vBAR=pBAR patch is a bit tricky. It needs to cook a new clean vBAR=pBAR 
patch if integrate it in upstream.
> Was there also a problem that a working VGA BIOS cannot be copied from some cards 
> and they need to use/load it from a file? 
>   
Load it from a file should work for all cards, but it's not user 
friendly  (involving manual steps). It's better to implement a generic 
approach to get VGA bios for various gfx cards including primary and 
secondary gfx. The direct way is to load it from expansion rom, but it 
doesn't always work because expansion rom address may be invalid (the 
bridge may doesn't have enough memory for gfx card).

Regards,
Weidong
> Thanks!
>
> -- Pasi
>
> btw. I've created a wiki page where we can list all the tested/working graphics adapters:
> http://wiki.xensource.com/xenwiki/XenVGAPassthroughTestedAdapters
>
>
>   

      parent reply	other threads:[~2010-04-12  9:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-12  7:21 Xen VGA graphics passthrough for secondary adapters, vBAR=pBAR etc Pasi Kärkkäinen
2010-04-12  9:34 ` Stefano Stabellini
2010-04-12 10:59   ` Pasi Kärkkäinen
2010-04-12 11:03     ` Stefano Stabellini
2010-04-12 11:12       ` Pasi Kärkkäinen
2010-04-12 11:16         ` Stefano Stabellini
2010-04-12  9:44 ` Christian Tramnitz
2010-04-12 10:08   ` Weidong Han
2010-04-12 10:18     ` Christian Tramnitz
2010-04-12 15:03       ` Konrad Rzeszutek Wilk
2010-04-12  9:57 ` Weidong Han [this message]

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=4BC2EE77.5010601@intel.com \
    --to=weidong.han@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.