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

Avi Kivity
2010-11-24T18:56:20Z

On 11/24/2010 08:01 PM, Anthony Liguori wrote:
>>> So I take it you avoid switch statements, while, or for loops in your C
>>> code.
>> Those map easily to assembly code and gdb.
>
> The mapping is definitely not simply especially after a couple rounds
> of loop unrolling and code motion.

You're discounting dead code elimination, which can simplify things
considerably.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.