« Previous | Next » 

Revision 0c31b744


Added by Glauber Costa over 10 years ago

kvm: use kernel-provided para_features instead of statically coming up with new capabilities

Use the features provided by KVM_GET_SUPPORTED_CPUID directly to
mask out features from guest-visible cpuid.

The old get_para_features() mechanism is kept for older kernels that do not implement it.

Signed-off-by: Glauber Costa <>
Signed-off-by: Avi Kivity <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences