diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2022-11-24 16:21:18 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-06-28 14:44:51 +0200 |
| commit | 41770f6e6ff41ca98e130c79b566f05ec68912fe (patch) | |
| tree | 9201a2f828b7388605e4c2e5a5d5f29d2d2e452e /include/exec/memory.h | |
| parent | ae8b45d29317be0bcc60d40e5d627f978b27ccd0 (diff) | |
| download | focaccia-qemu-41770f6e6ff41ca98e130c79b566f05ec68912fe.tar.gz focaccia-qemu-41770f6e6ff41ca98e130c79b566f05ec68912fe.zip | |
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 'include/exec/memory.h')
0 files changed, 0 insertions, 0 deletions