qemu/target/i386/hvf
Claudio Fontana b52bcba7bd cpus: extract out hvf-specific code to target/i386/hvf/
register a "CpusAccel" interface for HVF as well.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com>
[added const]
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-10-05 16:41:22 +02:00
..
hvf-cpus.c cpus: extract out hvf-specific code to target/i386/hvf/ 2020-10-05 16:41:22 +02:00
hvf-cpus.h cpus: extract out hvf-specific code to target/i386/hvf/ 2020-10-05 16:41:22 +02:00
hvf-i386.h hvf: Move HVFState typedef to hvf.h 2020-08-27 14:04:54 -04:00
hvf.c cpus: extract out hvf-specific code to target/i386/hvf/ 2020-10-05 16:41:22 +02:00
meson.build cpus: extract out hvf-specific code to target/i386/hvf/ 2020-10-05 16:41:22 +02:00
panic.h
README.md
vmcs.h
vmx.h i386: hvf: Explicitly set CR4 guest/host mask 2020-07-16 14:15:13 -04:00
x86_cpuid.c
x86_decode.c i386: hvf: Drop copy of RFLAGS defines 2020-06-12 11:15:02 -04:00
x86_decode.h
x86_descr.c
x86_descr.h
x86_emu.c i386: hvf: Move mmio_buf into CPUX86State 2020-06-12 11:20:09 -04:00
x86_emu.h
x86_flags.c i386: hvf: Move lazy_flags into CPUX86State 2020-06-12 11:19:37 -04:00
x86_flags.h
x86_mmu.c
x86_mmu.h
x86_task.c i386: hvf: Drop copy of RFLAGS defines 2020-06-12 11:15:02 -04:00
x86_task.h
x86.c i386: hvf: Drop copy of RFLAGS defines 2020-06-12 11:15:02 -04:00
x86.h i386: hvf: Drop HVFX86EmulatorState 2020-06-12 11:20:12 -04:00
x86hvf.c
x86hvf.h

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.