]> git.proxmox.com Git - qemu.git/commit - block/vmdk.c
vmdk: Allow space in file name
authorPhilipp Hahn <hahn@univention.de>
Tue, 29 Jan 2013 21:50:31 +0000 (22:50 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 1 Feb 2013 13:58:29 +0000 (14:58 +0100)
commitcd9234757528a1b7155a75ec2eedb375f71e99fa
tree048124daf23302fa880144bfa320d81660243dbd
parent46536235d80a012cc4286b71426cafad0c7f41f0
vmdk: Allow space in file name

The previous scanf() format string stopped parsing the file name on the
first white white space, which seems to be allowed at least by VMware
Workstation.

Change the format string to collect everything between the first and
second quote as the file name, disallowing line breaks.

Signed-off-by: Philipp Hahn <hahn@univention.de>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/vmdk.c