Re: [PATCH] KVM: x86: fix CPUID entries returned by KVM_GET_CPUID2 ioctl

From: Paolo Bonzini
Date: Thu Jan 28 2021 - 03:58:43 EST


On 28/01/21 09:36, Vitaly Kuznetsov wrote:
This is embarrassing but I have a (possible) excuse: copy_to_user's
argument is 'void *' so no warning was produced. Surprisingly, no test
caught the breakage. Thanks for debugging and fixing!

So who writes the test:

- the author of the buggy patch

- the maintainer who failed to spot it

- the poor sod who fixed the issue

?

(Just kidding, it will of course be either me or a fourth person :)).

Paolo