Re: [PATCH kvm-unit-tests 2/4] Introduce a C++ wrapper for the kvm APIs

Avi Kivity
2010-11-24T14:31:32Z

On 11/24/2010 02:59 PM, 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<avi@redhat.com>
>
>
> FWIW, I still disagree with C++ and believe this code to be hardly readable.
>

The equivalent C code would have either no error checking or it would be
a mess of error handling intermixed with bugs and a few lines which do
actual work.

--
error compiling committee.c: too many arguments to function