qemu-e2k/target/i386/hvf
Eric Blake 38272f2d02 Drop unneeded system header includes
<memory.h> is a non-standard obsolete header that was long ago
replaced by <string.h>.

<malloc.h> is a non-standard header; it is not obsolete (we must
use it for malloc_trim, for example), but generally should not
be used in files that just need malloc() and friends, where
<stdlib.h> is the standard header.

And since osdep.h already guarantees string.h and stdlib.h, we
can drop these unusual system header includes as redundant
rather than replacing them.

Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
2018-02-10 10:07:40 +03:00
..
Makefile.objs i386: hvf: move all hvf files in the same directory 2017-12-22 15:02:05 +01:00
README.md i386: hvf: move all hvf files in the same directory 2017-12-22 15:02:05 +01:00
hvf-i386.h i386: hvf: move all hvf files in the same directory 2017-12-22 15:02:05 +01:00
hvf.c Use #include "..." for our own headers, <...> for others 2018-02-09 05:05:11 +01:00
panic.h i386: hvf: cleanup x86_gen.h 2017-12-22 15:02:07 +01: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.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
x86_cpuid.c i386: hvf: remove addr_t 2017-12-22 15:02:07 +01:00
x86_decode.c Use #include "..." for our own headers, <...> for others 2018-02-09 05:05:11 +01:00
x86_decode.h i386: hvf: remove addr_t 2017-12-22 15:02:07 +01: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 Use #include "..." for our own headers, <...> for others 2018-02-09 05:05:11 +01:00
x86_task.h i386: hvf: move all hvf files in the same directory 2017-12-22 15:02:05 +01:00
x86hvf.c Clean up includes 2018-02-09 05:05:11 +01:00
x86hvf.h i386: hvf: move all hvf files in the same directory 2017-12-22 15:02:05 +01:00

README.md

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.