android_kernel_xiaomi_sm8350/drivers/kvm
Avi Kivity 2d9ce177e6 i386: Allow KVM on i386 nonpae
Currently, CONFIG_X86_CMPXCHG64 both enables boot-time checking of
the cmpxchg64b feature and enables compilation of the set_64bit() family.
Since the option is dependent on PAE, and since KVM depends on set_64bit(),
this effectively disables KVM on i386 nopae.

Simplify by removing the config option altogether: the boot check is made
dependent on CONFIG_X86_PAE directly, and the set_64bit() family is exposed
without constraints.  It is up to users to check for the feature flag (KVM
does not as virtualiation extensions imply its existence).

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-19 14:37:05 -07:00
..
Kconfig i386: Allow KVM on i386 nonpae 2007-07-19 14:37:05 -07:00
kvm_main.c KVM: Use CPU_DYING for disabling virtualization 2007-07-16 12:05:51 +03:00
kvm_svm.h KVM: SVM: Only save/restore MSRs when needed 2007-05-03 10:52:32 +03:00
kvm.h KVM: Add support for in-kernel pio handlers 2007-07-16 12:05:48 +03:00
Makefile
mmu.c KVM: Clean up #includes 2007-07-16 12:05:49 +03:00
paging_tmpl.h KVM: MMU: Remove unused large page marker 2007-07-16 12:05:45 +03:00
segment_descriptor.h
svm.c KVM: Clean up #includes 2007-07-16 12:05:49 +03:00
svm.h KVM: SVM: Reliably detect if SVM was disabled by BIOS 2007-07-16 12:05:49 +03:00
vmx.c KVM: Clean up #includes 2007-07-16 12:05:49 +03:00
vmx.h
x86_emulate.c KVM: Fix x86 emulator writeback 2007-07-16 12:05:48 +03:00
x86_emulate.h