Hi, I more or less accidently stumbled across a problem when compiling KVM on the VMI-enabled kernel. Even though that's pretty much useless right now, I think there might be a day, VMware will emulate VM extensions, in VMs, so we should probably not keep KVM from running under VMI. The problem is that usually load_ldt is #defined, while in VMI it's a static void function. This clashes with the way KVM detects if load_ldt is defined already. To circumvent this, I just extended the check so we're not redefining load_ldt when VMI is activated. Signed-off-by: Alexander Graf