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
Nguyen Dinh Phi 3bee93b9ab accel/hvf: Fix i386 HVF compilation failures
Recent changes introduced build errors in the i386 HVF backend:

 - ../accel/hvf/hvf-accel-ops.c:163:17: error: no member named 'guest_debug_enabled' in 'struct AccelCPUState'
   163 |     cpu->accel->guest_debug_enabled = false;

 - ../accel/hvf/hvf-accel-ops.c:151:51
   error: no member named 'unblock_ipi_mask' in 'struct AccelCPUState'

 - ../target/i386/hvf/hvf.c:736:5
   error: use of undeclared identifier 'rip'

 - ../target/i386/hvf/hvf.c:737:5
   error: use of undeclared identifier 'env'

This patch corrects the field usage and move identifier to correct
function ensuring successful compilation of the i386 HVF backend.

These issues were caused by:

Fixes: 2ad756383e (“accel/hvf: Restrict ARM-specific fields of AccelCPUState”)
Fixes: 2a21c92447 (“target/i386/hvf: Factor hvf_handle_vmexit() out”)

Signed-off-by: Nguyen Dinh Phi <phind.uet@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20251126094601.56403-1-phind.uet@gmail.com>
[PMD: Keep setting vcpu_dirty on AArch64]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Nguyen Dinh Phi <phind.uet@gmail.com>
Message-Id: <20251128085854.53539-1-phind.uet@gmail.com>
2 weeks ago
..
emulate target/i386: emulate: Make sure fetch_instruction exist before calling it 4 weeks ago
hvf accel/hvf: Fix i386 HVF compilation failures 2 weeks ago
kvm target/i386: clear CPU_INTERRUPT_SIPI for all accelerators 2 months ago
mshv accel/mshv: use return value of handle_pio_str_read 2 months ago
nvmm target/i386: clear CPU_INTERRUPT_SIPI for all accelerators 2 months ago
tcg target/i386: fix stack size when delivering real mode interrupts 4 weeks ago
whpx target/i386: clear CPU_INTERRUPT_SIPI for all accelerators 2 months ago
Kconfig i386: select correct components for no-board build 2 years ago
arch_dump.c include: Rename sysemu/ -> system/ 12 months ago
arch_memory_mapping.c target/i386/arch_memory_mapping: Use address_space_memory_is_io() 2 months ago
confidential-guest.c qom: Have class_init() take a const data argument 8 months ago
confidential-guest.h i386/cgs: Introduce x86_confidential_guest_check_features() 7 months ago
cpu-apic.c hw/i386/apic: Prefer APICCommonState over DeviceState 2 months ago
cpu-dump.c hw/i386/apic: Prefer APICCommonState over DeviceState 2 months ago
cpu-internal.h include: Rename sysemu/ -> system/ 12 months ago
cpu-param.h tcg: Remove the TCG_GUEST_DEFAULT_MO definition globally 8 months ago
cpu-qom.h target: Move ArchCPUClass definition to 'cpu.h' 2 years ago
cpu-system.c qapi: make most CPU commands unconditionally available 7 months ago
cpu.c igvm: add support for initial register state load in native mode 1 month ago
cpu.h igvm: add support for initial register state load in native mode 1 month ago
gdbstub.c target/i386/gdbstub: Expose orig_ax 1 year ago
helper.c i386/cpu: Prevent delivering SIPI during SMM in TCG mode 2 months ago
helper.h target/i386: optimize computation of ZF from CC_OP_DYNAMIC 1 year ago
host-cpu.c i386/cpu: Unify family, model and stepping calculation for x86 CPU 5 months ago
host-cpu.h i386/cpu: Cleanup host_cpu_max_instance_init() 5 months ago
igvm.c igvm: add support for initial register state load in native mode 1 month ago
machine.c target/i386: Add support for save/load of exception error code 4 months ago
meson.build igvm: add support for igvm memory map parameter in native mode 1 month ago
monitor.c target/i386/monitor: Replace legacy cpu_physical_memory_read() calls 2 months ago
ops_sse.h target/i386: Use correct type for get_float_exception_flags() values 6 months ago
sev-system-stub.c qapi: make SEV commands unconditionally available 7 months ago
sev.c migration: Don't free the reason after calling migrate_add_blocker 1 month ago
sev.h i386/sev: Add implementation of CGS set_guest_policy() 5 months ago
svm.h target/i386: check intercept for XSETBV 2 years ago
trace-events target/i386/sev: Use size_t for object sizes 1 year ago
trace.h trace: switch position of headers to what Meson requires 5 years ago
xsave_helper.c qemu: Declare all load/store helper in 'qemu/bswap.h' 5 months ago