You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/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>
1 month ago
..
README.md system/cpus: rename qemu_mutex_lock_iothread() to bql_lock() 2 years ago
hvf-cpu.c target/i386: merge host_cpu_instance_init() and host_cpu_max_instance_init() 1 month ago
hvf-i386.h target/i386/hvf: provide and use simulate_{wrmsr, rdmsr} in emul_ops 4 months ago
hvf.c accel/hvf: Replace @dirty field by generic CPUState::vcpu_dirty field 1 month ago
meson.build target/i386: move x86 instruction emulator out of hvf 4 months ago
panic.h
vmcs.h hvf: Enable RDTSCP support 3 years ago
vmx.h exec/cpu-all: remove system/memory include 4 months ago
x86.c target/i386: move x86 instruction emulator out of hvf 4 months ago
x86_cpuid.c i386/hvf: Make CPUID_HT supported 3 months ago
x86_descr.c target/i386/hvf: fix a typo in a type name 6 months ago
x86_descr.h target/i386: move x86 instruction emulator out of hvf 4 months ago
x86_mmu.c target/i386: move x86 instruction emulator out of hvf 4 months ago
x86_mmu.h target/i386/hvf: Use CPUState typedef 1 year ago
x86_task.c target/i386: move x86 instruction emulator out of hvf 4 months ago
x86_task.h target/i386/hvf: fix a typo in a type name 6 months ago
x86hvf.c accel/hvf: Replace @dirty field by generic CPUState::vcpu_dirty field 1 month ago
x86hvf.h target/i386/hvf: move and rename {load, store}_regs 6 months ago

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