]> Git Repo - qemu.git/commit - block/raw-format.c
block: use bdrv_is_sg() helper instead of raw bs->sg reading
authorDenis V. Lunev <[email protected]>
Wed, 17 Aug 2022 08:37:35 +0000 (10:37 +0200)
committerKevin Wolf <[email protected]>
Fri, 30 Sep 2022 16:43:44 +0000 (18:43 +0200)
commit006e1962449f8ea9f0822b838d9fdf13c98eb147
treeeccc6d4c995ebe8ae662897595d219bdf581cd38
parent62a6c300f18a9f6994baf6d767985425d48de427
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 <[email protected]>
CC: Kevin Wolf <[email protected]>
CC: Hanna Reitz <[email protected]>
CC: Stefan Hajnoczi <[email protected]>
CC: Fam Zheng <[email protected]>
CC: Ronnie Sahlberg <[email protected]>
CC: Paolo Bonzini <[email protected]>
CC: Peter Lieven <[email protected]>
CC: Vladimir Sementsov-Ogievskiy <[email protected]>
Message-Id: <20220817083736[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/file-posix.c
block/iscsi.c
block/raw-format.c
This page took 0.025112 seconds and 4 git commands to generate.