diff --git a/vl.c b/vl.c index dfdea55..7d07d69 100644 --- a/vl.c +++ b/vl.c @@ -2346,7 +2346,7 @@ static int drive_init_func(QemuOpts *opts, void *opaque) QEMUMachine *machine = opaque; int fatal_error = 0; - qemu_opts_print(opts, NULL); +// qemu_opts_print(opts, NULL); if (drive_init(opts, machine, &fatal_error) == NULL) { if (fatal_error) return 1; @@ -2357,7 +2357,7 @@ static int drive_init_func(QemuOpts *opts, void *opaque) static int drive_enable_snapshot(QemuOpts *opts, void *opaque) { if (NULL == qemu_opt_get(opts, "snapshot")) { - qemu_opt_set(opts, "snapshot", "1"); + qemu_opt_set(opts, "snapshot", "on"); } return 0; }