• J
    blockdev: loosen restrictions on drive-backup source node · a2d665c1
    John Snow 提交于
    We mandate that the source node must be a root node; but there's no reason
    I am aware of that it needs to be restricted to such. In some cases, we need
    to make sure that there's a medium present, but in the general case we can
    allow the backup job itself to do the graph checking.
    
    This patch helps improve the error message when you try to backup from
    the same node more than once, which is reflected in the change to test
    056.
    
    For backups with bitmaps, it will also show a better error message that
    the bitmap is in use instead of giving you something cryptic like "need
    a root node."
    
    Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1707303Signed-off-by: NJohn Snow <jsnow@redhat.com>
    Message-id: 20190521210053.8864-1-jsnow@redhat.com
    Signed-off-by: NMax Reitz <mreitz@redhat.com>
    a2d665c1
blockdev.c 134.9 KB