Re: [PATCH] x86: Fix CONFIG_CRASH_CELL_ON_PANIC

2018-10-22 Thread Ashok kumar
Hi, I have added void vcpu_park(void) { #ifdef CONFIG_CRASH_CELL_ON_PANIC - if (this_cpu_data()->failed) { + if (this_cpu_public()->failed) { this_cpu_data()->vmcb.rip = 0; return; } void vcpu_park(void) { #ifdef

[PATCH] x86: Fix CONFIG_CRASH_CELL_ON_PANIC

2018-10-17 Thread Jan Kiszka
As it is not enabled by default, this became silently broken. Fixes: 13c472715e29 ("core: Move failed into public per-cpu section") Signed-off-by: Jan Kiszka --- hypervisor/arch/x86/svm.c | 2 +- hypervisor/arch/x86/vmx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git