We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1458ff commit 10f0216Copy full SHA for 10f0216
accel/hvf/hvf-accel-ops.c
@@ -148,10 +148,11 @@ static int hvf_init_vcpu(CPUState *cpu)
148
sigact.sa_handler = dummy_signal;
149
sigaction(SIG_IPI, &sigact, NULL);
150
151
+#ifdef __aarch64__
152
pthread_sigmask(SIG_BLOCK, NULL, &cpu->accel->unblock_ipi_mask);
153
sigdelset(&cpu->accel->unblock_ipi_mask, SIG_IPI);
154
+ cpu->accel->guest_debug_enabled = false;
155
-#ifdef __aarch64__
156
r = hv_vcpu_create(&cpu->accel->fd,
157
(hv_vcpu_exit_t **)&cpu->accel->exit, NULL);
158
#else
@@ -160,8 +161,6 @@ static int hvf_init_vcpu(CPUState *cpu)
160
161
assert_hvf_ok(r);
162
cpu->vcpu_dirty = true;
163
- cpu->accel->guest_debug_enabled = false;
164
-
165
return hvf_arch_init_vcpu(cpu);
166
}
167
0 commit comments