savevm and loadvm function
Hello List,
I am wondering about the backend operation of the 'savevm' and 'loadvm' monitor commands.
I am familiar with the VMware Snapshot concept, which saves both the current memory and disk states.
Does qemu save memory and disk states, or just memory states?
The reason I ask is I would like to save the state of my qemu machine, install some test software, and then revert back to that saved state (for both memory and disk).
Is this possible?
Signature · 2 lines
Lee [email protected]
Quoted 4 lines · Lee
Hello List,
Does qemu save memory and disk states, or just memory states?
Only memory.
Quoted 7 lines
The reason I ask is I would like to save the state of my qemu machine, install some test software, and then revert back to that saved state (for both memory and disk).
Is this possible?
Yes, you just need to combine save/loadvm with the -snapshot option (which lets you write changed to the disk in a separate file). Then if you wanna revert back, you just remove the snapshot and load up the saved vm (assuming you do not commit the snapshot back to the original disk).
Quoted 13 lines
Signature · 10 lines
-- Lee [email protected] _______________________________________________ Qemu-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/qemu-devel
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.