qemu.migrate: Quote the paths in gzip command
The path in gzip command might contain spaces or "weird" characters.
Migrate command already uses double-quotes so let's use the single
quotes to avoid the need to escape characters in the src/dst path.
Tested with:
exec:gzip -c > '/var/tmp/avocado_u8sHJg/avocado_job_OHWFL5/1-\
functional_rpm_dvd type_specific.io-github-autotest-qemu.migrate\
.with_reboot.exec.gzip_exec;-e630/migrateE8PDpZ/migrate_file'
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
Showing
想要评论请 注册 或 登录