Re: [PATCH 1/1] block-common: fix BDRV_WANT_PRECISE duplicating BDRV_WANT_OFFSET_VALID

Kevin Wolf <[email protected]>
Newsgroups gmane.comp.emulators.qemu.block,gmane.comp.emulators.qemu
Message-ID <[email protected]>
Am 24.07.2026 um 18:11 hat Denis V. Lunev geschrieben:
> Should OR in BDRV_WANT_ALLOCATED instead.
> 
> Actually there is not problem within the code right now as the value is
> used as enum rather than flags but that is for now. Let us stay on the
> safe side.
> 
> Fixes: c33159dec790 ("block: Expand block status mode from bool to flags")
> Signed-off-by: Denis V. Lunev <[email protected]>
> CC: Eric Blake <[email protected]>
> CC: Stefan Hajnoczi <[email protected]>

Thanks, applied to the block-next branch for QEMU 11.2.

Kevin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.