Received: from eggs.gnu.org ([2001:4830:134:3::10]:36830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byd4y-0006RR-8U for qemu-devel@nongnu.org; Mon, 24 Oct 2016 07:06:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1byd4t-0001Le-AL for qemu-devel@nongnu.org; Mon, 24 Oct 2016 07:06:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33860) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1byd4t-0001LV-4i for qemu-devel@nongnu.org; Mon, 24 Oct 2016 07:06:03 -0400 References: <20161021171100.18049.96340.stgit@gimli.home> <7c882719-507a-daf1-6c90-25cdd11b9ac4@gmx.de> <20161022090955.41762256@t450s.home> From: Paolo Bonzini Message-ID: <4e5b9816-d845-a502-8737-572b0cb638b8@redhat.com> Date: Mon, 24 Oct 2016 13:05:56 +0200 MIME-Version: 1.0 In-Reply-To: <20161022090955.41762256@t450s.home> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH] memory: Don't use memcpy for ram marked as skip_dump List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Williamson , Thorsten Kohfeldt Cc: qemu-devel@nongnu.org On 22/10/2016 17:09, Alex Williamson wrote: > > Add a trace message for each mrop. > > Yes, this is on my todo list post-RFC. Another thing to think about: 1) rename all the skip_dump occurrences in the API to device_memory. The new ops make it much more specific than just skipping the region during dumps. 2) get rid of mr->skip_dump and check mr->ops == &skip_dump_ops (or device_memory_ops) instead. Paolo