| Submitter | Eduardo Habkost |
|---|---|
| Date | Jan. 16, 2013, 3:24 p.m. |
| Message ID | <1358349851-20960-4-git-send-email-ehabkost@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/212912/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/vl.c b/vl.c index f29d926..1cf8ba6 100644 --- a/vl.c +++ b/vl.c @@ -1290,6 +1290,9 @@ static void numa_add(const char *optarg) bitmap_set(node_cpumask[nodenr], value, endvalue-value+1); } nb_numa_nodes++; + } else { + fprintf(stderr, "Invalid -numa option: %s\n", option); + exit(1); } }
Abort in case an invalid -numa option is provided, instead of silently ignoring it. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> --- vl.c | 3 +++ 1 file changed, 3 insertions(+)