qemu/target/i386/hvf-utils
Sergio Andres Gomez Del Real b7394c8394 i386: hvf: refactor event injection code for hvf
This patch refactors the event-injection code for hvf by using the
appropriate fields already provided by CPUX86State. At vmexit, it fills
these fields so that hvf_inject_interrupts can just retrieve them without
calling into hvf.

Signed-off-by: Sergio Andres Gomez Del Real <Sergio.G.DelReal@gmail.com>
Message-Id: <20170913090522.4022-14-Sergio.G.DelReal@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-12-22 15:01:48 +01:00
..
Makefile.objs
README.md
vmcs.h i386: hvf: refactor event injection code for hvf 2017-12-22 15:01:48 +01:00
vmx.h i386: hvf: refactor event injection code for hvf 2017-12-22 15:01:48 +01:00
x86.c
x86.h i386: hvf: use new helper functions for put/get xsave 2017-12-22 15:01:47 +01:00
x86_cpuid.c i386: hvf: implement hvf_get_supported_cpuid 2017-12-22 15:01:48 +01:00
x86_decode.c
x86_decode.h
x86_descr.c
x86_descr.h
x86_emu.c
x86_emu.h
x86_flags.c
x86_flags.h
x86_gen.h
x86_mmu.c
x86_mmu.h
x86_task.c
x86_task.h
x86hvf.c i386: hvf: refactor event injection code for hvf 2017-12-22 15:01:48 +01: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, kvm_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.