linux/arch/x86/kvm
Radim Krčmář 92ceb7679a KVM: x86: prevent uninitialized variable warning in check_svme()
get_msr() of MSR_EFER is currently always going to succeed, but static
checker doesn't see that far.

Don't complicate stuff and just use 0 for the fallback -- it means that
the feature is not present.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
2017-05-19 19:59:28 +02:00
..
cpuid.c
cpuid.h
debugfs.c
emulate.c KVM: x86: prevent uninitialized variable warning in check_svme() 2017-05-19 19:59:28 +02:00
hyperv.c
hyperv.h
i8254.c
i8254.h
i8259.c
ioapic.c
ioapic.h
irq.c
irq.h
irq_comm.c
Kconfig
kvm_cache_regs.h
lapic.c Merge branch 'akpm' (patches from Andrew) 2017-05-08 18:17:56 -07:00
lapic.h
Makefile
mmu.c kvm: x86: Add a hook for arch specific dirty logging emulation 2017-05-09 11:54:16 +02:00
mmu.h kvm: x86: Add a hook for arch specific dirty logging emulation 2017-05-09 11:54:16 +02:00
mmu_audit.c
mmutrace.h
mtrr.c
page_track.c mm: introduce kv[mz]alloc helpers 2017-05-08 17:15:12 -07:00
paging_tmpl.h KVM: nVMX: fix EPT permissions as reported in exit qualification 2017-05-15 18:22:40 +02:00
pmu.c
pmu.h
pmu_amd.c
pmu_intel.c KVM: x86/vPMU: fix undefined shift in intel_pmu_refresh() 2017-05-19 19:59:27 +02:00
svm.c KVM: Silence underflow warning in avic_get_physical_id_entry() 2017-05-18 14:53:54 +02:00
trace.h
tss.h
vmx.c KVM: VMX: Don't enable EPT A/D feature if EPT feature is disabled 2017-05-15 16:08:57 +02:00
x86.c KVM: x86: zero base3 of unusable segments 2017-05-19 19:59:27 +02:00
x86.h