Skip to content

Fix kvm cpuid reporting

Avi Kivity kvm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4kvm: Add support for querying supported cpu featureskvm.h target-i386/kvm.c+83 -03 replies
2/4Make x86 cpuid feature names available in file scopetarget-i386/helper.c+28 -270 replies
3/4Fix x86 feature modifications for features that set multiple bitstarget-i386/helper.c+8 -50 replies
4/4kvm: Trim cpu features not supported by kvmtarget-i386/helper.c+30 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] Fix kvm cpuid reporting

kvm supports an interface for reporting which cpuid features are supported. Use it for trimming the cpu feature set reported to the guest. This prevents, for example, reporting NX to a guest when in fact we do not support it.

Avi Kivity (4):
kvm: Add support for querying supported cpu features Make x86 cpuid feature names available in file scope Fix x86 feature modifications for features that set multiple bits
kvm: Trim cpu features not supported by kvm

 kvm.h                |    3 ++
 target-i386/helper.c |   98 +++++++++++++++++++++++++++++++++----------------
 target-i386/kvm.c    |   80 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 149 insertions(+), 32 deletions(-)