-
Notifications
You must be signed in to change notification settings - Fork 23
Enabling snapshots (QEMU older than 6.0.0)
Boris Stepanenko edited this page Aug 20, 2021
·
1 revision
nEMU is able to manage VMs snapshots, but this feature needs patched QEMU (added {save|load|del}vm qmp commands). Therefor to be able to use snapshots in nEMU you will need to build QEMU from source.
Since QEMU 6.0.0 {save|load|del}vm qmp commands were added. Our patch is no longer needed, but this API is only supported since nEMU version 3.0.0
Depends on distributive you use, common cases:
- # yum remove qemu
- # apt remove qemu
- etc...
- $ git clone https://git.qemu.org/git/qemu.git
- $ cd qemu
- $ git checkout v4.2.0
- $ patch -p1 < <path_to_nemu_sources>/patches/qemu-qmp-savevm-4.1.0+.patch
- $ ./configure --prefix=/usr --target-list=x86_64-softmmu
- $ make
- # make install