aboutsummaryrefslogtreecommitdiff
path: root/.exrc
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2022-08-17 10:37:35 +0200
committerKevin Wolf <kwolf@redhat.com>2022-09-30 18:43:44 +0200
commit006e1962449f8ea9f0822b838d9fdf13c98eb147 (patch)
treeeccc6d4c995ebe8ae662897595d219bdf581cd38 /.exrc
parent62a6c300f18a9f6994baf6d767985425d48de427 (diff)
downloadqemu-006e1962449f8ea9f0822b838d9fdf13c98eb147.zip
qemu-006e1962449f8ea9f0822b838d9fdf13c98eb147.tar.gz
qemu-006e1962449f8ea9f0822b838d9fdf13c98eb147.tar.bz2
block: use bdrv_is_sg() helper instead of raw bs->sg reading
I believe that if the helper exists, it must be used always for reading of the value. It breaks expectations in the other case. Signed-off-by: Denis V. Lunev <den@openvz.org> CC: Kevin Wolf <kwolf@redhat.com> CC: Hanna Reitz <hreitz@redhat.com> CC: Stefan Hajnoczi <stefanha@redhat.com> CC: Fam Zheng <fam@euphon.net> CC: Ronnie Sahlberg <ronniesahlberg@gmail.com> CC: Paolo Bonzini <pbonzini@redhat.com> CC: Peter Lieven <pl@kamp.de> CC: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Message-Id: <20220817083736.40981-2-den@openvz.org> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to '.exrc')
0 files changed, 0 insertions, 0 deletions