From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 14/21] MIPS: KVM: Add nanosecond count bias KVM register Date: Sat, 26 Apr 2014 11:37:28 +0200 Message-ID: <535B7E58.4070304@redhat.com> References: <1398439204-26171-1-git-send-email-james.hogan@imgtec.com> <1398439204-26171-15-git-send-email-james.hogan@imgtec.com> <535A9AF5.30105@gmail.com> <2197488.6tnytXFBJm@radagast> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-mips@linux-mips.org, Gleb Natapov , kvm@vger.kernel.org, Ralf Baechle , Sanjay Lal To: James Hogan , David Daney , David Daney Return-path: Received: from mail-ee0-f52.google.com ([74.125.83.52]:59550 "EHLO mail-ee0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751682AbaDZJh3 (ORCPT ); Sat, 26 Apr 2014 05:37:29 -0400 Received: by mail-ee0-f52.google.com with SMTP id e49so3396276eek.11 for ; Sat, 26 Apr 2014 02:37:28 -0700 (PDT) In-Reply-To: <2197488.6tnytXFBJm@radagast> Sender: kvm-owner@vger.kernel.org List-ID: Il 26/04/2014 00:34, James Hogan ha scritto: > So yes, you could technically manage without (4) by using (2) ((4) was > implemented first), but I think it probably still has some value since you can > do it with a single ioctl rather than 4 ioctls (freeze timer, read > resume_time, read or write count, unfreeze timer). > > Enough value to be worthwhile? I haven't really made up my mind yet but I'm > leaning towards yes. It would be interesting to see how the userspace patches use this independent of COUNT_RESUME. Paolo