commit | ae8b45d29317be0bcc60d40e5d627f978b27ccd0 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Nov 24 16:29:06 2022 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Jun 28 14:44:51 2024 +0200 |
tree | deb264a54d469456a989c4f08d5609bb0b779692 | |
parent | b3f1ce8a472e7239b196bcb3aaa38738012f23b5 [diff] |
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>