Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are the dumpfiles that savevm command produce in qemu?

I'd want to do some migration work with qemu, but met some difficulty. So if I get the dumpfiles that savevm command produce, it might be helpful. Does anyone know where qemu save these files?

like image 446
Crazykev Avatar asked Sep 18 '25 06:09

Crazykev


1 Answers

To issue the savevm command the file-format of your configured disk must support snapshots, e.g. the command doesn't work if you use the raw file-format, a raw block-device or no disk-device at all.

To answer your question: it is stored as a snapshot inside of your diskimage-file. To view your snapshots issue:

qemu-img snapshot -l mydiskimage.qcow2
like image 165
Jörg Schulz Avatar answered Sep 19 '25 23:09

Jörg Schulz