qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/2] add resize callback to ide/core
@ 2014-09-05  3:42 John Snow
  2014-09-05  3:42 ` [Qemu-devel] [PATCH v4 1/2] IDE: Fill the IDENTIFY request consistently John Snow
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: John Snow @ 2014-09-05  3:42 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, jsnow, armbru, stefanha

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-05  9:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [Qemu-devel] [PATCH v4 0/2] add " Stefan Hajnoczi

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).