提交 cac782d4 编写于 作者: P pbrook

Small read fix.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1944 c046a42c-6fe2-441c-8c8c-71466251a162
上级 4be9a500
......@@ -91,7 +91,7 @@ int scsi_read_data(SCSIDevice *s, uint8_t *data, uint32_t len)
}
if (len && s->sector_count) {
bdrv_read(s->bdrv, s->sector, s->buf, 512);
bdrv_read(s->bdrv, s->sector, s->buf, 1);
s->sector++;
s->sector_count--;
s->buf_pos = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册