]> git.proxmox.com Git - mirror_qemu.git/commit - block.c
block: Use bdrv_is_sg() everywhere
authorDimitris Aragiorgis <dimara@arrikto.com>
Tue, 23 Jun 2015 10:44:56 +0000 (13:44 +0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 23 Jun 2015 14:08:52 +0000 (15:08 +0100)
commitb192af8acc597a6e8068873434e56e0c7de1b7d3
treeea6db802f2133fce46ec4c06e204bb4894ee54b4
parent25940fa7e57ffce9d495b4c2aadc39790535856d
block: Use bdrv_is_sg() everywhere

Instead of checking bs->sg use bdrv_is_sg() consistently throughout
the code.

Signed-off-by: Dimitris Aragiorgis <dimara@arrikto.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1435056300-14924-2-git-send-email-dimara@arrikto.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block.c
block/iscsi.c
block/raw-posix.c