From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya3ps-0004Kn-7G for qemu-devel@nongnu.org; Mon, 23 Mar 2015 11:00:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ya3pm-00071f-Mx for qemu-devel@nongnu.org; Mon, 23 Mar 2015 11:00:12 -0400 Received: from mail-ob0-x22a.google.com ([2607:f8b0:4003:c01::22a]:33772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya3pm-00070Y-IP for qemu-devel@nongnu.org; Mon, 23 Mar 2015 11:00:06 -0400 Received: by obcxo2 with SMTP id xo2so124950453obc.0 for ; Mon, 23 Mar 2015 08:00:06 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <55102804.20808@redhat.com> References: <1427088255-29885-1-git-send-email-famz@redhat.com> <20150323135612.GI9268@stefanha-thinkpad.redhat.com> <55101C22.6040108@redhat.com> <55102804.20808@redhat.com> Date: Mon, 23 Mar 2015 15:00:05 +0000 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH v2] block: Switch to host monotonic clock for IO throttling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Kevin Wolf , Fam Zheng , Alberto Garcia , qemu-devel , Stefan Hajnoczi On Mon, Mar 23, 2015 at 2:49 PM, Paolo Bonzini wrote: > On 23/03/2015 15:28, Stefan Hajnoczi wrote: >> I'd like to know what problems exactly this patch fixes. The test >> case for throttling actually relies on the virtual clock so it can be >> stepped deterministically. What other legitimate cases are there >> where throttling is used outside a running qemu-system process? > > Alberto brought up block jobs. It is debatable whether block jobs > should be stopped while the VM is. This patch is unrelated to block jobs. Block jobs use their own ratelimiting mechanism and the realtime clock (not vm clock). Stefan