alistair23-linux/arch/x86
Alexander Graf d80174745b KVM: SVM: Only allow setting of EFER_SVME when CPUID SVM is set
Userspace has to tell the kernel module somehow that nested SVM should be used.
The easiest way that doesn't break anything I could think of is to implement

if (cpuid & svm)
    allow write to efer
else
    deny write to efer

Old userspaces mask the SVM capability bit, so they don't break.
In order to find out that the SVM capability is set, I had to split the
kvm_emulate_cpuid into a finding and an emulating part.

(introduced in v6)

Acked-by: Joerg Roedel <joro@8bytes.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
2009-03-24 11:02:48 +02:00
..
boot x86 setup: fix asm constraints in vesa_store_edid 2009-01-30 23:55:25 +01:00
configs eeprom: More consistent symbol names 2009-01-26 21:19:57 +01:00
crypto
ia32 x86-64: fix int $0x80 -ENOSYS return 2009-02-06 18:22:29 -08:00
include/asm KVM: SVM: Add VMRUN handler 2009-03-24 11:02:47 +02:00
kernel prevent boosting kprobes on exception address 2009-03-17 09:11:48 -07:00
kvm KVM: SVM: Only allow setting of EFER_SVME when CPUID SVM is set 2009-03-24 11:02:48 +02:00
lguest lguest: fix for CONFIG_SPARSE_IRQ=y 2009-03-09 10:06:29 +10:30
lib x86: use early clobbers in usercopy*.c 2009-01-21 09:43:17 +01:00
mach-default x86: Add IRQF_TIMER to legacy x86 timer interrupt descriptors 2009-02-22 10:27:49 -08:00
mach-generic
mach-rdc321x
mach-voyager x86, Voyager: fix compile by lifting the degeneracy of phys_cpu_present_map 2009-02-24 12:50:11 -08:00
math-emu x86, math-emu: fix init_fpu for task != current 2009-03-04 20:33:16 +01:00
mm x86: work around Fedora-11 x86-32 kernel failures on Intel Atom CPUs 2009-03-11 18:22:03 +01:00
oprofile x86: oprofile: don't set counter width from cpuid on Core2 2009-03-03 12:04:22 +01:00
pci PCI: irq and pci_ids patch for Intel Tigerpoint DeviceIDs 2009-01-27 09:46:08 -08:00
power
vdso
video
xen xen: disable interrupts early, as start_kernel expects 2009-02-25 18:51:57 +01:00
Kconfig x86: enable DMAR by default 2009-02-26 20:59:47 +01:00
Kconfig.cpu x86/Kconfig.cpu: make Kconfig help readable in the console 2009-02-04 22:19:27 +01:00
Kconfig.debug trace: mmiotrace to the tracer menu in Kconfig 2009-02-15 20:03:28 +01:00
Makefile
Makefile_32.cpu