KVM: SVM: Add Virtual GIF feature definition
authorJanakarajan Natarajan <Janakarajan.Natarajan@amd.com>
Wed, 23 Aug 2017 14:57:18 +0000 (09:57 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 23 Aug 2017 16:34:42 +0000 (18:34 +0200)
Add a new cpufeature definition for Virtual GIF.

Signed-off-by: Janakarajan Natarajan <Janakarajan.Natarajan@amd.com>
Reviewed-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/cpufeatures.h

index ca3c48c0872f4beba6b03ac92c50eb6a352b3006..0e25e7a8ab0333791caaa3a74952206a143379c6 100644 (file)
 #define X86_FEATURE_PFTHRESHOLD (15*32+12) /* pause filter threshold */
 #define X86_FEATURE_AVIC       (15*32+13) /* Virtual Interrupt Controller */
 #define X86_FEATURE_VIRTUAL_VMLOAD_VMSAVE (15*32+15) /* Virtual VMLOAD VMSAVE */
+#define X86_FEATURE_VGIF       (15*32+16) /* Virtual GIF */
 
 /* Intel-defined CPU features, CPUID level 0x00000007:0 (ecx), word 16 */
 #define X86_FEATURE_AVX512VBMI  (16*32+ 1) /* AVX512 Vector Bit Manipulation instructions*/