|
@@ -148,8 +148,6 @@ static void QEMU_NORETURN help(void)
|
|
" 'snapshot_param' is param used for internal snapshot, format\n"
|
|
" 'snapshot_param' is param used for internal snapshot, format\n"
|
|
" is 'snapshot.id=[ID],snapshot.name=[NAME]', or\n"
|
|
" is 'snapshot.id=[ID],snapshot.name=[NAME]', or\n"
|
|
" '[ID_OR_NAME]'\n"
|
|
" '[ID_OR_NAME]'\n"
|
|
- " 'snapshot_id_or_name' is deprecated, use 'snapshot_param'\n"
|
|
|
|
- " instead\n"
|
|
|
|
" '-c' indicates that target image must be compressed (qcow format only)\n"
|
|
" '-c' indicates that target image must be compressed (qcow format only)\n"
|
|
" '-u' allows unsafe backing chains. For rebasing, it is assumed that old and\n"
|
|
" '-u' allows unsafe backing chains. For rebasing, it is assumed that old and\n"
|
|
" new backing file match exactly. The image doesn't need a working\n"
|
|
" new backing file match exactly. The image doesn't need a working\n"
|
|
@@ -2018,7 +2016,7 @@ static int img_convert(int argc, char **argv)
|
|
{"target-image-opts", no_argument, 0, OPTION_TARGET_IMAGE_OPTS},
|
|
{"target-image-opts", no_argument, 0, OPTION_TARGET_IMAGE_OPTS},
|
|
{0, 0, 0, 0}
|
|
{0, 0, 0, 0}
|
|
};
|
|
};
|
|
- c = getopt_long(argc, argv, ":hf:O:B:co:s:l:S:pt:T:qnm:WU",
|
|
|
|
|
|
+ c = getopt_long(argc, argv, ":hf:O:B:co:l:S:pt:T:qnm:WU",
|
|
long_options, NULL);
|
|
long_options, NULL);
|
|
if (c == -1) {
|
|
if (c == -1) {
|
|
break;
|
|
break;
|
|
@@ -2059,9 +2057,6 @@ static int img_convert(int argc, char **argv)
|
|
g_free(old_options);
|
|
g_free(old_options);
|
|
}
|
|
}
|
|
break;
|
|
break;
|
|
- case 's':
|
|
|
|
- snapshot_name = optarg;
|
|
|
|
- break;
|
|
|
|
case 'l':
|
|
case 'l':
|
|
if (strstart(optarg, SNAPSHOT_OPT_BASE, NULL)) {
|
|
if (strstart(optarg, SNAPSHOT_OPT_BASE, NULL)) {
|
|
sn_opts = qemu_opts_parse_noisily(&internal_snapshot_opts,
|
|
sn_opts = qemu_opts_parse_noisily(&internal_snapshot_opts,
|