Re: [Qemu-devel] Are there plans to achieve ram live Snapshot feature?

2013-08-14 Thread Alex Bligh

On 14 Aug 2013, at 08:53, Stefan Hajnoczi wrote:

> The fork child can minimize the chance of out-of-memory by using
> madvise(MADV_DONTNEED) after pages have been written out.

This may also be helpful (last clause) before starting writing.

   MADV_SEQUENTIAL
  Expect  page references in sequential order.
  (Hence, pages in the given range can be aggressively
  read ahead, and may be freed soon after they
  are accessed.)

-- 
Alex Bligh




--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [Qemu-devel] Are there plans to achieve ram live Snapshot feature?

2013-08-12 Thread Alex Bligh



--On 12 August 2013 11:59:03 +0200 Stefan Hajnoczi  
wrote:



The idea that was discussed on qemu-de...@nongnu.org uses fork(2) to
capture the state of guest RAM and then send it back to the parent
process.  The guest is only paused for a brief instant during fork(2)
and can continue to run afterwards.


How would you capture the state of emulated hardware which might not
be in the guest RAM?

--
Alex Bligh
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html