summaryrefslogtreecommitdiff
path: root/tests/spapr-phb-test.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2014-11-11 10:23:44 +0100
committerKevin Wolf <kwolf@redhat.com>2014-12-10 10:31:11 +0100
commit8779441b1b0e03bd3e5213dee447ab0c955e374b (patch)
tree1545219634a434b7168d05259cb0d5dac17fc36d /tests/spapr-phb-test.c
parent48fe86f6400574165979e0db6f5937ad487b6888 (diff)
downloadqemu-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 'tests/spapr-phb-test.c')
0 files changed, 0 insertions, 0 deletions