accel/stubs/Makefile.objs | 1 + accel/stubs/hvf-stub.c | 31 + configure | 38 + cpus.c | 86 ++ hw/intc/apic.c | 12 + include/hw/i386/apic.h | 1 + include/qemu/typedefs.h | 1 + include/qom/cpu.h | 2 + include/sysemu/hvf.h | 107 ++ qemu-options.hx | 10 +- target/i386/Makefile.objs | 1 + target/i386/cpu-qom.h | 4 +- target/i386/cpu.c | 80 +- target/i386/cpu.h | 101 +- target/i386/hvf/Makefile.objs | 2 + target/i386/hvf/README.md | 7 + target/i386/hvf/hvf-i386.h | 48 + target/i386/hvf/hvf.c | 959 ++++++++++++++++++ target/i386/hvf/panic.h | 45 + target/i386/hvf/vmcs.h | 374 +++++++ target/i386/hvf/vmx.h | 222 +++++ target/i386/hvf/x86.c | 186 ++++ target/i386/hvf/x86.h | 400 ++++++++ target/i386/hvf/x86_cpuid.c | 166 ++++ target/i386/hvf/x86_decode.c | 2186 +++++++++++++++++++++++++++++++++++++++++ target/i386/hvf/x86_decode.h | 323 ++++++ target/i386/hvf/x86_descr.c | 125 +++ target/i386/hvf/x86_descr.h | 58 ++ target/i386/hvf/x86_emu.c | 1483 ++++++++++++++++++++++++++++ target/i386/hvf/x86_emu.h | 49 + target/i386/hvf/x86_flags.c | 315 ++++++ target/i386/hvf/x86_flags.h | 80 ++ target/i386/hvf/x86_mmu.c | 272 +++++ target/i386/hvf/x86_mmu.h | 43 + target/i386/hvf/x86_task.c | 192 ++++ target/i386/hvf/x86_task.h | 18 + target/i386/hvf/x86hvf.c | 465 +++++++++ target/i386/hvf/x86hvf.h | 39 + target/i386/kvm.c | 2 - 39 files changed, 8475 insertions(+), 59 deletions(-) create mode 100644 accel/stubs/hvf-stub.c create mode 100644 include/sysemu/hvf.h create mode 100644 target/i386/hvf/Makefile.objs create mode 100644 target/i386/hvf/README.md create mode 100644 target/i386/hvf/hvf-i386.h create mode 100644 target/i386/hvf/hvf.c create mode 100644 target/i386/hvf/panic.h create mode 100644 target/i386/hvf/vmcs.h create mode 100644 target/i386/hvf/vmx.h create mode 100644 target/i386/hvf/x86.c create mode 100644 target/i386/hvf/x86.h create mode 100644 target/i386/hvf/x86_cpuid.c create mode 100644 target/i386/hvf/x86_decode.c create mode 100644 target/i386/hvf/x86_decode.h create mode 100644 target/i386/hvf/x86_descr.c create mode 100644 target/i386/hvf/x86_descr.h create mode 100644 target/i386/hvf/x86_emu.c create mode 100644 target/i386/hvf/x86_emu.h create mode 100644 target/i386/hvf/x86_flags.c create mode 100644 target/i386/hvf/x86_flags.h create mode 100644 target/i386/hvf/x86_mmu.c create mode 100644 target/i386/hvf/x86_mmu.h create mode 100644 target/i386/hvf/x86_task.c create mode 100644 target/i386/hvf/x86_task.h create mode 100644 target/i386/hvf/x86hvf.c create mode 100644 target/i386/hvf/x86hvf.h