diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-11-24 16:29:06 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-06-28 14:44:51 +0200 |
commit | ae8b45d29317be0bcc60d40e5d627f978b27ccd0 (patch) | |
tree | deb264a54d469456a989c4f08d5609bb0b779692 /hw/block | |
parent | b3f1ce8a472e7239b196bcb3aaa38738012f23b5 (diff) | |
download | qemu-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')
0 files changed, 0 insertions, 0 deletions