]> git.proxmox.com Git - qemu.git/commit - block.c
block: Enable filename option
authorKevin Wolf <kwolf@redhat.com>
Tue, 9 Apr 2013 12:34:19 +0000 (14:34 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 22 Apr 2013 08:27:59 +0000 (10:27 +0200)
commit035fccdf7993a5b9a40f9dec22a663d4d6edb36b
tree9f4f3e3c965c1426be4e06934242fb2562611221
parent31ca6d077c24b7aaa322d8930e3e5debbdb4a047
block: Enable filename option

This allows using the file.filename option instead of the string that
comes from -drive file=... and is passed around as a separate parameter.
The goal is to get rid of this parameter and use the options QDict more
consistently.

With this option you can access not only the top-level image, but
specify a filename for the backing file (currently only if no backing
file exists, but we'll allow overriding it later)

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block.c