From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uosfu-0008WK-W5 for qemu-devel@nongnu.org; Tue, 18 Jun 2013 05:58:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uosft-00023v-R5 for qemu-devel@nongnu.org; Tue, 18 Jun 2013 05:58:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16507) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uosft-00023h-J7 for qemu-devel@nongnu.org; Tue, 18 Jun 2013 05:58:05 -0400 Message-ID: <51C02F20.806@redhat.com> Date: Tue, 18 Jun 2013 11:57:52 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1371542991-15911-1-git-send-email-gaowanlong@cn.fujitsu.com> <1371542991-15911-6-git-send-email-gaowanlong@cn.fujitsu.com> <51C026B6.8030606@redhat.com> <51C02C02.7000106@cn.fujitsu.com> In-Reply-To: <51C02C02.7000106@cn.fujitsu.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 5/7] NUMA: add qmp command set-mpol to set memory policy for NUMA node List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: gaowanlong@cn.fujitsu.com Cc: aliguori@us.ibm.com, ehabkost@redhat.com, qemu-devel@nongnu.org, y-goto@jp.fujitsu.com, afaerber@suse.de Il 18/06/2013 11:44, Wanlong Gao ha scritto: > On 06/18/2013 05:21 PM, Paolo Bonzini wrote: >> Il 18/06/2013 10:09, Wanlong Gao ha scritto: >>> The QMP command let it be able to set node's memory policy >>> through the QMP protocol. The qmp-shell command is like: >>> set-mpol nodeid=0 mpol=membind nodemask=0-1 >>> >>> Signed-off-by: Wanlong Gao >> >> How would this work with mem-path? > > This can also set mempolicy for mem-path backed memory in > guest nodes. So we don't need to know if we are using > mem-path. Cool, I didn't know this. Thanks. Paolo