[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Async savevm using userfaultfd(2)
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] Async savevm using userfaultfd(2) |
Date: |
Fri, 14 Oct 2016 17:45:55 +0100 |
User-agent: |
Mutt/1.7.0 (2016-08-17) |
On Thu, Oct 13, 2016 at 04:27:19PM +0200, Andrea Arcangeli wrote:
> I would suggest not to implement mprotect+sigsegv because maintaining
> both APIs would be messy but mostly because mprotect cannot really
> work for all cases and it would risk to fail at any time with
> -ENOMEM. postcopy live migration had similar issues and this is why it
> wasn't possible to achieve it reliably without userfaultfd.
Yes, thanks for explaining the issues. I agree that the mprotect
approach isn't worthwhile. We need to use userfaultfd.
Stefan
signature.asc
Description: PGP signature