From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: [PATCH kvm-unit-tests 2/4] Introduce a C++ wrapper for the kvm APIs Date: Wed, 24 Nov 2010 15:33:04 +0200 Message-ID: <20101124133304.GC15111@redhat.com> References: <1290595933-13122-1-git-send-email-avi@redhat.com> <1290595933-13122-3-git-send-email-avi@redhat.com> <50DD1E97-0ECD-41E6-B6F8-1D78AA4A4876@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , Marcelo Tosatti , kvm@vger.kernel.org To: Alexander Graf Return-path: Received: from mx1.redhat.com ([209.132.183.28]:30149 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754187Ab0KXNdJ (ORCPT ); Wed, 24 Nov 2010 08:33:09 -0500 Content-Disposition: inline In-Reply-To: <50DD1E97-0ECD-41E6-B6F8-1D78AA4A4876@suse.de> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Nov 24, 2010 at 01:59:14PM +0100, Alexander Graf wrote: > > On 24.11.2010, at 11:52, Avi Kivity wrote: > > > Introduce exception-safe objects for calling system, vm, and vcpu ioctls. > > > > Signed-off-by: Avi Kivity > > > FWIW, I still disagree with C++ and believe this code to be hardly readable. > > C++ is so powerful and so easy to write correct code in that real C++ programmer never reads the code twice. -- Gleb.