User Tools

Site Tools


kvm:save_guest

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kvm:save_guest [2020/08/19 12:24] 192.168.1.1kvm:save_guest [2020/08/19 12:28] (current) 192.168.1.1
Line 14: Line 14:
 Once saved, the domain will no longer be running on the system, thus the memory allocated for the domain will be free for other domains to use.  See [[KVM:Restore Guest|Restore Guest]] how to restore from this state file. Once saved, the domain will no longer be running on the system, thus the memory allocated for the domain will be free for other domains to use.  See [[KVM:Restore Guest|Restore Guest]] how to restore from this state file.
  
-Optional parameters+Optional parameters:
  
-  **<nowiki>--xml FILEPATH</nowiki>** - Usually omitted, but can be used to supply an alternative XML file for use on the restored guest with changes only in the host-specific portions of the domain XML.  For example, it can be used to account for file naming differences that are planned to be made via disk snapshots of underlying storage after the guest is saved.  If you forgot to provide this, you can make use of save-image-define later to achieve the same effect.  You may also wish to refer to save-image-dumpxml and save-image-edit +  **<nowiki>--xml FILEPATH</nowiki>** - Usually omitted, but can be used to supply an alternative XML file for use on the restored guest with changes only in the host-specific portions of the domain XML. 
-  **<nowiki>--bypass-cache</nowiki>** - the save will avoid the file system cache, although this may slow down the operation. +      * For example, it can be used to account for file naming differences that are planned to be made via disk snapshots of underlying storage after the guest is saved.  If you forgot to provide this, you can make use of save-image-define later to achieve the same effect.  You may also wish to refer to save-image-dumpxml and save-image-edit. 
-  **--running | --paused** - Normally, restoring a saved image will decide between running or paused based on the state the domain was in when the save was done; passing either the --running or --paused flag will allow overriding which state the restore should use. +  **<nowiki>--bypass-cache</nowiki>** - the save will avoid the file system cache, although this may slow down the operation. 
-  **<nowiki>--verbose<nowiki>**.+  * **<nowiki>--running | --paused</nowiki>** - Normally, restoring a saved image will decide between running or paused based on the state the domain was in when the save was done; passing either the <nowiki>--running</nowiki> or <nowiki>--paused</nowiki> flag will allow overriding which state the restore should use. 
 +  **<nowiki>--verbose</nowiki>**.
  
 Progress may be monitored using **domjobinfo virsh** command and canceled with **domjobabort** (or just Ctrl-C). Progress may be monitored using **domjobinfo virsh** command and canceled with **domjobabort** (or just Ctrl-C).
kvm/save_guest.1597839867.txt.gz · Last modified: 2020/08/19 12:24 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki