Skip to content

Improve cpuid x86 code.

Glauber Costa qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4convert cpuid registration to KVM_SET_CPUID2target-i386/kvm.c+5 -50 replies
2/4Factor out common code in filling cpuid codetarget-i386/kvm.c+23 -230 replies
3/4mask out forbidden cpuid features with kvm ioctltarget-i386/helper.c+40 -496 replies
4/4kvm pv features PART Ikvm.h target-i386/helper.c target-i386/kvm.c+53 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] Improve cpuid x86 code.

Hey,

This is a resend of the cpuid patches, following Anthony's last suggestion. It proved to lead to a much better code IMHO.

I'm also using the existing host_cpuid function to mask out features, but now relying on kvm's provided ioctl. This seem to provide the expected behavior.