aboutsummaryrefslogtreecommitdiff
path: root/qemu-edid.c
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2019-05-29 18:07:47 +0200
committerEduardo Habkost <ehabkost@redhat.com>2019-06-07 15:28:46 -0300
commita5bf9fbcc92322e9919113c14dee9838bee4cab4 (patch)
tree4ce755f030232786cca4c7c5c93d1007422bd99e /qemu-edid.c
parent185b7ccc11354cbd69b6d53bf8d831dd964f6c88 (diff)
numa: improve cpu hotplug error message with a wrong node-id
On pseries, core-ids are strongly binded to a node-id by the command line option. If an user tries to add a CPU to the wrong node, he has an error but it is not really helpful: qemu-system-ppc64 ... -smp 1,maxcpus=64,cores=1,threads=1,sockets=1 \ -numa node,nodeid=0 -numa node,nodeid=1 ... (qemu) device_add power9_v2.0-spapr-cpu-core,core-id=30,node-id=1 Error: node-id=1 must match numa node specified with -numa option This patch improves this error message by giving to the user the good node-id to use with the core-id he's providing Error: invalid node-id, must be 0 Signed-off-by: Laurent Vivier <lvivier@redhat.com> Message-Id: <20190529160747.778-1-lvivier@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'qemu-edid.c')
0 files changed, 0 insertions, 0 deletions