From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTjDQ-00008K-Lp for qemu-devel@nongnu.org; Wed, 22 Jul 2009 17:19:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTjDK-00007H-51 for qemu-devel@nongnu.org; Wed, 22 Jul 2009 17:19:07 -0400 Received: from [199.232.76.173] (port=56267 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTjDH-00006p-84 for qemu-devel@nongnu.org; Wed, 22 Jul 2009 17:18:59 -0400 Received: from e37.co.us.ibm.com ([32.97.110.158]:44671) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MTjDG-0007Jb-Rx for qemu-devel@nongnu.org; Wed, 22 Jul 2009 17:18:59 -0400 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e37.co.us.ibm.com (8.14.3/8.13.1) with ESMTP id n6MLFCM1009166 for ; Wed, 22 Jul 2009 15:15:12 -0600 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n6MLFuVY246738 for ; Wed, 22 Jul 2009 15:15:57 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n6MLFtGh029055 for ; Wed, 22 Jul 2009 15:15:55 -0600 Message-ID: <4A678189.1030802@us.ibm.com> Date: Wed, 22 Jul 2009 16:15:53 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <200907221626.n6MGQGH0022104@d03av02.boulder.ibm.com> <4A6745C0.5060201@siemens.com> <4A675758.2080302@codemonkey.ws> <4A676839.8050500@web.de> <4A676897.5070200@us.ibm.com> <4A676B27.10100@web.de> <4A676B98.1060104@us.ibm.com> <4A67719F.9040803@web.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] kvm: Fix error detection for KVM_GET_DIRTY_LOG List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Jan Kiszka , qemu-devel Alexander Graf wrote: > > The only thing I'd agree with as a good idea instead of the version I > sent is an explicit switch statement with an include of errno.h with > __KERNEL__ set. No way :-) What's the problem with fixing the kernel to return a proper errno? We can introduce a CAP if necessary to gracefully detect support for proper errno return. -- Regards, Anthony Liguori