summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig2010-09-12 23:44:00 +0200
committerKevin Wolf2010-09-21 15:39:42 +0200
commit1b2adf28030ee3a570ba3a22401d44da2b18fe01 (patch)
tree8601b8d95652d6955549ce70d35d7e9f96918855 /block
parentscsi-disk: propagate the required alignment (diff)
downloadqemu-1b2adf28030ee3a570ba3a22401d44da2b18fe01.tar.gz
qemu-1b2adf28030ee3a570ba3a22401d44da2b18fe01.tar.xz
qemu-1b2adf28030ee3a570ba3a22401d44da2b18fe01.zip
ide: propagate the required alignment
IDE is a bit ugly in this respect. For one it doesn't really keep track of a sector size - most of the protocol is in units of 512 bytes, and we assume 2048 bytes for CDROMs which is correct most of the time. Second IDE allocates an I/O buffer long before we know if we're dealing with a CDROM or not, so increase the alignment for the io_buffer unconditionally. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions