From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44447 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEQZy-0003IJ-JL for qemu-devel@nongnu.org; Tue, 18 May 2010 13:27:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEQZv-0001x7-AT for qemu-devel@nongnu.org; Tue, 18 May 2010 13:27:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57494) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEQZv-0001wl-2A for qemu-devel@nongnu.org; Tue, 18 May 2010 13:27:39 -0400 Message-ID: <4BF2CE04.9030200@redhat.com> Date: Tue, 18 May 2010 20:27:32 +0300 From: Avi Kivity MIME-Version: 1.0 References: <1271872408-22842-1-git-send-email-cam@cs.ualberta.ca> <1271872408-22842-3-git-send-email-cam@cs.ualberta.ca> <1271872408-22842-4-git-send-email-cam@cs.ualberta.ca> <1271872408-22842-5-git-send-email-cam@cs.ualberta.ca> <4BE7F517.5010707@redhat.com> <4BE82623.4000905@redhat.com> <4BE82877.1040408@codemonkey.ws> <4BE839BD.1060502@codemonkey.ws> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH v5 4/5] Inter-VM shared memory PCI device List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cam Macdonell Cc: kvm@vger.kernel.org, qemu-devel@nongnu.org On 05/18/2010 07:58 PM, Cam Macdonell wrote: > > My question is how to I unregister the physical memory so it is not > copied on migration (for the role=peer case). There isn't a > cpu_unregister_physical_memory(). > It doesn't need to be unregistered, simply marked not migratable. Perhaps a flags argument to c_r_p_m(). -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.