qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>,
	qemu devel list <qemu-devel@nongnu.org>,
	Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [Qemu-devel] how Windows treats BARs of driver-less devices when other devices are hotplugged
Date: Thu, 25 Feb 2016 18:37:56 +0100	[thread overview]
Message-ID: <56CF3BF4.1070706@redhat.com> (raw)
In-Reply-To: <20160225161735-mutt-send-email-mst@redhat.com>

On 02/25/16 15:18, Michael S. Tsirkin wrote:
> On Thu, Feb 25, 2016 at 03:05:08PM +0100, Laszlo Ersek wrote:
>> On 02/25/16 14:30, Michael S. Tsirkin wrote:

>>> virtio?
>>
>> ... was my first thought as well, but OVMF at the moment supports only
>> legacy (0.9.5) virtio-pci devices
> 
> Oh. We'll have to fix that too :(

Yes, there's a BZ open about it. It's very big work. Due to independent
reasons, I skimmed the virtio 1.0 spec the other day, specifically for
seeing what it would take to port the OVMF drivers forward to virtio
1.0. It's going to be a *lot* of work.

>> (and virtio-mmio only on AARCH64) --
>> those don't have MMIO BARs, only IO BARs.
> 
> Well that's not exactly true - there is an MSI-X BAR.
> Maybe OVMF does not enable that, though.

Correct.

The virtio stuff in OVMF adheres extremely closely to the 0.9.5 spec
(and the actual QEMU code was only studied when the guest wouldn't work
as described by the 0.9.5 spec -- this usually boiled down to silent
framing assumptions made by QEMU, and then the guest code was
accomodated), but the virtio code in OVMF is purposely absolutely
minimal, feature-wise.

I also looked up Gerd's virtio 1.0 patch series in the SeaBIOS git
history (from summer 2015, IIRC). It was extensive. Extrapolating from
that, you can imagine what it will take for OVMF.

Thanks
Laszlo

  reply	other threads:[~2016-02-25 17:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20160225135613-mutt-send-email-mst@redhat.com>
2016-02-25 12:44 ` [Qemu-devel] how Windows treats BARs of driver-less devices when other devices are hotplugged Laszlo Ersek
2016-02-25 13:00   ` Laszlo Ersek
2016-02-25 13:30     ` Michael S. Tsirkin
2016-02-25 14:05       ` Laszlo Ersek
2016-02-25 14:18         ` Michael S. Tsirkin
2016-02-25 17:37           ` Laszlo Ersek [this message]
2016-02-25 19:44             ` Michael S. Tsirkin

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=56CF3BF4.1070706@redhat.com \
    --to=lersek@redhat.com \
    --cc=imammedo@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.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).