|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH for 2.1 2/2] memory-backend-file: improve error handling |
Date: | Fri, 04 Jul 2014 09:47:43 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Il 04/07/2014 09:43, Hu Tao ha scritto:
The memory size is rounded up to hpagesize when allocating memory, we can waste at most hpagesize-1 bytes memory. I don't think it's a problem. In the other side, do you think we should give an error in the case like -object memory-backend-ram,size=1111M(given 2M hpagesize)?
I think for gb pages it can make sense to waste a little memory (or even not so little, like if you have a 2.5 GB guest).
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |