On Wed, Aug 30, 2017 at 03:26:51AM -0500, Sergio Andres Gomez Del Real wrote: > This file begins tracking the files that will be the code base for HVF > support in QEMU. This code base is part of Google's QEMU version of > their Android emulator, and can be found at > https://android.googlesource.com/platform/external/qemu/+/emu-master-dev > > This code is based on Veertu Inc's vdhh (Veertu Desktop Hosted > Hypervisor), found at https://github.com/veertuinc/vdhh. Everything is > appropriately licensed under GPL v2. > > This code base already implements a very great deal of functionality, > although Google's version removed from Vertuu's the support for APIC > page and hyperv-related stuff. According to the Android Emulator Release > Notes, Revision 26.1.3 (August 2017), "Hypervisor.framework is now > enabled by default on macOS for 32-bit x86 images to improve performance > and macOS compatibility", although we better use with caution for, as the > same Revision warns us, "If you experience issues with it specifically, > please file a bug report...". The code hasn't seen much update in the > last 5 months, so I think that we can further develop the code with > occasional visiting Google's repository to see if there has been any > update. > > The code's style isn't aligned to QEMU's standards; this will be fixed > in a subsequent patch in this series. > On top of this code base we are implementing the following features: fix > the code that passes the cpuid features to the guest; implementing dirty > page tracking for vga memory region; reimplementing the event injection > mechanism for exception injection and many other minor > fixes/refactoring that are documented in their respective patches. > > Signed-off-by: Sergio Andres Gomez Del Real <sergio.g.delr...@gmail.com> > ---
This looks like a reasonable approach to getting Hypervisor.framework support. I haven't reviewed the details but it contains all the pieces one would expect. Which guest OSes have you booted successfully? Stefan