Shan, Haitao
2008-Sep-22 08:45 UTC
[Xen-devel] [PATCH 0/2] Add hypercall interface for cpu online/offline
Hi, Keir, These two little patches will add a hypercall interface for cpu online/offline. Currently, I add it to Xen platform ops hypercall. I am not sure whether it is the proper place to hold this. So, any comments or preference from you? Thanks. Best Regards Haitao Shan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Sep-22 08:48 UTC
[Xen-devel] Re: [PATCH 0/2] Add hypercall interface for cpu online/offline
Should be a sysctl. platform_ops are for things we want controlled by, typically, dom0 kernel. This will be controlled from tools. -- Keir On 22/9/08 09:45, "Shan, Haitao" <haitao.shan@intel.com> wrote:> Hi, Keir, > > These two little patches will add a hypercall interface for cpu > online/offline. > Currently, I add it to Xen platform ops hypercall. I am not sure whether it is > the proper place to hold this. So, any comments or preference from you? > Thanks. > > Best Regards > Haitao Shan_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Christoph Egger
2008-Sep-22 09:34 UTC
Re: [Xen-devel] Re: [PATCH 0/2] Add hypercall interface for cpu online/offline
Please rename offline to poweroff and use offline for de-coupling the physical CPU from the Xen scheduler only. This is useful for machine check handling. Christoph On Monday 22 September 2008 10:48:17 Keir Fraser wrote:> Should be a sysctl. platform_ops are for things we want controlled by, > typically, dom0 kernel. This will be controlled from tools. > > -- Keir > > On 22/9/08 09:45, "Shan, Haitao" <haitao.shan@intel.com> wrote: > > Hi, Keir, > > > > These two little patches will add a hypercall interface for cpu > > online/offline. > > Currently, I add it to Xen platform ops hypercall. I am not sure whether > > it is the proper place to hold this. So, any comments or preference from > > you? Thanks.-- AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Geschäftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplementär: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Geschäftsführer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Sep-22 09:43 UTC
Re: [Xen-devel] Re: [PATCH 0/2] Add hypercall interface for cpu online/offline
online/offline is the usual terminology for CPU hotplug. If we need a separate operation to merely stop scheduling on that pCPU (which isn''t immediately apparent to me) then we''ll come up with a name for it. -- Keir On 22/9/08 10:34, "Christoph Egger" <Christoph.Egger@amd.com> wrote:> > Please rename offline to poweroff and use offline for > de-coupling the physical CPU from the Xen scheduler only. > This is useful for machine check handling. > > Christoph > > > On Monday 22 September 2008 10:48:17 Keir Fraser wrote: >> Should be a sysctl. platform_ops are for things we want controlled by, >> typically, dom0 kernel. This will be controlled from tools. >> >> -- Keir >> >> On 22/9/08 09:45, "Shan, Haitao" <haitao.shan@intel.com> wrote: >>> Hi, Keir, >>> >>> These two little patches will add a hypercall interface for cpu >>> online/offline. >>> Currently, I add it to Xen platform ops hypercall. I am not sure whether >>> it is the proper place to hold this. So, any comments or preference from >>> you? Thanks. > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel