diff options
author | Max Reitz | 2016-06-10 20:57:48 +0200 |
---|---|---|
committer | Max Reitz | 2016-06-16 15:20:37 +0200 |
commit | 67882b153544f7b29412a5bdf40dd3bbba8d64ae (patch) | |
tree | 57f17e71e24caef9229288c568186b80a41e3a54 /scripts/vmstate-static-checker.py | |
parent | block/mirror: Fix target backing BDS (diff) | |
download | qemu-67882b153544f7b29412a5bdf40dd3bbba8d64ae.tar.gz qemu-67882b153544f7b29412a5bdf40dd3bbba8d64ae.tar.xz qemu-67882b153544f7b29412a5bdf40dd3bbba8d64ae.zip |
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 'scripts/vmstate-static-checker.py')
0 files changed, 0 insertions, 0 deletions