Search

libvirt storage of saved vm states and changing the storage

libvirt allows us to use the virtual memory state to be restored later to start the machine from the saved state. The saving of the virtual machine state requires extra memory and the location or folder in which the state is saved is



For example if the virtual machine name is debian, when the vitual machine is saved it is saved as debian.save in the above mentioned folder. If the space avialable in this partition is not enough then we can make this folder to point to a different partition in which space is availble using the command ln. Let us say we have a paritition /media/disk1/virtual_machines use the ln command as follows

Thus helping use the memory in which ever partition is availble.