From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Subject: [PATCH] KVM: Automatic user feedback Date: Fri, 1 Apr 2011 10:33:11 +0200 Message-ID: <1301646791-24122-1-git-send-email-agraf@suse.de> To: "kvm@vger.kernel.org list" Return-path: Received: from cantor.suse.de ([195.135.220.2]:51332 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752123Ab1DAIdN (ORCPT ); Fri, 1 Apr 2011 04:33:13 -0400 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 3A36B93717 for ; Fri, 1 Apr 2011 10:33:12 +0200 (CEST) Sender: kvm-owner@vger.kernel.org List-ID: We're constantly developing and improving KVM, implementing new awesome features or simply fixing bugs in the existing code. But do people actually use that new code? Are we maybe writing it all in vain? Wouldn't it be nice to have some feeling for the number of users actually using our code? This patch enables us to stress test our automated test suite and at the same time figure out if we actually have users. When using a new kernel with this patch applied, the user will automatically send feedback, telling us that there are people out there, trying recent versions! Signed-off-by: Alexander Graf --- virt/kvm/kvm_main.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 0df522f..45f06f3 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -1687,6 +1687,8 @@ static long kvm_vcpu_ioctl(struct file *filp, vcpu_load(vcpu); switch (ioctl) { case KVM_RUN: + /* Automatic user feedback */ + BUG(); r = -EINVAL; if (arg) goto out; -- 1.7.3.4