Home
last modified time | relevance | path

Searched hist:"41770 f6e6ff41ca98e130c79b566f05ec68912fe" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/
H A Dblock.cdiff 41770f6e6ff41ca98e130c79b566f05ec68912fe Thu Nov 24 09:21:18 CST 2022 Paolo Bonzini <pbonzini@redhat.com> block: do not check bdrv_file_open

The set of BlockDrivers that have .bdrv_file_open coincides with those
that have .protocol_name and guess what---checking drv->bdrv_file_open
is done to see if the driver is a protocol. So check drv->protocol_name
instead.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>