]> git.proxmox.com Git - qemu.git/commit
Fix last sector write on sd card
authorDr. David Alan Gilbert <david.gilbert@linaro.org>
Mon, 25 Jul 2011 12:21:30 +0000 (13:21 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 29 Jul 2011 14:33:48 +0000 (09:33 -0500)
commit33fa8234c3d642317583c992b7fdc67ce7fdd1b5
tree92ffb14b9d902239e2ed4432469722ac9a7490d4
parentcbbab9226da9572346837466a8770c117e7e65a2
Fix last sector write on sd card

    When writing the last sector of an SD card using WRITE_MULTIPLE_BLOCK
QEmu throws an error saying that we've run off the end, and leaves
itself in the wrong state.

    Tested on ARM Vexpress model.

Signed-off-by: Dr. David Alan Gilbert <david.gilbert@linaro.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/sd.c