summary refs log tree commit diff stats
path: root/target/i386/hax/hax-accel-ops.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-03-29 18:56:35 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-06-28 13:55:35 +0200
commit6ecd2cd0dcfa733bdad7e97ee913ff44fc7681aa (patch)
tree52dcdc2257d6650c4e6aeb65678e376a63d96858 /target/i386/hax/hax-accel-ops.c
parent83d0f7f95cc88bbf31ba000d1d2f05e8563f9d97 (diff)
downloadfocaccia-qemu-6ecd2cd0dcfa733bdad7e97ee913ff44fc7681aa.tar.gz
focaccia-qemu-6ecd2cd0dcfa733bdad7e97ee913ff44fc7681aa.zip
accel: Rename 'hax_vcpu' as 'accel' in CPUState
All accelerators will share a single opaque context
in CPUState. Start by renaming 'hax_vcpu' as 'accel'.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230624174121.11508-7-philmd@linaro.org>
Diffstat (limited to 'target/i386/hax/hax-accel-ops.c')
-rw-r--r--target/i386/hax/hax-accel-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/hax/hax-accel-ops.c b/target/i386/hax/hax-accel-ops.c
index 0157a628a3..a8512efcd5 100644
--- a/target/i386/hax/hax-accel-ops.c
+++ b/target/i386/hax/hax-accel-ops.c
@@ -71,7 +71,7 @@ static void hax_start_vcpu_thread(CPUState *cpu)
              cpu->cpu_index);
     qemu_thread_create(cpu->thread, thread_name, hax_cpu_thread_fn,
                        cpu, QEMU_THREAD_JOINABLE);
-    assert(cpu->hax_vcpu);
+    assert(cpu->accel);
 #ifdef _WIN32
     cpu->hThread = qemu_thread_get_handle(cpu->thread);
 #endif