summary refs log tree commit diff stats
path: root/util/qemu-coroutine-sleep.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2017-02-08 13:36:17 +0100
committerCornelia Huck <cornelia.huck@de.ibm.com>2017-02-24 10:15:18 +0100
commitf738f296eaaed719508207ba36b995ba73fe27db (patch)
treec80ef0e1107a57d35845e0a58e64fea4c902592b /util/qemu-coroutine-sleep.c
parent5f706fdc164b20b48254eadf7bd413edace34499 (diff)
downloadfocaccia-qemu-f738f296eaaed719508207ba36b995ba73fe27db.tar.gz
focaccia-qemu-f738f296eaaed719508207ba36b995ba73fe27db.zip
s390x/arch_dump: pass cpuid into notes sections
we need to pass the cpuid into the pid field of the notes
section, otherwise the notes for different CPUs all have 0:

e.g. objdump -h shows:
old:
  5 .reg-s390-prefix/0 00000004  0000000000000000  0000000000000000
  6 .reg-s390-prefix 00000004  0000000000000000  0000000000000000
 21 .reg-s390-prefix/0 00000004  0000000000000000  0000000000000000
new:
  5 .reg-s390-prefix/1 00000004  0000000000000000  0000000000000000
  6 .reg-s390-prefix 00000004  0000000000000000  0000000000000000
 21 .reg-s390-prefix/2 00000004  0000000000000000  0000000000000000

Reported-by: Philipp Rudo <prudo@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'util/qemu-coroutine-sleep.c')
0 files changed, 0 insertions, 0 deletions