Skip to content

RFC x86: Add "virt flags"

Sheng Yang lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86: Move VMX MSRs to msr-index.harch/x86/kvm/vmx.h include/asm-x86/msr-index.h+16 -154 replies
2/2x86: Add "virt flags" in /proc/cpuinfoarch/x86/kernel/cpu/proc.c include/asm-x86/cpufeature.h+36 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC][PATCH 0/2] x86: Add "virt flags"

Hi, Ingo

(sorry for former noises, I mistake the address... Report to lkml) I've sent this patchset before, but got no comments from upstream at that time. So I'd like to resend this.

The virt flags is used for the important hardware virtualization features, like EPT of incoming Nehalem. Because the feature availability are read from MSRs, and I think virtualization features should not at the same level as "vmx", so I added a new flags catagory here.

But I still have concern, for this may broke some not that reliable userspace programs. So Avi suggested that we can add more fields to flags rather than a new catagory. What's your opinion? We indeed need a generic user visible way to tell the HW virtualization features.

Thanks!
--
regards
Yang, Sheng