[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Async savevm using userfaultfd(2)
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] Async savevm using userfaultfd(2) |
Date: |
Wed, 12 Oct 2016 09:18:28 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
On 10/12/2016 09:04 AM, Stefan Hajnoczi wrote:
> John and I recently discussed asynchronous savevm and I wanted to post
> the ideas so they aren't forgotten. (We're not actively working on this
> feature.)
>
> Asynchronous savevm has the same effect as the 'savevm' monitor command:
> it saves RAM, device state, and a snapshot of all disks at the point in
> time the command was issued.
>
Interesting idea.
I suspect this would have benefits over using fork()'s copy-on-write
semantics, even if we could come up with a way to safely fork where the
child permits no state modification, but merely starts scraping off the
memory state of the guest at the time of the fork.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature