- kvm-accel-mshv-Remove-remap-overlapping-mappings-code.patch [RHEL-178767] - kvm-accel-mshv-implement-cpu_thread_is_idle-hook.patch [RHEL-178767] - kvm-scsi-adjust-error_prepend-formatting.patch [RHEL-155807] - kvm-scsi-always-send-valid-PREEMPT-TYPE-field.patch [RHEL-155807] - kvm-scsi-register-again-after-PREEMPT-without-reservatio.patch [RHEL-155807] - kvm-hw-tpm-tpm_tis_sysbus-defer-resource-allocation-to-r.patch [RHEL-178846] - kvm-vfio-container-Restrict-dma_map_file-to-shared-RAM-o.patch [RHEL-180750] - kvm-scsi-change-buf_size-to-unsigned-int-in-scsi_SG_IO.patch [RHEL-153123] - kvm-scsi-handle-reservation-changes-across-migration.patch [RHEL-153123] - Resolves: RHEL-178767 (MSHV backport onto QEMU 10.1.0 is not able to launch MSHV guests) - Resolves: RHEL-155807 (live migration failed the VM just register key only [rhel-10.3]) - Resolves: RHEL-178846 ([aarch64] qemu-kvm crashes on --device tpm-tis-device,?) - Resolves: RHEL-180750 (Backport in QEMU : vfio/container: Restrict dma_map_file() to shared RAM or RAM devices) - Resolves: RHEL-153123 (live migration failed or get failed WSFC test result during WSFC testing [rhel-10.3])
50 lines
2.0 KiB
Diff
50 lines
2.0 KiB
Diff
From 77d65b4a5dc0172a29dd810363d4f702242b929a Mon Sep 17 00:00:00 2001
|
|
From: Stefan Hajnoczi <stefanha@redhat.com>
|
|
Date: Wed, 1 Apr 2026 13:19:25 -0400
|
|
Subject: [PATCH 3/9] scsi: adjust error_prepend() formatting
|
|
|
|
RH-Author: Stefan Hajnoczi <stefanha@redhat.com>
|
|
RH-MergeRequest: 492: scsi: PR live migration PREEMPT fixes
|
|
RH-Jira: RHEL-155807
|
|
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
RH-Commit: [1/3] 8d4442c1d4ec94db0cbea00f3cd32e0f50ef13dc (stefanha/centos-stream-qemu-kvm)
|
|
|
|
The error strings will be concatenated so add a separator to make the
|
|
combined error message easy to read.
|
|
|
|
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
|
|
Link: https://lore.kernel.org/r/20260401171927.396672-2-stefanha@redhat.com
|
|
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
(cherry picked from commit 15c57ac351ccb4af625cd7dc582831f472c1a68f)
|
|
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
|
|
---
|
|
hw/scsi/scsi-generic.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/hw/scsi/scsi-generic.c b/hw/scsi/scsi-generic.c
|
|
index b8b3f399f0..5825a47311 100644
|
|
--- a/hw/scsi/scsi-generic.c
|
|
+++ b/hw/scsi/scsi-generic.c
|
|
@@ -438,7 +438,7 @@ static bool scsi_generic_pr_register(SCSIDevice *s, uint64_t key, Error **errp)
|
|
ret = scsi_SG_IO(s->conf.blk, SG_DXFER_TO_DEV, cmd, sizeof(cmd),
|
|
buf, sizeof(buf), s->io_timeout, errp);
|
|
if (ret < 0) {
|
|
- error_prepend(errp, "PERSISTENT RESERVE OUT with REGISTER");
|
|
+ error_prepend(errp, "PERSISTENT RESERVE OUT with REGISTER: ");
|
|
return false;
|
|
}
|
|
return true;
|
|
@@ -462,7 +462,7 @@ static bool scsi_generic_pr_preempt(SCSIDevice *s, uint64_t key,
|
|
ret = scsi_SG_IO(s->conf.blk, SG_DXFER_TO_DEV, cmd, sizeof(cmd),
|
|
buf, sizeof(buf), s->io_timeout, errp);
|
|
if (ret < 0) {
|
|
- error_prepend(errp, "PERSISTENT RESERVE OUT with PREEMPT");
|
|
+ error_prepend(errp, "PERSISTENT RESERVE OUT with PREEMPT: ");
|
|
return false;
|
|
}
|
|
return true;
|
|
--
|
|
2.52.0
|
|
|