]> git.proxmox.com Git - qemu.git/commit
dataplane: extract virtio-blk read/write processing into do_rdwr_cmd()
authorStefan Hajnoczi <stefanha@redhat.com>
Fri, 11 Jan 2013 15:41:28 +0000 (16:41 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 14 Jan 2013 09:06:57 +0000 (10:06 +0100)
commitb5ef1aab945c1b04740574064b13eb93f1572587
tree39694f8b745a75cfe2f1bda570a12c08ad4afcee
parentc53b1c5114bdf7fc945cbf11436da61789ca2267
dataplane: extract virtio-blk read/write processing into do_rdwr_cmd()

Extract code for read/write command processing into do_rdwr_cmd().  This
brings together pieces that are spread across process_request().

The real motivation is to set the stage for handling misaligned
requests, which the next patch tackles.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/dataplane/virtio-blk.c