From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [PATCH V2] kvm/stats: Update kvm stats to clear on write to their debugfs entry Date: Thu, 20 Oct 2016 20:52:30 +0200 Message-ID: <20161020185230.GB6375@potion> References: <1476845387-28276-1-git-send-email-sjitindarsingh@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, pbonzini@redhat.com, borntraeger@de.ibm.com To: Suraj Jitindar Singh Return-path: Received: from mx1.redhat.com ([209.132.183.28]:50850 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933602AbcJTSwe (ORCPT ); Thu, 20 Oct 2016 14:52:34 -0400 Content-Disposition: inline In-Reply-To: <1476845387-28276-1-git-send-email-sjitindarsingh@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: 2016-10-19 13:49+1100, Suraj Jitindar Singh: > Various kvm vm and vcpu stats are provided via debugfs entries. > Currently there is no way to reset these stats back to zero. > > Add the ability to clear (reset back to zero) these stats on a per stat > basis by writing to the debugfs files. Only a write value of 0 is accepted. > > Signed-off-by: Suraj Jitindar Singh > --- Applied to kvm/queue, replacing v1, thanks.