aboutsummaryrefslogtreecommitdiff
path: root/block/qed.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2015-04-28 14:27:52 +0100
committerKevin Wolf <kwolf@redhat.com>2015-04-28 15:36:17 +0200
commit61007b316cd71ee7333ff7a0a749a8949527575f (patch)
tree0ff3fbb6401aa0addbbda6900ce4b984b0c1d2a3 /block/qed.c
parent0eb7217e49b84553bb30f97bc34380633fd846fe (diff)
downloadqemu-61007b316cd71ee7333ff7a0a749a8949527575f.zip
qemu-61007b316cd71ee7333ff7a0a749a8949527575f.tar.gz
qemu-61007b316cd71ee7333ff7a0a749a8949527575f.tar.bz2
block: move I/O request processing to block/io.c
The block.c file has grown to over 6000 lines. It is time to split this file so there are fewer conflicts and the code is easier to maintain. Extract I/O request processing code: * Read * Write * Zero writes and making the image empty * Flush * Discard * ioctl * Tracked requests and queuing * Throttling and copy-on-read * Block status and allocated functions * Refreshing block limits * Reading/writing vmstate * qemu_blockalign() and friends The patch simply moves code from block.c into block/io.c. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qed.c')
0 files changed, 0 insertions, 0 deletions