Prabhjeet, On Thursday 11 October 2012 07:32:31 prabhjeet kaur wrote: > How one can read the .SAV file created by snapshots. In which form > snapshots save the details regarding difference from the last snapshot, > memory details, etc... Where the API of snapshot is available.
a .sav file contains always the *complete* state of the guest at a certain point in time. It does *not* contain any information stored on external devices like virtual disks. When a snapshot is created, a .sav file is created containing the VM state which is required to restore the guest state for that time and a new differential disk image is created for each virtual disk (which is not attached in some special mode to prevent that). From now on, guest disk write requests go to the differential image. When you restore a snapshat, the differential image is removed so all changes to the disk after the snapshot was created are lost. A .sav file is created using the SSM (saved state manager) code. You will find the API in include/VBox/vmm/ssm.h and src/VBox/VMM/VMMR3/SSM.cpp. Kind regards, Frank -- Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany Hauptverwaltung: Riesstr. 25, D-80992 München Registergericht: Amtsgericht München, HRA 95603 Geschäftsführer: Jürgen Kunz Komplementärin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
