From: Heiko Carstens Subject: Re: [PATCH 1/3] kvm-s390: Fix printk on SIGP set arch Date: Thu, 22 Jan 2009 12:44:36 +0100 Message-ID: <20090122124436.7fe42e85@osiris.boeblingen.de.ibm.com> References: <200901221026.13261.borntraeger@de.ibm.com> <200901221027.38992.borntraeger@de.ibm.com> <20090122121707.2dffd96b@osiris.boeblingen.de.ibm.com> <20090122122611.28ceddd2@cotte.boeblingen.de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: heicars2@linux.vnet.ibm.com, borntrae@linux.vnet.ibm.com, Avi Kivity , kvm@vger.kernel.org, Christian Ehrhardt , Olaf Schnapper To: Carsten Otte Return-path: Received: from mtagate5.de.ibm.com ([195.212.29.154]:35284 "EHLO mtagate5.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752859AbZAVLpc (ORCPT ); Thu, 22 Jan 2009 06:45:32 -0500 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate5.de.ibm.com (8.13.8/8.13.8) with ESMTP id n0MBicUf517808 for ; Thu, 22 Jan 2009 11:44:38 GMT Received: from d12av04.megacenter.de.ibm.com (d12av04.megacenter.de.ibm.com [9.149.165.229]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id n0MBicJh3715308 for ; Thu, 22 Jan 2009 12:44:38 +0100 Received: from d12av04.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av04.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n0MBibtN000328 for ; Thu, 22 Jan 2009 12:44:37 +0100 In-Reply-To: <20090122122611.28ceddd2@cotte.boeblingen.de.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, 22 Jan 2009 12:26:11 +0100 Carsten Otte wrote: > Am Thu, 22 Jan 2009 12:17:07 +0100 > schrieb heicars2@linux.vnet.ibm.com: > > Why don't you just remove the printk? IMHO it's rather pointless. > It is'nt: It infoms the user why his guest is going to crash > even though it has performed an operation that is perfectly > legal according to the spec. If you have hundreds of guests running, how do you get the connection from this message to a specific user process? Informing a user process that it did something that isn't allowed or supported is usually done by returning an appropriate return code. Also, if you have one "evil" process and hit the prink_limit the messages for all other processes will likely be lost anyway.