Re: [libvirt] [PATCH 27/36] cputest: Fix comparison in checkCPUIDFeature in cpu-cpuid.py

2019-04-09 Thread Ján Tomko
On Mon, Apr 08, 2019 at 10:42:31AM +0200, Jiri Denemark wrote: leaf["eax"] & eax > 0 check works correctly only if there's at most 1 bit set in eax. Luckily that's been always the case, but fixing this could save us from future surprises. Signed-off-by: Jiri Denemark --- tests/cputestdata/cpu-c

[libvirt] [PATCH 27/36] cputest: Fix comparison in checkCPUIDFeature in cpu-cpuid.py

2019-04-08 Thread Jiri Denemark
leaf["eax"] & eax > 0 check works correctly only if there's at most 1 bit set in eax. Luckily that's been always the case, but fixing this could save us from future surprises. Signed-off-by: Jiri Denemark --- tests/cputestdata/cpu-cpuid.py | 12 ++-- 1 file changed, 6 insertions(+), 6 de