From: Pavel Hrdina <phrdina@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: kwolf@redhat.com, pbonzini@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] scsi: reset cdrom tray statuses on scsi_disk_reset
Date: Thu, 16 May 2013 17:48:46 +0200 [thread overview]
Message-ID: <5194FFDE.1000408@redhat.com> (raw)
In-Reply-To: <5194FE7D.6070904@redhat.com>
On 16.5.2013 17:42, Eric Blake wrote:
> On 05/16/2013 09:34 AM, Pavel Hrdina wrote:
>> Tray statuses should be also reseted. Some guests may lock the tray
>
> s/reseted/reset/
>
>> and after reset before any kernel is loaded the tray should be unlocked.
>>
>> Also if you reset the real computer the tray is closed. We should
>> do the same in qemu.
>
> Is that OS-independent hardware behavior, or is tray closing on boot
> merely a side effect observed on bare metal but caused by installed
> software (BIOS or OS code)? At any rate, being consistent with IDE
> doesn't hurt.
>
From what I just tested it is the OS-independent HW behavior.
Tested on desktop:
1. Turn off the computer.
2. Turn on the computer and after few second open the CD-ROM tray before
any OS system is loaded and holding the power button turn the computer
off again. The CD-ROM tray should stay opened.
3. Turn on the computer and the CD-ROM tray is automatically closed.
Next time I'll mention this test in the commit message.
>>
>> This fix is already commited for IDE CD.
>
> s/commited/committed/
>
>> Check the commit a7f3d65b65b8c86a5ff0c0abcfefb45e2ec6fe4c.
>>
>> Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
>> ---
>> hw/scsi/scsi-disk.c | 3 +++
>> 1 file changed, 3 insertions(+)
>
> assuming the maintainer can touch up the commit message, feel free to add:
>
> Reviewed-by: Eric Blake <eblake@redhat.com>
>
next prev parent reply other threads:[~2013-05-16 15:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-16 15:34 [Qemu-devel] [PATCH] scsi: reset cdrom tray statuses on scsi_disk_reset Pavel Hrdina
2013-05-16 15:42 ` Eric Blake
2013-05-16 15:48 ` Pavel Hrdina [this message]
2013-05-16 16:11 ` Paolo Bonzini
2013-05-17 11:57 ` Pavel Hrdina
2013-05-17 12:02 ` Paolo Bonzini
2013-05-17 12:11 ` Pavel Hrdina
2013-05-17 12:15 ` Paolo Bonzini
2013-05-17 12:34 ` Pavel Hrdina
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=5194FFDE.1000408@redhat.com \
--to=phrdina@redhat.com \
--cc=eblake@redhat.com \
--cc=kwolf@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.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).