Re: [Qemu-devel] Re: [PATCH] add MADV_DONTFORK to guest physical memory

2010-09-15 Thread Gleb Natapov
On Wed, Sep 15, 2010 at 11:03:14PM +0200, Michael S. Tsirkin wrote: > On Wed, Sep 15, 2010 at 07:08:24PM +0200, Andrea Arcangeli wrote: > > From: Andrea Arcangeli > > > > All allocated guest physical memory shall be marked MADV_DONTFORK, otherwise > > fork will fail because of accounting issues p

[Qemu-devel] Re: [PATCH] add MADV_DONTFORK to guest physical memory

2010-09-15 Thread Michael S. Tsirkin
On Wed, Sep 15, 2010 at 07:08:24PM +0200, Andrea Arcangeli wrote: > From: Andrea Arcangeli > > All allocated guest physical memory shall be marked MADV_DONTFORK, otherwise > fork will fail because of accounting issues preventing migration or netdev_add > when the guest allocated more than half of