From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rik van Riel Subject: Re: [PATCH 13/16] KVM-HV: KVM Steal time calculation Date: Mon, 24 Jan 2011 18:20:44 -0500 Message-ID: <4D3E094C.2080805@redhat.com> References: <1295892397-11354-1-git-send-email-glommer@redhat.com> <1295892397-11354-14-git-send-email-glommer@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, aliguori@us.ibm.com, Jeremy Fitzhardinge , Peter Zijlstra , Avi Kivity To: Glauber Costa Return-path: In-Reply-To: <1295892397-11354-14-git-send-email-glommer@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 01/24/2011 01:06 PM, Glauber Costa wrote: > To implement steal time, we need the hypervisor to pass the guest information > about how much time was spent running other processes outside the VM. > We consider time to be potentially stolen everytime we schedule out the vcpu, > until we schedule it in again. If this is, or if this will not, be accounted > as steal time for the guest, is a guest's decision. > > Signed-off-by: Glauber Costa > CC: Rik van Riel > CC: Jeremy Fitzhardinge > CC: Peter Zijlstra > CC: Avi Kivity Reviewed-by: Rik van Riel