Skip to content
  • Kevin Wolf's avatar
    block: Add errp to bdrv_new() · 98522f63
    Kevin Wolf authored
    
    
    This patch adds an errp parameter to bdrv_new() and updates all its
    callers. The next patches will make use of this in order to check for
    duplicate IDs. Most of the callers know that their ID is fine, so they
    can simply assert that there is no error.
    
    Behaviour doesn't change with this patch yet as bdrv_new() doesn't
    actually assign errors to errp.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    Reviewed-by: default avatarEric Blake <eblake@redhat.com>
    98522f63