Skip to content

Commit 53e7716

Browse files
author
Jon Ludlam
committed
Merge pull request #973 from johnelse/ca-97354
CA-97354: Preserve VM.snapshot_info across export/import and cross-pool migration.
2 parents 97c5900 + e2bbc1e commit 53e7716

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ocaml/xapi/import.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,7 @@ module VM : HandlerTools = struct
392392
it use the export ref. However, as the corresponding VM object may have not been created
393393
yet, this fiels contains some useful information to update it later. *)
394394
Db.VM.set_is_a_snapshot ~__context ~self:vm ~value:vm_record.API.vM_is_a_snapshot;
395+
Db.VM.set_snapshot_info ~__context ~self:vm ~value:vm_record.API.vM_snapshot_info;
395396
Db.VM.set_snapshot_of ~__context ~self:vm ~value:vm_record.API.vM_snapshot_of;
396397
Db.VM.set_snapshot_time ~__context ~self:vm ~value:vm_record.API.vM_snapshot_time;
397398
Db.VM.set_transportable_snapshot_id ~__context ~self:vm ~value:vm_record.API.vM_transportable_snapshot_id;

0 commit comments

Comments
 (0)