|
From: | Xiao Guangrong |
Subject: | Re: [Qemu-devel] [PATCH v7 09/35] exec: allow file_ram_alloc to work on file |
Date: | Tue, 3 Nov 2015 21:32:51 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 11/03/2015 08:34 PM, Igor Mammedov wrote:
On Mon, 2 Nov 2015 17:13:11 +0800 Xiao Guangrong <address@hidden> wrote:Currently, file_ram_alloc() only works on directory - it creates a file under @path and do mmap on it This patch tries to allow it to work on file directly, if @path is a directory it works as before, otherwise it treats @path as the target file then directly allocate memory from itPaolo has just queued https://lists.gnu.org/archive/html/qemu-devel/2015-10/msg06513.html perhaps that's what you can reuse here.
Yep, Paolo has told me about that, i will update this patchset after his pull request. BTW, which tree should this patchset be based on in future development? Paolo's or Michael's or even upstream qemu tree? Thanks!
[Prev in Thread] | Current Thread | [Next in Thread] |