qemu/target/i386/hvf
Danny Canter 2c760670af hvf: Split up hv_vm_create logic per arch
This is preliminary work to split up hv_vm_create
logic per platform so we can support creating VMs
with > 64GB of RAM on Apple Silicon machines. This
is done via ARM HVF's hv_vm_config_create() (and
other APIs that modify this config that will be
coming in future patches). This should have no
behavioral difference at all as hv_vm_config_create()
just assigns the same default values as if you just
passed NULL to the function.

Signed-off-by: Danny Canter <danny_canter@apple.com>
Message-id: 20240828111552.93482-3-danny_canter@apple.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2024-09-13 15:31:46 +01:00
..
hvf-cpu.c sysemu/kvm: Restrict hvf_get_supported_cpuid() to x86 targets 2023-10-07 19:02:32 +02:00
hvf-i386.h sysemu/kvm: Restrict hvf_get_supported_cpuid() to x86 targets 2023-10-07 19:02:32 +02:00
hvf.c hvf: Split up hv_vm_create logic per arch 2024-09-13 15:31:46 +01:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +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 i386/hvf: Fixes some compilation warnings 2024-06-08 10:33:38 +02:00
x86_cpuid.c i386/hvf: Adds support for INVTSC cpuid bit 2024-06-08 10:33:38 +02:00
x86_decode.c i386/hvf: Fixes some compilation warnings 2024-06-08 10:33:38 +02:00
x86_decode.h x86 hvf cpus: Fix Lesser GPL version number 2020-11-15 16:45:27 +01:00
x86_descr.c target/i386/hvf: Use CPUState typedef 2024-03-12 12:03:58 +01:00
x86_descr.h target/i386/hvf: Use CPUState typedef 2024-03-12 12:03:58 +01:00
x86_emu.c i386/hvf: Fixes some compilation warnings 2024-06-08 10:33:38 +02:00
x86_emu.h target/i386/hvf: Use CPUState typedef 2024-03-12 12:03:58 +01:00
x86_flags.c Remove qemu-common.h include from most units 2022-04-06 14:31:55 +02:00
x86_flags.h x86 hvf cpus: Fix Lesser GPL version number 2020-11-15 16:45:27 +01:00
x86_mmu.c target/i386/hvf: Use CPUState typedef 2024-03-12 12:03:58 +01:00
x86_mmu.h target/i386/hvf: Use CPUState typedef 2024-03-12 12:03:58 +01:00
x86_task.c accel: Rename HVF 'struct hvf_vcpu_state' -> AccelCPUState 2023-06-28 14:14:22 +02:00
x86_task.h
x86.c target/i386/hvf: Use CPUState typedef 2024-03-12 12:03:58 +01:00
x86.h target/i386/hvf: Use CPUState typedef 2024-03-12 12:03:58 +01:00
x86hvf.c accel/hvf: Use accel-specific per-vcpu @dirty field 2024-04-26 17:03:00 +02:00
x86hvf.h accel: Rename 'cpu_state' -> 'cs' 2023-06-28 13:55:35 +02: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.