aboutsummaryrefslogtreecommitdiff
path: root/block/blkdebug.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-11-24 16:21:18 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2024-06-28 14:44:51 +0200
commit41770f6e6ff41ca98e130c79b566f05ec68912fe (patch)
tree9201a2f828b7388605e4c2e5a5d5f29d2d2e452e /block/blkdebug.c
parentae8b45d29317be0bcc60d40e5d627f978b27ccd0 (diff)
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>
Diffstat (limited to 'block/blkdebug.c')
0 files changed, 0 insertions, 0 deletions