From 5f31c46139be87d7c2e9d021f684e5ed646c8e87 Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Wed, 4 Jun 2025 13:56:13 +0100 Subject: [PATCH] x86/hvm: Process pending softirqs while dumping VMC[SB]s MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 24 guests with 8 vcpus each is sufficient to hit a 5 second watchdog. Drop a piece of trailing whitespace while here. Reported-by: Aidan Allen Signed-off-by: Andrew Cooper Acked-by: Roger Pau Monné Tested-by: Aidan Allen --- xen/arch/x86/hvm/svm/vmcb.c | 4 ++++ xen/arch/x86/hvm/vmx/vmcs.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/hvm/svm/vmcb.c b/xen/arch/x86/hvm/svm/vmcb.c index 4e1f61dbe0..839d3ff91b 100644 --- a/xen/arch/x86/hvm/svm/vmcb.c +++ b/xen/arch/x86/hvm/svm/vmcb.c @@ -12,6 +12,8 @@ #include #include #include +#include + #include #include #include @@ -246,6 +248,8 @@ static void cf_check vmcb_dump(unsigned char ch) } printk("\tVCPU %d\n", v->vcpu_id); svm_vmcb_dump("key_handler", v->arch.hvm.svm.vmcb); + + process_pending_softirqs(); } } diff --git a/xen/arch/x86/hvm/vmx/vmcs.c b/xen/arch/x86/hvm/vmx/vmcs.c index c86f73f6d1..e7fca4bf33 100644 --- a/xen/arch/x86/hvm/vmx/vmcs.c +++ b/xen/arch/x86/hvm/vmx/vmcs.c @@ -2165,7 +2165,7 @@ static void cf_check vmcs_dump(unsigned char ch) { struct domain *d; struct vcpu *v; - + printk("*********** VMCS Areas **************\n"); rcu_read_lock(&domlist_read_lock); @@ -2184,6 +2184,8 @@ static void cf_check vmcs_dump(unsigned char ch) } printk("\tVCPU %d\n", v->vcpu_id); vmcs_dump_vcpu(v); + + process_pending_softirqs(); } }