From: Gerd Hoffmann <kraxel@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: virtio-dev@lists.oasis-open.org, David Airlie <airlied@linux.ie>,
open list <linux-kernel@vger.kernel.org>,
dri-devel@lists.freedesktop.org, "open list:VIRTIO CORE,
NET..." <virtualization@lists.linux-foundation.org>,
airlied@redhat.com, airlied@gmail.com
Subject: Re: [PATCH v2 4/4] Add virtio-vga bits.
Date: Wed, 01 Apr 2015 15:42:58 +0200 [thread overview]
Message-ID: <1427895778.6445.13.camel@nilsson.home.kraxel.org> (raw)
In-Reply-To: <20150401152535-mutt-send-email-mst@redhat.com>
On Mi, 2015-04-01 at 15:26 +0200, Michael S. Tsirkin wrote:
> On Wed, Apr 01, 2015 at 03:15:30PM +0200, Gerd Hoffmann wrote:
> > +static void virtio_pci_kick_out_firmware_fb(struct pci_dev *pci_dev)
> > +{
> > + struct apertures_struct *ap;
> > + bool primary;
> > +
> > + ap = alloc_apertures(1);
> > + if (!ap)
> > + return;
> > +
> > + ap->ranges[0].base = pci_resource_start(pci_dev, 2);
> > + ap->ranges[0].size = pci_resource_len(pci_dev, 2);
>
> I thought you mentioned it's better to switch to a different BAR
> to be compatible with stdvga?
Indeed, thats why the cover letter lists this as todo item, because it
isn't sorted yet.
Need to figure a sane way to handle this on the host side. Current plan
is trying to make virtio_pci_device_plugged() configurable without
making things too messy.
cheers,
Gerd
next prev parent reply other threads:[~2015-04-01 13:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1427894130-14228-1-git-send-email-kraxel@redhat.com>
2015-04-01 13:15 ` [PATCH v2 3/4] Add virtio gpu driver Gerd Hoffmann
2015-04-01 13:15 ` [PATCH v2 4/4] Add virtio-vga bits Gerd Hoffmann
[not found] ` <1427894130-14228-5-git-send-email-kraxel@redhat.com>
2015-04-01 13:26 ` Michael S. Tsirkin
[not found] ` <20150401152535-mutt-send-email-mst@redhat.com>
2015-04-01 13:42 ` Gerd Hoffmann [this message]
[not found] ` <1427894130-14228-4-git-send-email-kraxel@redhat.com>
2015-04-01 13:31 ` [PATCH v2 3/4] Add virtio gpu driver Michael S. Tsirkin
2015-04-02 15:52 ` Marc-André Lureau
[not found] ` <CAJ+F1CK3ibbn8e1-rUY4OUJuaCt_=JmuT00Fqx4YDD9M5zJv=A@mail.gmail.com>
2015-04-07 9:41 ` Gerd Hoffmann
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=1427895778.6445.13.camel@nilsson.home.kraxel.org \
--to=kraxel@redhat.com \
--cc=airlied@gmail.com \
--cc=airlied@linux.ie \
--cc=airlied@redhat.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mst@redhat.com \
--cc=virtio-dev@lists.oasis-open.org \
--cc=virtualization@lists.linux-foundation.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 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).