aboutsummaryrefslogtreecommitdiff
path: root/hw/block/block.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-11-24 16:29:06 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2024-06-28 14:44:51 +0200
commitae8b45d29317be0bcc60d40e5d627f978b27ccd0 (patch)
treedeb264a54d469456a989c4f08d5609bb0b779692 /hw/block/block.c
parentb3f1ce8a472e7239b196bcb3aaa38738012f23b5 (diff)
downloadqemu-ae8b45d29317be0bcc60d40e5d627f978b27ccd0.zip
qemu-ae8b45d29317be0bcc60d40e5d627f978b27ccd0.tar.gz
qemu-ae8b45d29317be0bcc60d40e5d627f978b27ccd0.tar.bz2
block: make assertion more generic
.bdrv_needs_filename is only set for drivers that also set bdrv_file_open, i.e. protocol drivers. So we can make the assertion always, it will always pass for those drivers that use bdrv_open. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/block/block.c')
0 files changed, 0 insertions, 0 deletions