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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>


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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux