From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH v5 4/5] Inter-VM shared memory PCI device Date: Tue, 18 May 2010 20:27:32 +0300 Message-ID: <4BF2CE04.9030200@redhat.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Anthony Liguori , kvm@vger.kernel.org, qemu-devel@nongnu.org To: Cam Macdonell Return-path: Received: from mx1.redhat.com ([209.132.183.28]:27596 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758355Ab0ERR1j (ORCPT ); Tue, 18 May 2010 13:27:39 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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.