Received: from eggs.gnu.org ([2001:4830:134:3::10]:41188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN5Hs-0006cb-NA for qemu-devel@nongnu.org; Fri, 20 Sep 2013 14:18:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VN5Hi-0007cP-B8 for qemu-devel@nongnu.org; Fri, 20 Sep 2013 14:18:40 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:58732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN5Hi-0007cE-5P for qemu-devel@nongnu.org; Fri, 20 Sep 2013 14:18:30 -0400 Received: by mail-wi0-f180.google.com with SMTP id hj3so942813wib.1 for ; Fri, 20 Sep 2013 11:18:29 -0700 (PDT) Message-ID: <523C90EB.5050005@6wind.com> Date: Fri, 20 Sep 2013 20:16:11 +0200 From: Damien Millescamps MIME-Version: 1.0 References: <1379339167-1428-1-git-send-email-damien.millescamps@6wind.com> <523C7C91.4040501@msgid.tls.msk.ru> In-Reply-To: <523C7C91.4040501@msgid.tls.msk.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH v3] ivshmem: allow the sharing of hugepages List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org On 09/20/2013 06:49 PM, Michael Tokarev wrote: > Can you please send a v4 with the above changes? Hopefully you agree > with them. Overall, I like this new version too. Ok, I'll do that ASAP. I'll try to find a better wording for the error messages. At first I tried to modify the code as little as possible to be eligible for qemu-trivial, but clearly I am in favor of adding %m or perror when a syscall fails. BTW, there are some other issues in the ivshmem code, like the maximum size is not enforced (256M in 32b and 4G in 64b) but I am currently investigating a bug in the linux kernel when the size is > 256M (this leads to really weird behavior when coupled with VT-d), so I'll wait to be sure it is really in the kernel and not QEMU related before submitting this part. Thanks, -- Damien