On Thu, 2011-04-21 at 15:48 +0300, Pekka Enberg wrote:
> On Thu, Apr 21, 2011 at 3:45 PM, Sasha Levin <[email protected]> wrote:
> > Add --use-backing to allow for the usage of a temporary backing file for 
> > guest RAM.
> > A temporary file is created and aollocated under /tmp and is used to back 
> > the RAM memory which is mmaped for the guest.
> > There should be enough storage space under /tmp to use this option (at 
> > least the size of the guest RAM).
> >
> > Signed-off-by: Sasha Levin <[email protected]>
> 
> OK, but what is this useful for? Why would someone want to do this?

It's an alternative to creating more swap.
When using large RAM sizes for guests on hosts with limited physical
RAM/swap this option gives the user a way to use files instead of swap.

This can also be extended to use hugetlbfs.

-- 

Sasha.

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

Reply via email to