OSDN Git Service

vdi: do not create useless iovecs
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 19 Mar 2012 17:07:50 +0000 (18:07 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 5 Apr 2012 12:54:40 +0000 (14:54 +0200)
commit4eea78e6345518bfe87493d8b163e1e268e64f74
treeb27c3aae21a77af2ba60cf15edf045123305349b
parenta7a43aa199571a336b76a9a9310c95476c6dc5c4
vdi: do not create useless iovecs

Reads and writes to the underlying file can also occur with the simple
non-vectored I/O interfaces.

Acked-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vdi.c