qemu-e2k/target/i386/hvf
Heiher 26dc4a5bf9 i386: hvf: Fix smp boot hangs
The machine that with hvf accelerator and smp sometimes boot hangs
because all processors are executing instructions at startup,
including early I/O emulations. We should just allow the bootstrap
processor to initialize the machine and then to wake up slave
processors by interrupt.

Signed-off-by: Heiher <r@hev.cc>
Message-Id: <20190123073402.28465-1-r@hev.cc>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-02-05 16:50:21 +01:00
..
hvf-i386.h
hvf.c i386: hvf: Fix smp boot hangs 2019-02-05 16:50:21 +01:00
Makefile.objs
panic.h
README.md i386: Compile CPUX86State xsave_buf only when support KVM or HVF 2018-10-02 19:09:12 +02:00
vmcs.h
vmx.h
x86_cpuid.c target-i386: hvf: remove MPX support 2019-02-05 16:50:17 +01:00
x86_decode.c i386: hvf: Don't miss 16-bit displacement 2019-02-05 16:50:18 +01:00
x86_decode.h i386: hvf: Fix register refs if REX is present 2018-10-19 13:44:12 +02:00
x86_descr.c
x86_descr.h
x86_emu.c
x86_emu.h
x86_flags.c
x86_flags.h
x86_mmu.c
x86_mmu.h
x86_task.c
x86_task.h
x86.c
x86.h
x86hvf.c i386: Compile CPUX86State xsave_buf only when support KVM or HVF 2018-10-02 19:09:12 +02:00
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.