qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH qemu] spapr/nvlink2: Correct error messages


From: Alexey Kardashevskiy
Subject: [Qemu-devel] [PATCH qemu] spapr/nvlink2: Correct error messages
Date: Thu, 21 Mar 2019 17:48:27 +1100

This corrects rather confusing error messages; can be squashed.

Fixes: 0afa2635ef75 ("spapr: Support NVIDIA V100 GPU with NVLink2", 2019-03-12)
Signed-off-by: Alexey Kardashevskiy <address@hidden>
---
 hw/ppc/spapr_pci_nvlink2.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/hw/ppc/spapr_pci_nvlink2.c b/hw/ppc/spapr_pci_nvlink2.c
index 3aa66aff6dbd..eda8c752aa22 100644
--- a/hw/ppc/spapr_pci_nvlink2.c
+++ b/hw/ppc/spapr_pci_nvlink2.c
@@ -90,7 +90,7 @@ static void spapr_pci_collect_nvgpu(struct 
spapr_phb_pci_nvgpu_config *nvgpus,
     struct spapr_phb_pci_nvgpu_slot *nvslot = spapr_nvgpu_get_slot(nvgpus, 
tgt);
 
     if (!nvslot) {
-        error_setg(errp, "Found too many NVLink bridges per GPU");
+        error_setg(errp, "Found too many GPUs per vPHB");
         return;
     }
     g_assert(!nvslot->gpdev);
@@ -110,13 +110,13 @@ static void spapr_pci_collect_nvnpu(struct 
spapr_phb_pci_nvgpu_config *nvgpus,
     int j;
 
     if (!nvslot) {
-        error_setg(errp, "Found too many NVLink bridges per GPU");
+        error_setg(errp, "Found too many NVLink bridges per vPHB");
         return;
     }
 
     j = nvslot->linknum;
     if (j == ARRAY_SIZE(nvslot->links)) {
-        error_setg(errp, "Found too many NVLink2 bridges");
+        error_setg(errp, "Found too many NVLink bridges per GPU");
         return;
     }
     ++nvslot->linknum;
-- 
2.17.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]