[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Save qemu state
From: |
Leek, Jim |
Subject: |
RE: Save qemu state |
Date: |
Wed, 1 Dec 2021 19:28:04 +0000 |
So, why doesn't QEMU support external checkpoints? (ie an option where
checkpoints each get written to a new file.)
-----Original Message-----
From: Qemu-discuss <qemu-discuss-bounces+leek2=llnl.gov@nongnu.org> On Behalf
Of Peter Maydell
Sent: Wednesday, December 1, 2021 9:11 AM
To: Динар Талибуллин <dinartal@gmail.com>
Cc: qemu-discuss@nongnu.org
Subject: Re: Save qemu state
On Wed, 1 Dec 2021 at 14:14, Динар Талибуллин <dinartal@gmail.com> wrote:
>
> Hello. Is it possible to save qemu state if image is in *. elf format?
> I tried to do it in qemu monitor, but it require qcow2 format
You need QEMU to know about one disk which is in qcow2 format, so it can save
the state there, but that disk doesn't actually have to be attached to the
emulated machine. This blog post has a note on how to do that:
https://urldefense.us/v3/__https://translatedcode.wordpress.com/2015/07/06/tricks-for-debugging-qemu-savevm-snapshots/__;!!G2kpM7uM-TzIFchu!m3xbK4CoKKh7PSXBOyAvLwSMVOMcUtGC2p2XsSROlweyhgOgW7Y9Eigo-wp7yaw$
(look for the bit starting "If the QEMU system you’re trying to debug doesn’t
have a disk image at all".)
-- PMM