hax: add Darwin support
commit6f8058238a63d0807d879fb2e924aff3d8f4bc67
authorVincent Palatin <vpalatin@chromium.org>
Tue, 10 Jan 2017 10:59:58 +0000 (10 11:59 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 19 Jan 2017 21:07:46 +0000 (19 22:07 +0100)
tree5747a48ac12ef2fa646f3080294e508e975801b6
parentb0cb0a66d6d535112aa513568ef21dcb1ad283ed
hax: add Darwin support

Re-add the MacOSX/Darwin support:
Use the Intel HAX is kernel-based hardware acceleration module
(similar to KVM on Linux).

Based on the original "target/i386: Add Intel HAX to android emulator" patch
from David Chou <david.j.chou@intel.com> from  emu-2.2-release branch in
the external/qemu-android repository.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Message-Id: <81b85c3032da902e73e77302af508b4b1a7c0ead.1484045952.git.vpalatin@chromium.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/Makefile.objs
target/i386/hax-darwin.c [new file with mode: 0644]
target/i386/hax-darwin.h [new file with mode: 0644]
target/i386/hax-i386.h