From: Cong Meng <mc@linux.vnet.ibm.com>
To: ronnie sahlberg <ronniesahlberg@gmail.com>,
Paolo Bonzini <pbonzini@redhat.com>
Cc: zwanp@cn.ibm.com, linuxram@us.ibm.com,
stefanha@linux.vnet.ibm.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] add suport for ATA_PASSTHROUGH_xx scsi command
Date: Wed, 01 Aug 2012 16:55:53 +0800 [thread overview]
Message-ID: <5018EF19.7090304@linux.vnet.ibm.com> (raw)
In-Reply-To: <CAN05THSa+H2Zr+=CYdwH6kD8Kof=K_WjkXL-uakunBdB3CzyoQ@mail.gmail.com>
I see. thank both.
On Wed 01 Aug 2012 04:49:18 PM CST, ronnie sahlberg wrote:
> Because opcode 0xA1 has a different meaning for CDROM/MMC devices.
> On such devices 0xA1 means BLANK, so it would collide if QEMU some day
> adds support for
> re-writeable mmc device.
>
>
> On Wed, Aug 1, 2012 at 6:45 PM, Paolo Bonzini <pbonzini@redhat.com> wrote:
>> Il 01/08/2012 10:43, Cong Meng ha scritto:
>>>>
>>>> Please make this conditional on the type _not_ being TYPE_ROM.
>>>
>>> May I ask why cdrom device should be an exception?
>>
>> Because CD-ROM devices do not support ATA PASSTHROUGH (the SAT standard
>> only describes direct access devices---type=0x00). The 0xa1 command is
>> "BLANK" for CD-ROMs.
>>
>> Paolo
>>
>
prev parent reply other threads:[~2012-08-01 8:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-01 7:53 [Qemu-devel] [PATCH] add suport for ATA_PASSTHROUGH_xx scsi command Cong Meng
2012-08-01 8:20 ` Paolo Bonzini
2012-08-01 8:43 ` Cong Meng
2012-08-01 8:45 ` Paolo Bonzini
2012-08-01 8:49 ` ronnie sahlberg
2012-08-01 8:55 ` Cong Meng [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=5018EF19.7090304@linux.vnet.ibm.com \
--to=mc@linux.vnet.ibm.com \
--cc=linuxram@us.ibm.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=ronniesahlberg@gmail.com \
--cc=stefanha@linux.vnet.ibm.com \
--cc=zwanp@cn.ibm.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).