qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Amit Shah <amit.shah@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>, Gleb Natapov <gleb@redhat.com>,
	Juan Quintela <quintela@redhat.com>,
	Stefan Hajnoczi <stefanha@gmail.com>,
	Markus Armbruster <armbru@redhat.com>,
	qemu list <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Re: [PATCH v3 0/2] Correct transitions for cd change state
Date: Thu, 07 Apr 2011 11:26:52 +0200	[thread overview]
Message-ID: <4D9D835C.60107@redhat.com> (raw)
In-Reply-To: <cover.1302165882.git.amit.shah@redhat.com>

On 04/07/2011 10:46 AM, Amit Shah wrote:
> 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.
>
> v3:
>   - Use cdrom_changed to hold all state changes instead of introducing
>     a new variable. (Paolo Bonzini)
>   - Slightly better comment and commit messages
>
> 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 |   56 +++++++++++++++++++++++++++++++++++++++++++++++---------
>   1 files changed, 47 insertions(+), 9 deletions(-)
>

Thanks!

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>

Paolo

      parent reply	other threads:[~2011-04-07  9:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07  8:46 [Qemu-devel] [PATCH v3 0/2] Correct transitions for cd change state Amit Shah
2011-04-07  8:46 ` [Qemu-devel] [PATCH v3 1/2] cdrom: Allow the TEST_UNIT_READY command after a cdrom change Amit Shah
2011-04-08 20:45   ` Ryan Harper
2011-04-07  8:46 ` [Qemu-devel] [PATCH v3 2/2] cdrom: Make disc change event visible to guests Amit Shah
2011-04-07  9:25 ` [Qemu-devel] Re: [PATCH v3 0/2] Correct transitions for cd change state Stefan Hajnoczi
2011-04-07  9:26 ` Paolo Bonzini [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=4D9D835C.60107@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=amit.shah@redhat.com \
    --cc=armbru@redhat.com \
    --cc=gleb@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    --cc=stefanha@gmail.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).