diff options
author | Max Reitz <mreitz@redhat.com> | 2016-06-10 20:57:48 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2016-06-16 15:20:37 +0200 |
commit | 67882b153544f7b29412a5bdf40dd3bbba8d64ae (patch) | |
tree | 57f17e71e24caef9229288c568186b80a41e3a54 /tests/qemu-iotests | |
parent | 274fccee2bf63702b34e3923b1e50a49147a7918 (diff) |
block/null: Implement bdrv_refresh_filename()
The null block driver ignores any filename used for creating its BDSs,
which allows creating such BDSs even without any filename at all. In
that case, we currently construct a JSON filename when queried instead
of a plain "null-co://" or "null-aio://". This patch implements
bdrv_refresh_filename() to remedy this behavior.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20160610185750.30956-4-mreitz@redhat.com
[mreitz@redhat.com: Added commit message]
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests')
0 files changed, 0 insertions, 0 deletions