diff options
author | Max Reitz <mreitz@redhat.com> | 2014-11-11 10:23:44 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-12-10 10:31:11 +0100 |
commit | 8779441b1b0e03bd3e5213dee447ab0c955e374b (patch) | |
tree | 1545219634a434b7168d05259cb0d5dac17fc36d /bt-host.c | |
parent | 48fe86f6400574165979e0db6f5937ad487b6888 (diff) | |
download | qemu-8779441b1b0e03bd3e5213dee447ab0c955e374b.tar.gz qemu-8779441b1b0e03bd3e5213dee447ab0c955e374b.tar.bz2 qemu-8779441b1b0e03bd3e5213dee447ab0c955e374b.zip |
blkdebug: Simplify and improve filename generation
Instead of actually recreating the options from scratch, just reuse the
options given for creating the BDS, which are the configuration file
name and additional options. In case there are no additional options we
can thus create a plain filename.
This obviously results in a different output for qemu-iotest 099 which
exactly tests this filename generation. Fix it up as well.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1415697825-26678-2-git-send-email-mreitz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'bt-host.c')
0 files changed, 0 insertions, 0 deletions