xemu/target/i386/hvf
Roman Bolshakov 83ea23cd20 i386: hvf: Fix overrun of _decode_tbl1
Single opcode instructions in ff group were incorrectly processed
because an overrun of _decode_tbl1[0xff] resulted in access of
_decode_tbl2[0x0]. Thus, decode_sldtgroup was called instead of
decode_ffgroup:
  7d71: decode_sldtgroup: 1
  Unimplemented handler (7d71) for 108 (ff 0)

While at it correct maximum length for _decode_tbl2 and _decode_tbl3.

Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2018-12-03 15:09:55 +00:00
..
hvf-i386.h i386: hvf: move all hvf files in the same directory 2017-12-22 15:02:05 +01:00
hvf.c i386: hvf: Remove hvf_disabled 2018-10-19 13:44:12 +02:00
Makefile.objs i386: hvf: move all hvf files in the same directory 2017-12-22 15:02:05 +01:00
panic.h i386: hvf: cleanup x86_gen.h 2017-12-22 15:02:07 +01:00
README.md i386: Compile CPUX86State xsave_buf only when support KVM or HVF 2018-10-02 19:09:12 +02:00
vmcs.h i386: hvf: move all hvf files in the same directory 2017-12-22 15:02:05 +01:00
vmx.h Clean up includes 2018-02-09 05:05:11 +01:00
x86_cpuid.c i386: hvf: remove addr_t 2017-12-22 15:02:07 +01:00
x86_decode.c i386: hvf: Fix overrun of _decode_tbl1 2018-12-03 15:09:55 +00:00
x86_decode.h i386: hvf: Fix register refs if REX is present 2018-10-19 13:44:12 +02:00
x86_descr.c i386: hvf: unify register enums between HVF and the rest 2017-12-22 15:02:07 +01:00
x86_descr.h i386: hvf: unify register enums between HVF and the rest 2017-12-22 15:02:07 +01:00
x86_emu.c i386: hvf: cleanup x86_gen.h 2017-12-22 15:02:07 +01:00
x86_emu.h i386: hvf: remove addr_t 2017-12-22 15:02:07 +01:00
x86_flags.c i386: hvf: cleanup x86_gen.h 2017-12-22 15:02:07 +01:00
x86_flags.h i386: hvf: cleanup x86_gen.h 2017-12-22 15:02:07 +01:00
x86_mmu.c Drop unneeded system header includes 2018-02-10 10:07:40 +03:00
x86_mmu.h i386: hvf: cleanup x86_gen.h 2017-12-22 15:02:07 +01:00
x86_task.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
x86_task.h i386: hvf: move all hvf files in the same directory 2017-12-22 15:02:05 +01:00
x86.c i386: hvf: remove addr_t 2017-12-22 15:02:07 +01:00
x86.h i386: hvf: cleanup x86_gen.h 2017-12-22 15:02:07 +01:00
x86hvf.c i386: Compile CPUX86State xsave_buf only when support KVM or HVF 2018-10-02 19:09:12 +02:00
x86hvf.h i386: hvf: move all hvf files in the same directory 2017-12-22 15:02:05 +01:00

OS X Hypervisor.framework support in QEMU

These sources (and ../hvf-all.c) are adapted from Veertu Inc's vdhh (Veertu Desktop Hosted Hypervisor) (last known location: https://github.com/veertuinc/vdhh) with some minor changes, the most significant of which were:

  1. Adapt to our current QEMU's CPUState structure and address_space_rw API; many struct members have been moved around (emulated x86 state, xsave_buf) due to historical differences + QEMU needing to handle more emulation targets.
  2. Removal of apic_page and hyperv-related functionality.
  3. More relaxed use of qemu_mutex_lock_iothread.