From: Keir Fraser Subject: Re: cpu specific fields in getdomaininfo Date: Mon, 9 May 2005 07:32:03 +0100 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed 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: Kip Macy Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 9 May 2005, at 01:11, Kip Macy wrote: >> From my usage standpoint, cpu_time should be the highest of all of the > vcpus, PAUSED and BLOCKED should be the logical AND of all the vcpus > and RUNNING should be the logical OR of all of the vcpus, processor > should simply be moved to getvcpucontext or be made into separate > field along the lines of the bitmask discussed previously. None of these fields make much sense to aggregate and ought probably to disappear from GETDOMAININFO. Possibly cpu_time should be the *sum* of all individual vcpu times. I think your method aggregating paused/blocked/running is probably the sanest. -- Keir