• J
    block/qapi: allow best-effort query · a5002d53
    John Snow 提交于
    For more complex BDS trees that can be created under normal circumstances,
    we lose the ability to issue query commands because of our inability to
    re-construct the absolute filename.
    
    Instead, omit this field when it is a problem and present as much information
    as we can.
    
    This will change the expected output in iotest 110, where we will now see a
    json filename and the lack of an absolute filename instead of an error.
    Signed-off-by: NJohn Snow <jsnow@redhat.com>
    Message-id: 1450122916-4706-6-git-send-email-jsnow@redhat.com
    Reviewed-by: NMax Reitz <mreitz@redhat.com>
    Signed-off-by: NMax Reitz <mreitz@redhat.com>
    a5002d53
qapi.c 24.4 KB