Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5E3D4E7D0B7 for ; Fri, 22 Sep 2023 00:23:29 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjTx5-00010Q-8h; Thu, 21 Sep 2023 20:23:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjTx0-0000vz-PO for qemu-devel@nongnu.org; Thu, 21 Sep 2023 20:23:19 -0400 Received: from mgamail.intel.com ([192.55.52.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjTwy-0004vO-LW for qemu-devel@nongnu.org; Thu, 21 Sep 2023 20:23:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695342196; x=1726878196; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=dab3aAu4k3nufPAfbbu062Q1SyFnK9S9KKjzquCnxxA=; b=Q3LfYYG5UfU/OETj1nAFOIKqamEHakMEuGmpuoFlPFVSM6z5jravEisM G9lOtx+PGfPw3tCoOjUxxGy2Pn9/GHIwfiMKVCiCrlpwqJrTpjNEXlU2I wnowMmYTWK6mu385KdMGruI483E4zXWhdXnmWTr/jnQB7G9FJx1HQznQg aefgdi3PqbBClutNW5k0zQ+pp2jLliy8U2ELY4SlPZPfVoq70DOvAvlOT YOMS50UAVf4aOOlaZ4EFM0ycIi+mK7wSmgw0sk5rKOjwfUxzM0zd9ExtI wDV7grNb+XqVxBlvRhrC1rli8A1TIDuoZkKeHY0BJrJh0v1cpN2rXssQJ A==; X-IronPort-AV: E=McAfee;i="6600,9927,10840"; a="360088352" X-IronPort-AV: E=Sophos;i="6.03,166,1694761200"; d="scan'208";a="360088352" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2023 17:23:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10840"; a="747341308" X-IronPort-AV: E=Sophos;i="6.03,166,1694761200"; d="scan'208";a="747341308" Received: from xiaoyaol-hp-g830.ccr.corp.intel.com (HELO [10.93.11.250]) ([10.93.11.250]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2023 17:23:09 -0700 Message-ID: <051011a9-c228-1485-5091-62675bb30641@intel.com> Date: Fri, 22 Sep 2023 08:23:07 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.15.1 Subject: Re: [RFC PATCH v2 05/21] kvm: Enable KVM_SET_USER_MEMORY_REGION2 for memslot Content-Language: en-US To: David Hildenbrand , Paolo Bonzini , Igor Mammedov , "Michael S. Tsirkin" , Marcel Apfelbaum , Richard Henderson , Peter Xu , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Cornelia Huck , =?UTF-8?Q?Daniel_P=2e_Berrang=c3=a9?= , Eric Blake , Markus Armbruster , Marcelo Tosatti Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, Michael Roth , isaku.yamahata@gmail.com, Sean Christopherson , Claudio Fontana References: <20230914035117.3285885-1-xiaoyao.li@intel.com> <20230914035117.3285885-6-xiaoyao.li@intel.com> <3f8955f6-c261-d3f3-08a2-54f0bd9caf8e@redhat.com> From: Xiaoyao Li In-Reply-To: <3f8955f6-c261-d3f3-08a2-54f0bd9caf8e@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=192.55.52.136; envelope-from=xiaoyao.li@intel.com; helo=mgamail.intel.com X-Spam_score_int: -58 X-Spam_score: -5.9 X-Spam_bar: ----- X-Spam_report: (-5.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.001, NICE_REPLY_A=-1.473, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On 9/21/2023 4:56 PM, David Hildenbrand wrote: > On 14.09.23 05:51, Xiaoyao Li wrote: >> From: Chao Peng >> >> Switch to KVM_SET_USER_MEMORY_REGION2 when supported by KVM. >> >> With KVM_SET_USER_MEMORY_REGION2, QEMU can set up memory region that >> backend'ed both by hva-based shared memory and gmem fd based private >> memory. >> >> Signed-off-by: Chao Peng >> Codeveloped-by: Xiaoyao Li > > "Co-developed-by". I will fix it, thanks!