[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 85/86] numa: make exit() usage consistent
From: |
Igor Mammedov |
Subject: |
[PATCH v2 85/86] numa: make exit() usage consistent |
Date: |
Wed, 15 Jan 2020 16:07:40 +0100 |
Signed-off-by: Igor Mammedov <address@hidden>
---
CC: address@hidden
---
hw/core/numa.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/core/numa.c b/hw/core/numa.c
index 3177066..47d5ea1 100644
--- a/hw/core/numa.c
+++ b/hw/core/numa.c
@@ -718,7 +718,7 @@ void numa_complete_configuration(MachineState *ms)
/* Report large node IDs first, to make mistakes easier to spot */
if (!numa_info[i].present) {
error_report("numa: Node ID missing: %d", i);
- exit(1);
+ exit(EXIT_FAILURE);
}
}
@@ -759,7 +759,7 @@ void numa_complete_configuration(MachineState *ms)
error_report("total memory for NUMA nodes (0x%" PRIx64 ")"
" should equal RAM size (0x" RAM_ADDR_FMT ")",
numa_total, ram_size);
- exit(1);
+ exit(EXIT_FAILURE);
}
if (!numa_uses_legacy_mem()) {
--
2.7.4
- [PATCH v2 82/86] numa: forbid '-numa node, mem' for 5.0 and newer machine types, (continued)
- [PATCH v2 82/86] numa: forbid '-numa node, mem' for 5.0 and newer machine types, Igor Mammedov, 2020/01/15
- Re: [libvirt] [PATCH v2 82/86] numa: forbid '-numa node, mem' for 5.0 and newer machine types, Peter Krempa, 2020/01/15
- Re: [libvirt] [PATCH v2 82/86] numa: forbid '-numa node, mem' for 5.0 and newer machine types, Igor Mammedov, 2020/01/15
- Re: [libvirt] [PATCH v2 82/86] numa: forbid '-numa node, mem' for 5.0 and newer machine types, Michal Privoznik, 2020/01/16
- Re: [libvirt] [PATCH v2 82/86] numa: forbid '-numa node, mem' for 5.0 and newer machine types, Igor Mammedov, 2020/01/16
- Re: [libvirt] [PATCH v2 82/86] numa: forbid '-numa node, mem' for 5.0 and newer machine types, Michal Privoznik, 2020/01/16
- Re: [libvirt] [PATCH v2 82/86] numa: forbid '-numa node, mem' for 5.0 and newer machine types, Igor Mammedov, 2020/01/16
- Re: [libvirt] [PATCH v2 82/86] numa: forbid '-numa node, mem' for 5.0 and newer machine types, Daniel P . Berrangé, 2020/01/16
- Re: [libvirt] [PATCH v2 82/86] numa: forbid '-numa node, mem' for 5.0 and newer machine types, Igor Mammedov, 2020/01/16
Re: [PATCH v2 82/86] numa: forbid '-numa node, mem' for 5.0 and newer machine types, David Gibson, 2020/01/15
[PATCH v2 85/86] numa: make exit() usage consistent,
Igor Mammedov <=
- Re: [PATCH v2 85/86] numa: make exit() usage consistent, Philippe Mathieu-Daudé, 2020/01/16
- Re: [PATCH v2 85/86] numa: make exit() usage consistent, Thomas Huth, 2020/01/16
- Re: [PATCH v2 85/86] numa: make exit() usage consistent, Philippe Mathieu-Daudé, 2020/01/17
- Re: [PATCH v2 85/86] numa: make exit() usage consistent, Thomas Huth, 2020/01/17
- Re: [PATCH v2 85/86] numa: make exit() usage consistent, Thomas Huth, 2020/01/17
[PATCH v2 86/86] numa: remove deprecated implicit RAM distribution between nodes, Igor Mammedov, 2020/01/15
[PATCH v2 83/86] tests:numa-test: make top level args dynamic and g_autofree(cli) cleanups, Igor Mammedov, 2020/01/15