This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Re: [PATCH] Add hypercall to expose physical CPU in xen hype

To: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: [Xen-devel] Re: [PATCH] Add hypercall to expose physical CPU in xen hypervisor
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 06 Nov 2009 16:30:37 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 06 Nov 2009 08:31:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E2263E4A5B2284449EEBD0AAB751098418E4775B99@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acpeuf300Ickgz5OTDS79L9uDNqAKgARHqPM
Thread-topic: [PATCH] Add hypercall to expose physical CPU in xen hypervisor
User-agent: Microsoft-Entourage/
On 06/11/2009 08:20, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> 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

Xen-devel mailing list