linux-stable/arch
Sean Christopherson 42cbf06872 KVM: x86: Move #GP injection for VMware into x86_emulate_instruction()
Immediately inject a #GP when VMware emulation fails and return
EMULATE_DONE instead of propagating EMULATE_FAIL up the stack.  This
helps pave the way for removing EMULATE_FAIL altogether.

Rename EMULTYPE_VMWARE to EMULTYPE_VMWARE_GP to document that the x86
emulator is called to handle VMware #GP interception, e.g. why a #GP
is injected on emulation failure for EMULTYPE_VMWARE_GP.

Drop EMULTYPE_NO_UD_ON_FAIL as a standalone type.  The "no #UD on fail"
is used only in the VMWare case and is obsoleted by having the emulator
itself reinject #GP.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Reviewed-by: Liran Alon <liran.alon@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-09-24 14:30:47 +02:00
..
alpha Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
arc Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
arm pci-v5.4-changes 2019-09-23 19:16:01 -07:00
arm64 pci-v5.4-changes 2019-09-23 19:16:01 -07:00
c6x dma-mapping: remove CONFIG_ARCH_NO_COHERENT_DMA_MMAP 2019-09-04 11:13:18 +02:00
csky hmm related patches for 5.4 2019-09-21 10:07:42 -07:00
h8300
hexagon
ia64 Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
m68k Modules updates for v5.4 2019-09-22 10:34:46 -07:00
microblaze pci-v5.4-changes 2019-09-23 19:16:01 -07:00
mips pci-v5.4-changes 2019-09-23 19:16:01 -07:00
nds32 dma-mapping updates for 5.4: 2019-09-19 13:27:23 -07:00
nios2
openrisc hmm related patches for 5.4 2019-09-21 10:07:42 -07:00
parisc Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
powerpc pci-v5.4-changes 2019-09-23 19:16:01 -07:00
riscv Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
s390 hmm related patches for 5.4 2019-09-21 10:07:42 -07:00
sh dma-mapping updates for 5.4: 2019-09-19 13:27:23 -07:00
sparc pci-v5.4-changes 2019-09-23 19:16:01 -07:00
um This pull request contains the following changes for UML: 2019-09-21 11:07:02 -07:00
unicore32 dma-mapping updates for 5.4: 2019-09-19 13:27:23 -07:00
x86 KVM: x86: Move #GP injection for VMware into x86_emulate_instruction() 2019-09-24 14:30:47 +02:00
xtensa dma-mapping updates for 5.4: 2019-09-19 13:27:23 -07:00
.gitignore
Kconfig powerpc updates for 5.4 2019-09-20 11:48:06 -07:00