qemu-cr16/target/i386/hvf
Paolo Bonzini 602d5ebba2 treewide: clear bits of cs->interrupt_request with cpu_reset_interrupt()
Open coding cpu_reset_interrupt() can cause bugs if the BQL is not
taken, for example i386 has the call chain kvm_cpu_exec() ->
kvm_put_vcpu_events() -> kvm_arch_put_registers().

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-09-17 19:00:55 +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 add cpu_test_interrupt()/cpu_set_interrupt() helpers and use them tree wide 2025-08-29 12:48:14 +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 treewide: clear bits of cs->interrupt_request with cpu_reset_interrupt() 2025-09-17 19:00:55 +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.