x86/hvm: Process pending softirqs while dumping VMC[SB]s

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 <aidan.allen1@cloud.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Tested-by: Aidan Allen <aidan.allen1@cloud.com>
This commit is contained in:
Andrew Cooper committed 2025-06-13 15:47:18 +01:00
1 parent 3998da124a
commit 5f31c46139
2 files changed
+7 -1

No files matched your search

+4
View File
@@ -12,6 +12,8 @@
#include <xen/mm.h>
#include <xen/rcupdate.h>
#include <xen/sched.h>
#include <xen/softirq.h>
#include <asm/hvm/svm/vmcb.h>
#include <asm/msr-index.h>
#include <asm/p2m.h>
@@ -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();
}
}
+3 -1
View File
@@ -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();
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.