Re: [PATCH 2/4] qemu-io: use BdrvRequestFlags instead of int

2023-01-27 Thread Eric Blake
On Thu, Jan 26, 2023 at 03:13:59PM -0500, Stefan Hajnoczi wrote: > The block layer APIs use BdrvRequestFlags while qemu-io code uses int. > Although the code compiles and runs fine, BdrvRequestFlags is clearer > because it differentiates between other types of flags like bdrv_open() > flags. > > T

[PATCH 2/4] qemu-io: use BdrvRequestFlags instead of int

2023-01-26 Thread Stefan Hajnoczi
The block layer APIs use BdrvRequestFlags while qemu-io code uses int. Although the code compiles and runs fine, BdrvRequestFlags is clearer because it differentiates between other types of flags like bdrv_open() flags. This is purely refactoring. Signed-off-by: Stefan Hajnoczi --- qemu-io-cmds