qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/3] block: remove separate bdrv_file_open callback


From: Paolo Bonzini
Subject: Re: [PATCH 0/3] block: remove separate bdrv_file_open callback
Date: Wed, 5 Apr 2023 14:19:40 +0200

On Thu, Mar 9, 2023 at 9:50 AM Paolo Bonzini <pbonzini@redhat.com> wrote:
> The value of the bdrv_file_open is sometimes checked to distinguish
> protocol and format drivers, but apart from that there is no difference
> between bdrv_file_open and bdrv_open.
>
> However, they can all be distinguished by the non-NULL .protocol_name
> member.  Change the checks to use .protocol_name instead of .bdrv_file_open,
> and unify the two callbacks.

Ping.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]