From: Stefan Hajnoczi <stefanha@gmail.com>
To: John Snow <jsnow@redhat.com>
Cc: kwolf@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com,
armbru@redhat.com
Subject: Re: [Qemu-devel] [PATCH v4 0/2] add resize callback to ide/core
Date: Fri, 5 Sep 2014 10:44:23 +0100 [thread overview]
Message-ID: <20140905094423.GB18562@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <1409888537-14513-1-git-send-email-jsnow@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1323 bytes --]
On Thu, Sep 04, 2014 at 11:42:15PM -0400, John Snow wrote:
> This patch series fixes incorrect IDENTIFY data returned
> for an IDE drive after a block_resize event by adding
> a resize callback for IDE devices.
>
> Inconsistencies between identify routines are also
> removed so that they read easier.
>
> V4:
> - Added patch that makes the buffer and cache fill order for
> identify routines more consistent.
> - Fixed a bug where the very first call to IDENTIFY does not
> return any size information.
>
> V3:
> - Factored out the size update into new functions.
> - Fixed the size update for CFATA.
> - Added assertion to clarify that ide_resize_cb is non-atapi.
>
> V2:
> - Do not attempt to update geometry values, to avoid clobbering
> user-specified values, if they exist.
> - Do not regenerate the entire IDENTIFY buffer to avoid losing
> any settings that occurred during normal operation.
>
> John Snow (2):
> IDE: Fill the IDENTIFY request consistently
> ide: Add resize callback to ide/core
>
> hw/ide/core.c | 97 +++++++++++++++++++++++++++++++++++++++++++++--------------
> 1 file changed, 74 insertions(+), 23 deletions(-)
>
> --
> 1.9.3
>
>
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan
[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]
prev parent reply other threads:[~2014-09-05 9:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-05 3:42 [Qemu-devel] [PATCH v4 0/2] add resize callback to ide/core John Snow
2014-09-05 3:42 ` [Qemu-devel] [PATCH v4 1/2] IDE: Fill the IDENTIFY request consistently John Snow
2014-09-05 3:42 ` [Qemu-devel] [PATCH v4 2/2] ide: Add resize callback to ide/core John Snow
2014-09-05 9:44 ` Stefan Hajnoczi [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=20140905094423.GB18562@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=armbru@redhat.com \
--cc=jsnow@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.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 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).