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
Igor Mammedov 87511341c3 add cpu_test_interrupt()/cpu_set_interrupt() helpers and use them tree wide
The helpers form load-acquire/store-release pair and ensure
that appropriate barriers are in place in case checks happen
outside of BQL.

Use them to replace open-coded checkers/setters across the code,
to make sure that barriers are not missed.  Helpers also make code a
bit more readable.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Jason J. Herne <jjherne@linux.ibm.com>
Link: https://lore.kernel.org/r/20250821155603.2422553-1-imammedo@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2 weeks 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() 2 months ago
hvf-i386.h target/i386/hvf: provide and use simulate_{wrmsr, rdmsr} in emul_ops 5 months ago
hvf.c add cpu_test_interrupt()/cpu_set_interrupt() helpers and use them tree wide 2 weeks ago
meson.build target/i386: move x86 instruction emulator out of hvf 5 months ago
panic.h x86 hvf cpus: Fix Lesser GPL version number 5 years ago
vmcs.h hvf: Enable RDTSCP support 3 years ago
vmx.h exec/cpu-all: remove system/memory include 5 months ago
x86.c target/i386: move x86 instruction emulator out of hvf 5 months ago
x86_cpuid.c i386/hvf: Make CPUID_HT supported 4 months ago
x86_descr.c target/i386/hvf: fix a typo in a type name 7 months ago
x86_descr.h target/i386: move x86 instruction emulator out of hvf 5 months ago
x86_mmu.c target/i386: move x86 instruction emulator out of hvf 5 months ago
x86_mmu.h target/i386/hvf: Use CPUState typedef 2 years ago
x86_task.c target/i386: move x86 instruction emulator out of hvf 5 months ago
x86_task.h target/i386/hvf: fix a typo in a type name 7 months ago
x86hvf.c add cpu_test_interrupt()/cpu_set_interrupt() helpers and use them tree wide 2 weeks ago
x86hvf.h target/i386/hvf: move and rename {load, store}_regs 7 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.