KVM: X86: Add 'else' to unify fastop and execute call path
authorMiaohe Lin <linmiaohe@huawei.com>
Wed, 22 Jan 2020 03:21:44 +0000 (11:21 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 27 Jan 2020 19:00:11 +0000 (20:00 +0100)
commit52db369823b28616377b8ceb6b6b3879735b9e75
tree514c8195d8b665cf988257e8ad3d83d3bd9a756c
parent91b0d268a59dd9c18221ea750b80f9a317b29ed2
KVM: X86: Add 'else' to unify fastop and execute call path

It also helps eliminate some duplicated code.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c