qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Snapshot customizing


From: Peter Maydell
Subject: Re: Snapshot customizing
Date: Wed, 27 Jul 2022 11:29:33 +0100

On Tue, 26 Jul 2022 at 23:11, Jayakrishna Vadayath <jay@forallsecure.com> wrote:
> I'm very new to QEMU and I'm still trying to figure my way out through the 
> source code.
> Currently I'm using the QEMU snapshot restore mechanism and I've noticed that 
> it usually takes close to 200 milliseconds to restore a small snapshot.
>
> I was thinking of ways to optimize this for my use case and I was wondering 
> if it would be possible to only snapshot and restore specific devices (for 
> example just the RAM).

Have you profiled to find out where the time is being spent?
For your average VM I would expect the RAM to be most of the
time taken, because there's so much data to store to the
snapshot.

More generally, restoring only specific devices tends to
result in the restored snapshot not working, because the
virtual machine is no longer in a consistent state on restore.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]