Received: from eggs.gnu.org ([2001:4830:134:3::10]:40434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZcxI-0006Nb-CD for qemu-devel@nongnu.org; Wed, 09 Sep 2015 06:50:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZcxE-0007SC-Iw for qemu-devel@nongnu.org; Wed, 09 Sep 2015 06:50:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZcxE-0007S4-Em for qemu-devel@nongnu.org; Wed, 09 Sep 2015 06:50:16 -0400 From: Juan Quintela In-Reply-To: <55EFFEFE.20805@redhat.com> (Paolo Bonzini's message of "Wed, 9 Sep 2015 11:42:22 +0200") References: <1441732357-11861-1-git-send-email-jjherne@linux.vnet.ibm.com> <1441732357-11861-2-git-send-email-jjherne@linux.vnet.ibm.com> <55EFFEFE.20805@redhat.com> Date: Wed, 09 Sep 2015 12:50:13 +0200 Message-ID: <87h9n36f4q.fsf@neno.neno> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v7 1/5] cpu: Provide vcpu throttling interface Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org, dgilbert@redhat.com, borntraeger@de.ibm.com, "Jason J. Herne" , amit.shah@redhat.com, afaerber@suse.de Paolo Bonzini wrote: > On 08/09/2015 19:12, Jason J. Herne wrote: >> Provide a method to throttle guest cpu execution. CPUState is augmented with >> timeout controls and throttle start/stop functions. To throttle the guest cpu >> the caller simply has to call the throttle set function and provide a percentage >> of throttle time. >> >> Signed-off-by: Jason J. Herne >> Reviewed-by: Matthew Rosato > > Reviewed-by: Paolo Bonzini > Acked-by: Paolo Bonzini > > Juan, please merge through your tree. Could you answer to my locking problem on the 1st patch? I can't see why we can drop the iothread lock there (for one eternity). I am missing something obvious ...