aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2021-08-25 20:04:03 +0000
committerjohannst <johannst@users.noreply.github.com>2021-08-25 20:04:03 +0000
commit7e48cdeb627a59d267407936097914b92c1eee8d (patch)
treeec17cfd6d93f1adfc967e7bb3c70ad9ce8af0f04 /tools
parent86bbee3264360de8ab5f8d2b277ac7d1045d0b80 (diff)
downloadnotes-7e48cdeb627a59d267407936097914b92c1eee8d.tar.gz
notes-7e48cdeb627a59d267407936097914b92c1eee8d.zip
deploy: d8e2ee40bcf90318b1add0c06dc3eddc57edad9e
Diffstat (limited to 'tools')
-rw-r--r--tools/qemu.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/qemu.html b/tools/qemu.html
index fc88733..eb46b87 100644
--- a/tools/qemu.html
+++ b/tools/qemu.html
@@ -296,6 +296,23 @@ connection.</p>
# File must contain one event/pattern per line.
-trace events=&lt;events&gt;
</code></pre>
+<h2><a class="header" href="#vm-snapshots" id="vm-snapshots">VM snapshots</a></h2>
+<p>VM snapshots require that there is at least on <code>qcow2</code> disk attached to the VM
+([VM Snapshots][qemu-doc-snapshot]).</p>
+<p>Commands for qemu [Monitor][qemu-doc-monitor] or [QMP][qemu-doc-qmp]:</p>
+<pre><code class="language-bash"># List available snapshots.
+info snapshots
+
+# Create/Load/Delete snapshot with name &lt;tag&gt;
+savevm &lt;tag&gt;
+loadvm &lt;tag&gt;
+delvm &lt;tag&gt;
+</code></pre>
+<p>The snapshot can also be directly specified when invoking qemu as:</p>
+<pre><code class="language-bash">qemu-system-x86_64 \
+ -loadvm &lt;tag&gt; \
+ ...
+</code></pre>
<h2><a class="header" href="#appendix-direct-kernel-boot" id="appendix-direct-kernel-boot">Appendix: Direct <code>Kernel</code> boot</a></h2>
<p>Example command line to directly boot a <code>Kernel</code> with an <code>initrd</code> ramdisk.</p>
<pre><code class="language-bash">qemu-system-x86_64 \
@@ -314,6 +331,9 @@ connection.</p>
<li><a href="https://qemu-project.gitlab.io/qemu/tools/index.html">QEMU Tools</a></li>
<li><a href="https://qemu-project.gitlab.io/qemu/system/index.html">QEMU System</a></li>
<li><a href="https://qemu-project.gitlab.io/qemu/system/invocation.html">QEMU Invocation (command line args)</a></li>
+<li><a href="https://qemu-project.gitlab.io/qemu/system/monitor.html">QEMU Monitor</a></li>
+<li><a href="https://qemu-project.gitlab.io/qemu/interop/qemu-qmp-ref.html">QEMU machine protocol (QMP)</a></li>
+<li><a href="https://qemu-project.gitlab.io/qemu/system/images.html#vm-005fsnapshots">QEMU VM Snapshots</a></li>
</ul>
</main>