aliguori c1c0438c80 SCSI divide capacity by s->cluster_size (Rik van Riel)
Paul Brook pointed out that the number of sectors reported
by the SCSI read capacity commands needs to be divided by
s->cluster_size, because bdrv_get_geometry reports the number
of 512 byte sectors, while emulated CDROMs report 2048 byte
sectors back to the guest.

This has no consequences for emulated hard disks, which use
a cluster size of 1.

aliguori: fixed typo

Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6469 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-28 21:58:29 +00:00
2009-01-22 22:09:55 +00:00
2009-01-28 17:16:56 +00:00
2009-01-28 17:16:56 +00:00
2009-01-21 21:46:20 +00:00
2009-01-26 19:54:31 +00:00
2009-01-26 19:54:31 +00:00
2009-01-26 19:54:31 +00:00
2009-01-26 19:54:31 +00:00
2009-01-26 19:54:31 +00:00
2009-01-14 19:40:27 +00:00
2009-01-22 17:15:25 +00:00
2008-12-13 09:32:43 +00:00
2009-01-05 18:11:53 +00:00
2009-01-14 18:39:49 +00:00
2009-01-14 18:39:49 +00:00
2009-01-14 18:39:49 +00:00
2009-01-26 19:54:31 +00:00
2009-01-14 19:40:27 +00:00
2009-01-14 18:39:49 +00:00
2009-01-14 18:39:49 +00:00
2009-01-14 19:00:36 +00:00
2009-01-26 19:54:31 +00:00
2008-12-18 22:42:51 +00:00
2008-12-14 08:50:18 +00:00
2009-01-05 18:11:53 +00:00
2009-01-24 18:19:25 +00:00
2009-01-24 18:19:25 +00:00
2009-01-24 18:19:25 +00:00
2009-01-24 18:19:25 +00:00
2009-01-14 18:39:49 +00:00
2009-01-14 18:34:22 +00:00
2008-12-14 08:50:18 +00:00
2008-12-13 09:32:43 +00:00
2009-01-21 01:50:17 +00:00
2008-12-14 08:53:17 +00:00
2009-01-24 18:19:25 +00:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%