summary refs log tree commit diff stats
path: root/hw/core/machine-qmp-cmds.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2019-08-15 15:38:02 -0300
committerEduardo Habkost <ehabkost@redhat.com>2019-09-03 14:39:46 -0300
commit23d9cff4897cf983b0570b8676a093d829da019d (patch)
treec0feaf348643fd99f316bd142688b3702aac4537 /hw/core/machine-qmp-cmds.c
parent2a0585e183d0b7c628638fa07a3ffee8db852d69 (diff)
downloadfocaccia-qemu-23d9cff4897cf983b0570b8676a093d829da019d.tar.gz
focaccia-qemu-23d9cff4897cf983b0570b8676a093d829da019d.zip
pc: Improve error message when die-id is omitted
The error message when die-id is omitted doesn't make sense:

  $ qemu-system-x86_64 -smp 1,sockets=6,maxcpus=6 \
    -device qemu64-x86_64-cpu,socket-id=1,core-id=0,thread-id=0
  qemu-system-x86_64: -device qemu64-x86_64-cpu,socket-id=1,core-id=0,thread-id=0: \
    Invalid CPU die-id: 4294967295 must be in range 0:0

Fix it, so it will now read:

  qemu-system-x86_64: -device qemu64-x86_64-cpu,socket-id=1,core-id=0,thread-id=0: \
    CPU die-id is not set

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20190815183803.13346-3-ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Vanderson M. do Rosario <vandersonmr2@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/core/machine-qmp-cmds.c')
0 files changed, 0 insertions, 0 deletions