Fam Zheng dbecebddfa block: fix backing file overriding
Providing backing.file.filename doesn't override backing file as expected:

    $ x86_64-softmmu/qemu-system-x86_64 -drive \
        file=/tmp/child.qcow2,backing.file.filename=/tmp/fake.qcow2

    qemu-system-x86_64: -drive \
        file=/tmp/child.qcow2,backing.file.filename=/tmp/fake.qcow2: could not
        open disk image /tmp/child.qcow2: Can't specify 'file' and 'filename'
        options at the same time

With

    $ qemu-img info /tmp/child.qcow2
    image: /tmp/child.qcow2
    file format: qcow2
    virtual size: 1.0G (1073741824 bytes)
    disk size: 196K
    cluster_size: 65536
    backing file: /tmp/fake.qcow2

This fixes it by calling bdrv_get_full_backing_filename only if
backing.file.filename is not provided. Also save the backing file name
to bs->backing_file so the information is correct with HMP "info block".

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2013-09-25 10:08:56 +02:00
2013-04-18 13:50:53 +02:00
2013-07-09 13:38:56 -05:00
2013-07-30 23:11:07 +01:00
2013-08-07 12:48:00 -05:00
2013-07-26 22:01:31 +02:00
2013-07-30 23:11:07 +01:00
2013-09-18 08:57:02 -04:00
2013-09-03 12:25:55 +02:00
2013-09-20 20:09:24 +04:00
2013-05-03 13:58:09 +02:00
2012-09-07 09:02:44 +03:00
2013-07-18 08:17:42 -07:00
2013-09-05 09:40:31 -05:00
2013-09-03 12:25:55 +02:00
2013-09-25 10:08:56 +02:00
2013-09-06 15:25:08 +02:00
2013-09-02 09:08:29 -07:00
2013-09-03 12:25:55 +02:00
2013-09-03 12:25:55 +02:00
2013-09-03 12:25:55 +02:00
2013-09-03 12:25:55 +02:00
2013-07-23 02:41:31 +02:00
2013-09-17 11:10:47 -05:00
2013-02-21 16:17:31 -06:00
2013-08-12 09:15:12 -05:00
2013-06-14 15:33:10 +01:00
2013-09-03 12:25:55 +02:00
2013-09-01 19:03:43 +04:00
2013-09-06 15:25:08 +02:00
2013-05-18 16:35:12 +04:00
2013-09-12 09:58:18 +02:00
2013-09-12 13:49:50 +02:00
2013-07-19 12:52:03 +04:00
2013-05-01 13:06:07 +02:00
2013-09-02 09:08:29 -07:00
2013-08-15 15:41:13 -05:00
2013-08-27 14:21:16 +02:00
2013-04-08 18:13:10 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 866 MiB
Languages
C 83.1%
C++ 6.1%
Python 3.4%
Dylan 2.7%
Shell 1.5%
Other 3%