KVM: VMX: Don't require cr8 load/store exit capability when running on 32-bit

This is because cr8 is not available on IA-32. It is just used in 64-bit mode.
The rdmsr will then report this as not present, and it will lead us to return
an -EIO.

Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index 4901339..906d4fa 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -864,8 +864,10 @@
 		return -EIO;
 
 	min = CPU_BASED_HLT_EXITING |
+#ifdef CONFIG_X86_64
 	      CPU_BASED_CR8_LOAD_EXITING |
 	      CPU_BASED_CR8_STORE_EXITING |
+#endif
 	      CPU_BASED_USE_IO_BITMAPS |
 	      CPU_BASED_MOV_DR_EXITING |
 	      CPU_BASED_USE_TSC_OFFSETING;