qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kevin O'Connor <kevin@koconnor.net>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: "seabios@seabios.org" <seabios@seabios.org>,
	"Richard W.M. Jones" <rjones@redhat.com>,
	qemu-devel@nongnu.org, Max Filippov <jcmvbkbc@gmail.com>,
	Avi Kivity <avi@redhat.com>, Amit Shah <amit.shah@redhat.com>,
	Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [Qemu-devel] insmod virtio-blk is broken in qemu 1.0
Date: Mon, 19 Dec 2011 22:38:02 -0500	[thread overview]
Message-ID: <20111220033802.GA24119@morn.localdomain> (raw)
In-Reply-To: <4EEF7C53.6050800@codemonkey.ws>

On Mon, Dec 19, 2011 at 12:02:59PM -0600, Anthony Liguori wrote:
> We really need to update SeaBIOS whenever there is a bug that we
> know requires an update.  Things breakdown because of one or more of
> the following reasons:
> 
> 1) User submits a patch to seabios@, Kevin applies it.  But that
> doesn't necessarily trigger anything happening in QEMU.
> 
> Ideally, the above mentioned user would submit a submodule update once (1) happens.
> 
> 2) Kevin fixes something on his own or someone else changes
> something in the broader SeaBIOS community.  That may not even be
> visible in QEMU.

There is another complexity here - it's not always clear to me when a
group pulls a particular revision of SeaBIOS.  So, knowing who to
notify is harder.

> Syncing right before release isn't a good strategy either because
> that means we're pulling in something that hasn't been tested
> extensively at the very tail end of our release cycle.

Agreed.  There has to be a balance here.

There are some USB drive booting fixes along with some ACPI and
MPTable changes in SeaBIOS post v1.6.3.1.  These changes are a bit
large though, so I'm not sure QEMU would be best served by pulling
them in if a release is pending.

That said, I'm glad to see users testing recent SeaBIOS revs as it
helps greatly with shaking out issues.  For example, had QEMU not
pulled a revision of SeaBIOS in August, there's a good chance this
particular bug would not have been found before the v1.6.3 release and
we might still have ended up in the same situation.

> I would like to point out that August -> October is a pretty long
> time period for a regression like this to exist.  I think that
> really indicates that the primary problem is testing, not frequency
> of SeaBIOS updates.

If we can catch these types of things in test cases, that would be
great.  This particular bug had a complex set of triggers - it was in
SeaBIOS code specific to QEMU (so non-QEMU/KVM users wouldn't find
it), using QEMU's default Cirrus VGA driver masks the bug (it happens
to have PCI prefmem), and it was an off-by-one in low-level alignment
code (a code review wouldn't catch it).

-Kevin

  parent reply	other threads:[~2011-12-20  3:38 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-30 13:11 [Qemu-devel] qemu.git hangs booting Linux after insmod virtio_blk.ko Richard W.M. Jones
2011-09-30 16:51 ` [Qemu-devel] git-bisect results (was: Re: qemu.git hangs booting Linux after insmod virtio_blk.ko) Richard W.M. Jones
2011-12-16 22:19   ` Richard W.M. Jones
2011-12-17  0:07     ` [Qemu-devel] insmod virtio-blk is broken in qemu 1.0 (was: Re: git-bisect results (was: Re: qemu.git hangs booting Linux after insmod virtio_blk.ko)) Richard W.M. Jones
2011-12-17  0:26       ` Max Filippov
2011-12-17  0:53         ` Max Filippov
2011-12-17  1:44           ` [Qemu-devel] insmod virtio-blk is broken in qemu 1.0 (was: Re: git-bisect results Anthony Liguori
2011-12-17  8:33             ` Richard W.M. Jones
2011-12-17 15:13               ` [Qemu-devel] insmod virtio-blk is broken in qemu 1.0 Anthony Liguori
2011-12-17 15:22                 ` Richard W.M. Jones
2011-12-17 15:22                 ` Anthony Liguori
2011-12-17 15:25                   ` Richard W.M. Jones
2011-12-17 16:24                     ` Anthony Liguori
2011-12-17 16:35                       ` Richard W.M. Jones
2011-12-17 16:49                       ` Kevin O'Connor
2011-12-17 17:03                         ` Anthony Liguori
2011-12-17 17:30                         ` Richard W.M. Jones
2011-12-19 10:31                         ` Daniel P. Berrange
2011-12-19 17:23                           ` [Qemu-devel] [SeaBIOS] " Fred .
2011-12-19 17:26                           ` Fred .
2011-12-19 17:34                           ` [Qemu-devel] " Anthony Liguori
2011-12-19 17:43                             ` Daniel P. Berrange
2011-12-19 18:02                               ` Anthony Liguori
2011-12-19 19:04                                 ` Richard W.M. Jones
2011-12-19 19:16                                   ` Daniel P. Berrange
2011-12-19 19:40                                     ` Richard W.M. Jones
2011-12-19 19:42                                       ` Richard W.M. Jones
2011-12-19 19:44                                       ` Anthony Liguori
2011-12-19 19:19                                 ` Daniel P. Berrange
2011-12-19 19:26                                   ` Anthony Liguori
2011-12-20  3:38                                 ` Kevin O'Connor [this message]
2011-12-20  8:13                                   ` Gleb Natapov
2011-12-17 13:16             ` [Qemu-devel] insmod virtio-blk is broken in qemu 1.0 (was: Re: git-bisect results Richard W.M. Jones
2011-12-17  1:39       ` Anthony Liguori
2011-12-17  1:43       ` Anthony Liguori

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=20111220033802.GA24119@morn.localdomain \
    --to=kevin@koconnor.net \
    --cc=amit.shah@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=avi@redhat.com \
    --cc=jcmvbkbc@gmail.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rjones@redhat.com \
    --cc=seabios@seabios.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).