1. 23 5月, 2019 1 次提交
  2. 17 5月, 2019 7 次提交
  3. 03 5月, 2019 1 次提交
  4. 23 3月, 2019 1 次提交
  5. 08 3月, 2019 3 次提交
  6. 07 2月, 2019 1 次提交
  7. 05 2月, 2019 2 次提交
  8. 09 1月, 2019 1 次提交
  9. 14 12月, 2018 1 次提交
  10. 21 8月, 2018 1 次提交
  11. 02 7月, 2018 2 次提交
  12. 17 6月, 2018 1 次提交
    • T
      hw/sparc/sun4m: Fix problems with device introspection · a2a5a7b5
      Thomas Huth 提交于
      Several devices of the sun4m machines are using &error_fatal in
      their instance_init function and thus can cause QEMU to abort
      unexpectedly:
      
      $ echo "{'execute':'qmp_capabilities'}"\
             "{'execute':'device-list-properties',"\
             " 'arguments':{'typename':'openprom'}}" \
             | sparc-softmmu/qemu-system-sparc -M SS-10 -S -qmp stdio
      {"QMP": {"version": {"qemu": {"micro": 91, "minor": 11, "major": 2},
       "package": "build-all"}, "capabilities": []}}
      {"return": {}}
      RAMBlock "sun4m.prom" already registered, abort!
      Aborted (core dumped)
      
      $ echo "{'execute':'qmp_capabilities'}"\
             "{'execute':'device-list-properties',"\
             " 'arguments':{'typename':'macio_idreg'}}" \
             | sparc-softmmu/qemu-system-sparc -M SS-10 -S -qmp stdio
      {"QMP": {"version": {"qemu": {"micro": 91, "minor": 11, "major": 2},
       "package": "build-all"}, "capabilities": []}}
      {"return": {}}
      RAMBlock "sun4m.idreg" already registered, abort!
      Aborted (core dumped)
      
      $ echo "{'execute':'qmp_capabilities'}"\
             "{'execute':'device-list-properties',"\
             " 'arguments':{'typename':'tcx_afx'}}" \
             | sparc-softmmu/qemu-system-sparc -M SS-5 -S -qmp stdio
      {"QMP": {"version": {"qemu": {"micro": 91, "minor": 11, "major": 2},
       "package": "build-all"}, "capabilities": []}}
      {"return": {}}
      RAMBlock "sun4m.afx" already registered, abort!
      Aborted (core dumped)
      
      Fix the issues by converting the instance_init functions into realize()
      functions instead, which are allowed to fail (and not called during
      device introspection).
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      Signed-off-by: NMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
      a2a5a7b5
  13. 15 6月, 2018 1 次提交
  14. 26 4月, 2018 1 次提交
  15. 12 3月, 2018 2 次提交
  16. 08 3月, 2018 1 次提交
  17. 16 2月, 2018 1 次提交
  18. 07 2月, 2018 1 次提交
    • A
      hw/sparc*: Replace fprintf(stderr, "*\n" with error_report() · 29bd7231
      Alistair Francis 提交于
      Replace a large number of the fprintf(stderr, "*\n" calls with
      error_report(). The functions were renamed with these commands and then
      compiler issues where manually fixed.
      
      find ./* -type f -exec sed -i \
          'N;N;N;N;N;N;N;N;N;N;N;N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2);|Ig}' \
          {} +
      find ./* -type f -exec sed -i \
          'N;N;N;N;N;N;N;N;N;N;N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2);|Ig}' \
          {} +
      find ./* -type f -exec sed -i \
          'N;N;N;N;N;N;N;N;N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2);|Ig}' \
          {} +
      find ./* -type f -exec sed -i \
          'N;N;N;N;N;N;N;N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2);|Ig}' \
          {} +
      find ./* -type f -exec sed -i \
          'N;N;N;N;N;N;N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2);|Ig}' \
          {} +
      find ./* -type f -exec sed -i \
          'N;N;N;N;N;N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2);|Ig}' \
          {} +
      find ./* -type f -exec sed -i \
          'N;N;N;N;N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2);|Ig}' \
          {} +
      find ./* -type f -exec sed -i \
          'N;N;N;N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2);|Ig}' \
          {} +
      find ./* -type f -exec sed -i \
          'N;N;N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2);|Ig}' \
          {} +
      find ./* -type f -exec sed -i \
          'N;N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2);|Ig}' \
          {} +
      find ./* -type f -exec sed -i \
          'N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2);|Ig}' \
          {} +
      
      Some lines where then manually tweaked to pass checkpatch.
      Signed-off-by: NAlistair Francis <alistair.francis@xilinx.com>
      Cc: Fabien Chouteau <chouteau@adacore.com>
      Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
      Cc: Artyom Tarasenko <atar4qemu@gmail.com>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Acked-by: NMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-Id: <20180203084315.20497-12-armbru@redhat.com>
      29bd7231
  19. 10 1月, 2018 3 次提交
  20. 18 12月, 2017 1 次提交
  21. 01 11月, 2017 7 次提交