snapshot_create: correctly set parent when creating a new snapshot

This commit is contained in:
Dietmar Maurer 2012-09-12 09:56:50 +02:00
parent 030dd626f4
commit 05e5ad3f8e

View File

@ -3686,6 +3686,8 @@ my $snapshot_commit = sub {
my $newconf = &$snapshot_apply_config($conf, $snap);
$newconf->{parent} = $snapname;
update_config_nolock($vmid, $newconf, 1);
};