qemu/accel/hvf
Phil Dennis-Jordan f21f0cbc2c hvf: Consistent types for vCPU handles
macOS Hypervisor.framework uses different types for identifying vCPUs, hv_vcpu_t or hv_vcpuid_t, depending on host architecture. They are not just differently named typedefs for the same primitive type, but reference different-width integers.

Instead of using an integer type and casting where necessary, this change introduces a typedef which resolves the active architecture’s hvf typedef. It also removes a now-unnecessary cast.

Signed-off-by: Phil Dennis-Jordan <phil@philjordan.eu>
Reviewed-by: Roman Bolshakov <roman@roolebo.dev>
Tested-by: Roman Bolshakov <roman@roolebo.dev>
Message-ID: <20240605112556.43193-4-phil@philjordan.eu>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-06-08 10:33:38 +02:00
..
entitlements.plist hvf: Add hypervisor entitlement to output binaries 2021-01-29 10:47:28 +00:00
hvf-accel-ops.c hvf: Consistent types for vCPU handles 2024-06-08 10:33:38 +02:00
hvf-all.c accel/hvf: Widen pc/saved_insn for hvf_sw_breakpoint 2023-08-24 11:21:29 -07:00
meson.build hvf: Move vcpu thread functions into common directory 2021-06-03 16:43:26 +01:00