qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] Correct transitions for cd change state
@ 2011-04-07  5:05 Amit Shah
  2011-04-07  5:05 ` [Qemu-devel] [PATCH v2 1/2] cdrom: Allow the TEST_UNIT_READY command after a cdrom change Amit Shah
  2011-04-07  5:05 ` [Qemu-devel] [PATCH v2 2/2] cdrom: Make disc change event visible to guests Amit Shah
  0 siblings, 2 replies; 14+ messages in thread
From: Amit Shah @ 2011-04-07  5:05 UTC (permalink / raw)
  To: qemu list
  Cc: Kevin Wolf, Gleb Natapov, Juan Quintela, Stefan Hajnoczi,
	Markus Armbruster, Amit Shah

Hello,

These two patches fix the cd media size change bugs.

The test scenario is:

1. create an iso image from a file
2. create a second iso image from a bigger file
3. mount 1st cd in guest
4. unmount it
5. change cd via qemu monitor
6. mount 2nd cd
7. copy file on cd to local disk -- shows errors.

v2: Set media_change_notified to 1 if SENSE_UNIT_ATTENTION is not set
after migration.  This is the only thing needed for migration compat.

Please apply.

Amit Shah (2):
  cdrom: Allow the TEST_UNIT_READY command after a cdrom change
  cdrom: Make disc change event visible to guests

 hw/ide/core.c     |   51 ++++++++++++++++++++++++++++++++++++++++++++-------
 hw/ide/internal.h |    1 +
 2 files changed, 45 insertions(+), 7 deletions(-)

-- 
1.7.4

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

end of thread, other threads:[~2011-04-07 11:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-07  5:05 [Qemu-devel] [PATCH v2 0/2] Correct transitions for cd change state Amit Shah
2011-04-07  5:05 ` [Qemu-devel] [PATCH v2 1/2] cdrom: Allow the TEST_UNIT_READY command after a cdrom change Amit Shah
2011-04-07  7:22   ` [Qemu-devel] " Paolo Bonzini
2011-04-07  8:42   ` Stefan Hajnoczi
2011-04-07  8:51     ` Amit Shah
2011-04-07  8:59   ` Kevin Wolf
2011-04-07  9:11     ` Amit Shah
2011-04-07 10:20       ` Kevin Wolf
2011-04-07 11:15         ` Amit Shah
2011-04-07  5:05 ` [Qemu-devel] [PATCH v2 2/2] cdrom: Make disc change event visible to guests Amit Shah
2011-04-07  7:31   ` [Qemu-devel] " Paolo Bonzini
2011-04-07  8:01     ` Amit Shah
2011-04-07  8:41   ` Stefan Hajnoczi
2011-04-07  8:51     ` Amit Shah

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