diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-05-08 16:51:55 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-05-10 11:01:59 +0200 |
commit | f6133def92a3575c9abf57d066108df53e67629e (patch) | |
tree | 3dd24a9140875c5649b35f4469ebace7220eec66 /block/blkdebug.c | |
parent | 6e34360973ffe1effaa65978a2afbf8cc5a5d7a9 (diff) | |
download | qemu-f6133def92a3575c9abf57d066108df53e67629e.zip |
stream: pass new base image format to bdrv_change_backing_file
When an image is modified to point to the new backing file, the backing
file format is set to NULL, which means auto-probe. This is wrong, in
fact it is a small security problem.
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/blkdebug.c')
0 files changed, 0 insertions, 0 deletions