From 7e48cdeb627a59d267407936097914b92c1eee8d Mon Sep 17 00:00:00 2001 From: johannst Date: Wed, 25 Aug 2021 20:04:03 +0000 Subject: deploy: d8e2ee40bcf90318b1add0c06dc3eddc57edad9e --- tools/qemu.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'tools/qemu.html') 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.

# File must contain one event/pattern per line. -trace events=<events> +

VM snapshots

+

VM snapshots require that there is at least on qcow2 disk attached to the VM +([VM Snapshots][qemu-doc-snapshot]).

+

Commands for qemu [Monitor][qemu-doc-monitor] or [QMP][qemu-doc-qmp]:

+
# List available snapshots.
+info snapshots
+
+# Create/Load/Delete snapshot with name <tag>
+savevm <tag>
+loadvm <tag>
+delvm <tag>
+
+

The snapshot can also be directly specified when invoking qemu as:

+
qemu-system-x86_64 \
+    -loadvm <tag>  \
+    ...
+

Appendix: Direct Kernel boot

Example command line to directly boot a Kernel with an initrd ramdisk.

qemu-system-x86_64                                                     \
@@ -314,6 +331,9 @@ connection.

  • QEMU Tools
  • QEMU System
  • QEMU Invocation (command line args)
  • +
  • QEMU Monitor
  • +
  • QEMU machine protocol (QMP)
  • +
  • QEMU VM Snapshots
  • -- cgit v1.2.3