From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] Add hypercall to expose physical CPU in xen hypervisor Date: Fri, 06 Nov 2009 16:30:37 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Jiang, Yunhong" , Jeremy Fitzhardinge Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 06/11/2009 08:20, "Jiang, Yunhong" wrote: > This patch add hypercall to xen hypervisor to expose physical CPU information. > It also make some changes to current cpu online/offline logic: > 1) Firstly, cpu online/offline will trigger a vIRQ to dom0 for status changes > notification. > 2) It also add an interface to platform operation to online/offline physical > CPU. Currently the cpu online/offline interface is in sysctl, which can't be > triggered in kernel. With this change, it is possible to trigger cpu > online/offline in dom0 through sysfs interface. Is this and the accompanying Linux patch something that people really want? The new platform hypercall will never be changeable for compatibility reasons and looks kinda... arbitrary. Personally I'd rather not take it. -- Keir