qemu-kvm/0086-accel-mshv-initialize-thread-name.patch
Miroslav Rezanina 7e7ad9abba * Tue Feb 17 2026 Miroslav Rezanina <mrezanin@redhat.com> - 10.1.0-12.el10nv
- Add DMABUF support  [VOYAGER-19 VOYAGER-53]
- Accelerated SMMU device for GH GPU passthrough [VOYAGER-5 VOYAGER-16 VOYAGER-17 VOYAGER-48]
- Resolves: VOYAGER-5
  (Backport CMDQV support)
- Resolves: VOYAGER-16
  (Backport HW accelerated nesting support for arm SMMUv3)
- Resolves: VOYAGER-17
  (Backport vEVENTQ support for smmuv3)
- Resolves: VOYAGER-19
  (Backport vfio: Add DMABUF support for PCI BAR regions - qemu-kvm)
- Resolves: VOYAGER-48
  (qemu-kvm coredump when using traditional smmuv3 device without any GPU device)
- Resolves: VOYAGER-53
  (qemu-kvm coredump when hotunplug NIC VF interface without smmuv3)
2026-02-17 16:57:06 +01:00

41 lines
1.4 KiB
Diff

From 8b6f5eb5eee8bac91997ab49a0f07d7d23db387c Mon Sep 17 00:00:00 2001
From: Paolo Bonzini <pbonzini@redhat.com>
Date: Wed, 22 Oct 2025 14:52:48 +0200
Subject: [PATCH] accel/mshv: initialize thread name
RH-Author: Igor Mammedov <imammedo@redhat.com>
RH-MergeRequest: 437: el10: x86: enablement for Azure L1VH OCP readiness
RH-Jira: RHEL-134212
RH-Acked-by: Vitaly Kuznetsov <vkuznets@redhat.com>
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
RH-Commit: [29/30] 3e7286070c5ce162001fd407ebb1fa3920e300fa
The initialization was dropped when the code was copied from existing
accelerators. Coverity knows (CID 1641400). Fix it.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 2cd3c1d35a06a62b25afa80c5baf381ce4b56805)
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Patch-name: kvm-accel-mshv-initialize-thread-name.patch
Patch-id: 89
Patch-present-in-specfile: True
---
accel/mshv/mshv-all.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/accel/mshv/mshv-all.c b/accel/mshv/mshv-all.c
index 45174f7c4e..80428d130d 100644
--- a/accel/mshv/mshv-all.c
+++ b/accel/mshv/mshv-all.c
@@ -596,6 +596,9 @@ static void mshv_start_vcpu_thread(CPUState *cpu)
{
char thread_name[VCPU_THREAD_NAME_SIZE];
+ snprintf(thread_name, VCPU_THREAD_NAME_SIZE, "CPU %d/MSHV",
+ cpu->cpu_index);
+
cpu->thread = g_malloc0(sizeof(QemuThread));
cpu->halt_cond = g_malloc0(sizeof(QemuCond));