Re: file_ram_alloc: unify mem-path,mem-prealloc error handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 04, 2014 at 01:41:53PM -0500, Marcelo Tosatti wrote:
> 
> -mem-prealloc asks to preallocate memory residing on -mem-path path. 
> 
> Currently QEMU exits in case:
> 
> - Memory file has been created but allocation via explicit write 
> fails.
> 
> And it fallbacks to malloc in case:
> - Querying huge page size fails.
> - Lack of sync MMU support.
> - Open fails.
> - mmap fails.
> 
> Have the same behaviour for all cases: fail in case -mem-path and
> -mem-prealloc are specified for regions where the requested size is
> suitable for hugepages.
> 
> Signed-off-by: Marcelo Tosatti <mtosatti@xxxxxxxxxx>

Forgot uq/master on the subject (but its aimed for that tree).

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




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux