linux/arch/x86/kvm
Paolo Bonzini 1f755a8275 kvm: Make init_rmode_tss() return 0 on success.
In init_rmode_tss(), there two variables indicating the return
value, r and ret, and it return 0 on error, 1 on success. The function
is only called by vmx_set_tss_addr(), and ret is redundant.

This patch removes the redundant variable, by making init_rmode_tss()
return 0 on success, -errno on failure.

Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-09-24 14:07:48 +02:00
..
cpuid.c KVM: x86: Warn if guest virtual address space is not 48-bits 2014-09-24 14:07:48 +02:00
cpuid.h KVM: x86: Warn if guest virtual address space is not 48-bits 2014-09-24 14:07:48 +02:00
emulate.c KVM: x86: remove Aligned bit from movntps/movntpd 2014-08-29 14:57:59 +02:00
i8254.c
i8254.h
i8259.c
irq.c KVM: nVMX: fix "acknowledge interrupt on exit" when APICv is in use 2014-08-05 15:00:24 +02:00
irq.h
Kconfig KVM: Give IRQFD its own separate enabling Kconfig option 2014-08-05 14:26:28 +02:00
kvm_cache_regs.h
lapic.c KVM: x86: make apic_accept_irq tracepoint more generic 2014-09-11 11:51:02 +02:00
lapic.h
Makefile
mmu_audit.c arch/x86: replace strict_strto calls 2014-08-08 15:57:28 -07:00
mmu.c KVM: x86: propagate exception from permission checks on the nested page fault 2014-09-05 12:01:13 +02:00
mmu.h KVM: mmio: cleanup kvm_set_mmio_spte_mask 2014-09-03 10:04:10 +02:00
mmutrace.h x86/kvm: Resolve shadow warnings in macro expansion 2014-07-31 16:33:29 +02:00
paging_tmpl.h KVM: x86: propagate exception from permission checks on the nested page fault 2014-09-05 12:01:13 +02:00
pmu.c KVM: x86: Clarify PMU related features bit manipulation 2014-08-20 13:01:25 +02:00
svm.c kvm: Use APIC_DEFAULT_PHYS_BASE macro as the apic access page address. 2014-09-11 11:10:22 +02:00
trace.h KVM: x86: make apic_accept_irq tracepoint more generic 2014-09-11 11:51:02 +02:00
tss.h
vmx.c kvm: Make init_rmode_tss() return 0 on success. 2014-09-24 14:07:48 +02:00
x86.c kvm: Remove ept_identity_pagetable from struct kvm_arch. 2014-09-17 13:10:11 +02:00
x86.h kvm: x86: fix stale mmio cache bug 2014-09-03 10:03:42 +02:00