From: "Pasi Kärkkäinen" <pasik@iki.fi>
To: "Wu, Feng" <feng.wu@intel.com>
Cc: Gordan Bobic <gordan@bobich.net>,
"G.R." <firemeteor@users.sourceforge.net>,
"G.R." <firemeteor.guo@gmail.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: vga passthrough with qemu-xen (or qemu upstream)
Date: Tue, 21 Jan 2014 14:55:27 +0200 [thread overview]
Message-ID: <20140121125527.GG2924@reaktio.net> (raw)
In-Reply-To: <E959C4978C3B6342920538CF579893F001D85978@SHSMSX104.ccr.corp.intel.com>
Hello,
On Mon, Jan 20, 2014 at 01:24:23PM +0000, Wu, Feng wrote:
>
>
> > >>> >
> > >>> > Hi all,
> > >>> >
> > >>> > Is it possible to do vga passthrough on xen-unstable with qemu-xen as
> > >>> > device model? I tried but I am getting error 'gfx_passthru' invalid
> > >>> > parameter for qemu-xen. I am able to do passthrough with qemu
> > >>> > traditional i.e. qemu-dm.
> > >>>
> > >>> As far as I know, only qemu-traditional supports vga pass-through
> > >>> right now.
> > >>
> > >> Right.
> > >> It is not possible to assign your primary VGA card to a VM with
> > >> qemu-xen. You should be able to assign your secondary VGA card though.
> > >
> > > Let me understand this correctly. If I have two VGA cards then I can
> > > passthrough
> > > secondary VGA card (in Dom0) to HVM as its primary VGA card. Is this
> > > right and
> > > if yes how can I do it?
> >
> > Passing any VGA card as a primary-in-domU has always been problematic.
>
> I think passing VGA card as a primary-in-domU works well in Qemu-traditional, right?
>
primary-in-domU requires vendor specific hacks in Xen qemu.
qemu-traditional includes many patches for Intel IGD primary passthru support,
but patches for AMD/ATI and Nvidia GPUs aren't merged to qemu-traditional.
There unapplied patches for qemu-traditional (AMD/Nvidia) GPU passthru are in
various source trees, mailinglist archives, and on some blogs around the internet.
Also for Intel IGD I think there's at least one outstanding patch/fix that
hasn't been merged to qemu-traditional yet, see:
http://lists.xenproject.org/archives/html/xen-devel/2013-02/msg00538.html
http://lists.xen.org/archives/html/xen-devel/2013-07/msg01385.html
The patch in question probably needs some work before it is suitable for being applied to qemu-traditional.
>
> Thanks,
> Feng
>
-- Pasi
next prev parent reply other threads:[~2014-01-21 12:55 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-20 5:48 vga passthrough with qemu-xen (or qemu upstream) Shakeel Butt
2014-01-20 7:04 ` Wu, Feng
2014-01-20 12:09 ` Stefano Stabellini
2014-01-20 12:31 ` Shakeel Butt
2014-01-20 12:50 ` Gordan Bobic
2014-01-20 13:24 ` Wu, Feng
2014-01-20 13:31 ` Gordan Bobic
2014-01-20 15:19 ` Shakeel Butt
2014-01-20 15:29 ` Gordan Bobic
2014-01-20 21:15 ` Shakeel Butt
2014-01-20 21:22 ` Gordan Bobic
2014-01-20 21:23 ` Fabio Fantoni
2014-01-21 12:55 ` Pasi Kärkkäinen [this message]
2014-01-21 17:36 ` Shakeel Butt
2014-01-21 17:52 ` Gordan Bobic
2014-01-22 0:49 ` Wu, Feng
2014-01-20 14:45 ` Stefano Stabellini
2014-01-20 14:49 ` Stefano Stabellini
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=20140121125527.GG2924@reaktio.net \
--to=pasik@iki.fi \
--cc=feng.wu@intel.com \
--cc=firemeteor.guo@gmail.com \
--cc=firemeteor@users.sourceforge.net \
--cc=gordan@bobich.net \
--cc=xen-devel@lists.xen.org \
/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.