qemu-cr16/target/i386/hvf
Paolo Bonzini 29f1ba338b target/i386: merge host_cpu_instance_init() and host_cpu_max_instance_init()
Simplify the accelerators' cpu_instance_init callbacks by doing all
host-cpu setup in a single function.

Based-on: <20250711000603.438312-1-pbonzini@redhat.com>
Cc: Xiaoyao Li <xiaoyao.li@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-07-12 15:28:20 +02:00
..
hvf-cpu.c target/i386: merge host_cpu_instance_init() and host_cpu_max_instance_init() 2025-07-12 15:28:20 +02:00
hvf-i386.h target/i386/hvf: provide and use simulate_{wrmsr, rdmsr} in emul_ops 2025-04-17 18:23:26 +02:00
hvf.c accel/hvf: Replace @dirty field by generic CPUState::vcpu_dirty field 2025-07-04 12:08:25 +02:00
meson.build target/i386: move x86 instruction emulator out of hvf 2025-04-17 18:23:26 +02:00
panic.h x86 hvf cpus: Fix Lesser GPL version number 2020-11-15 16:45:27 +01:00
README.md system/cpus: rename qemu_mutex_lock_iothread() to bql_lock() 2024-01-08 10:45:43 -05:00
vmcs.h hvf: Enable RDTSCP support 2022-07-13 00:05:39 +02:00
vmx.h exec/cpu-all: remove system/memory include 2025-04-23 15:04:57 -07:00
x86.c target/i386: move x86 instruction emulator out of hvf 2025-04-17 18:23:26 +02:00
x86_cpuid.c i386/hvf: Make CPUID_HT supported 2025-05-20 08:04:18 +02:00
x86_descr.c target/i386/hvf: fix a typo in a type name 2025-02-25 16:18:12 +01:00
x86_descr.h target/i386: move x86 instruction emulator out of hvf 2025-04-17 18:23:26 +02:00
x86_mmu.c target/i386: move x86 instruction emulator out of hvf 2025-04-17 18:23:26 +02:00
x86_mmu.h target/i386/hvf: Use CPUState typedef 2024-03-12 12:03:58 +01:00
x86_task.c target/i386: move x86 instruction emulator out of hvf 2025-04-17 18:23:26 +02:00
x86_task.h target/i386/hvf: fix a typo in a type name 2025-02-25 16:18:12 +01:00
x86hvf.c accel/hvf: Replace @dirty field by generic CPUState::vcpu_dirty field 2025-07-04 12:08:25 +02:00
x86hvf.h target/i386/hvf: move and rename {load, store}_regs 2025-02-25 16:18:12 +01:00

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, 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 bql_lock.