1. 25 1月, 2018 2 次提交
  2. 23 1月, 2018 2 次提交
    • P
      Merge remote-tracking branch 'remotes/huth/tags/pull-request-2018-01-22' into staging · 52483b06
      Peter Maydell 提交于
      Pull request for various patches that have been reviewed and
      laying on the mailing list for a while, but apparently no
      maintainer feels really responsible for picking up.
      
      # gpg: Signature made Mon 22 Jan 2018 11:10:16 GMT
      # gpg:                using RSA key 0x2ED9D774FE702DB5
      # gpg: Good signature from "Thomas Huth <th.huth@gmx.de>"
      # gpg:                 aka "Thomas Huth <thuth@redhat.com>"
      # gpg:                 aka "Thomas Huth <huth@tuxfamily.org>"
      # gpg:                 aka "Thomas Huth <th.huth@posteo.de>"
      # Primary key fingerprint: 27B8 8847 EEE0 2501 18F3  EAB9 2ED9 D774 FE70 2DB5
      
      * remotes/huth/tags/pull-request-2018-01-22:
        hw/isa: Replace fprintf(stderr, "*\n" with error_report()
        hw/ipmi: Replace fprintf(stderr, "*\n" with error_report()
        hw/bt: Replace fprintf(stderr, "*\n" with error_report()
        Fixes after renaming __FUNCTION__ to __func__
        Replace all occurances of __FUNCTION__ with __func__
        tests/cpu-plug-test: Test CPU hot-plugging on s390x
        tests/cpu-plug-test: Check CPU hot-plugging on ppc64, too
        tests/cpu-plug-test: Check the CPU hot-plugging with device_add, too
        tests: Rename pc-cpu-test.c to cpu-plug-test.c
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      52483b06
    • P
      migration: Revert postcopy-blocktime commit set · ee86981b
      Peter Maydell 提交于
      This reverts commits
      ca6011c2 migration: add postcopy total blocktime into query-migrate
      5f32dc8e migration: add blocktime calculation into migration-test
      2f7dae9d migration: postcopy_blocktime documentation
      3be98be4 migration: calculate vCPU blocktime on dst side
      01a87f0b migration: add postcopy blocktime ctx into MigrationIncomingState
      31bf06a9 migration: introduce postcopy-blocktime capability
      
      as they don't build on ppc32 due to trying to do atomic accesses
      on types that are larger than the host pointer type.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      ee86981b
  3. 22 1月, 2018 12 次提交
    • P
      Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.12-20180121' into staging · ee264eb3
      Peter Maydell 提交于
      ppc patch queue 2018-01-21
      
      This request supersedes the one from 2018-01-19.  The only difference
      is that the patch deprecating ppcemb-softmmu, and thereby creating
      many annying warnings from make check has been removed.
      
      Highlights are:
        * Significant TCG speedup by optimizing cmp generation
        * Fix a regression caused by recent change to set compat mode on
          hotplugged cpus
        * Cleanup of default configs
        * Some implementation of msgsnd/msgrcv instructions for server chips
      
      # gpg: Signature made Sun 21 Jan 2018 05:30:54 GMT
      # gpg:                using RSA key 0x6C38CACA20D9B392
      # gpg: Good signature from "David Gibson <david@gibson.dropbear.id.au>"
      # gpg:                 aka "David Gibson (Red Hat) <dgibson@redhat.com>"
      # gpg:                 aka "David Gibson (ozlabs.org) <dgibson@ozlabs.org>"
      # gpg:                 aka "David Gibson (kernel.org) <dwg@kernel.org>"
      # Primary key fingerprint: 75F4 6586 AE61 A66C C44E  87DC 6C38 CACA 20D9 B392
      
      * remotes/dgibson/tags/ppc-for-2.12-20180121:
        target/ppc/spapr_caps: Add macro to generate spapr_caps migration vmstate
        target/ppc: add support for hypervisor doorbells on book3s CPUs
        sii3112: Add explicit type casts to avoid unintended sign extension
        sm501: Add missing break to case
        target-ppc: optimize cmp translation
        spapr: fix device tree properties when using compatibility mode
        spapr: drop duplicate variable in spapr_core_plug()
        target/ppc: msgsnd and msgclr instructions need hypervisor privilege
        target/ppc: fix doorbell and hypervisor doorbell definitions
        hw/ppc/Makefile: Add a way to disable the PPC4xx boards
        default-configs/ppc-softmmu: Restructure the switches according to the machines
        default-configs/ppc64-softmmu: Include 32-bit configs instead of copying them
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      ee264eb3
    • P
      Merge remote-tracking branch 'remotes/elmarco/tags/dump-pull-request' into staging · 6df55517
      Peter Maydell 提交于
      # gpg: Signature made Sat 20 Jan 2018 20:03:47 GMT
      # gpg:                using RSA key 0xDAE8E10975969CE5
      # gpg: Good signature from "Marc-André Lureau <marcandre.lureau@redhat.com>"
      # gpg:                 aka "Marc-André Lureau <marcandre.lureau@gmail.com>"
      # Primary key fingerprint: 87A9 BD93 3F87 C606 D276  F62D DAE8 E109 7596 9CE5
      
      * remotes/elmarco/tags/dump-pull-request:
        dump-guest-memory.py: fix python 2 support
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      6df55517
    • P
      Merge remote-tracking branch 'remotes/jnsnow/tags/ide-pull-request' into staging · f7c6b96c
      Peter Maydell 提交于
      # gpg: Signature made Fri 19 Jan 2018 22:31:27 GMT
      # gpg:                using RSA key 0x7DEF8106AAFC390E
      # gpg: Good signature from "John Snow (John Huston) <jsnow@redhat.com>"
      # Primary key fingerprint: FAEB 9711 A12C F475 812F  18F2 88A9 064D 1835 61EB
      #      Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76  CBD0 7DEF 8106 AAFC 390E
      
      * remotes/jnsnow/tags/ide-pull-request:
        hw/ide: Remove duplicated definitions from ahci_internal.h
        ide: abort TRIM operation for invalid range
        ide: move ide_sect_range_ok() up
        ide: pass IDEState to trim AIO callback
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      f7c6b96c
    • A
      hw/isa: Replace fprintf(stderr, "*\n" with error_report() · 1081ed2c
      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>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      1081ed2c
    • A
      hw/ipmi: Replace fprintf(stderr, "*\n" with error_report() · 4fee2470
      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>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      4fee2470
    • A
      hw/bt: Replace fprintf(stderr, "*\n" with error_report() · bf937a79
      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>
      Reviewed-by: NThomas Huth <thuth@redhat.com>
      [THH: Changed one missing fprintf into an error_report, too]
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      bf937a79
    • A
      Fixes after renaming __FUNCTION__ to __func__ · c94a60cb
      Alistair Francis 提交于
      Signed-off-by: NAlistair Francis <alistair.francis@xilinx.com>
      Cc: Eric Blake <eblake@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      c94a60cb
    • A
      Replace all occurances of __FUNCTION__ with __func__ · a89f364a
      Alistair Francis 提交于
      Replace all occurs of __FUNCTION__ except for the check in checkpatch
      with the non GCC specific __func__.
      
      One line in hcd-musb.c was manually tweaked to pass checkpatch.
      Signed-off-by: NAlistair Francis <alistair.francis@xilinx.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
      Reviewed-by: NAnthony PERARD <anthony.perard@citrix.com>
      Reviewed-by: NJuan Quintela <quintela@redhat.com>
      Reviewed-by: NGerd Hoffmann <kraxel@redhat.com>
      [THH: Removed hunks related to pxa2xx_mmci.c (fixed already)]
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      a89f364a
    • T
      tests/cpu-plug-test: Test CPU hot-plugging on s390x · 7d8b00fa
      Thomas Huth 提交于
      CPU hot-plugging on s390x is possible with both, "cpu-add"
      and "device_add", so test both.
      Reviewed-by: NDavid Hildenbrand <david@redhat.com>
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      7d8b00fa
    • T
      tests/cpu-plug-test: Check CPU hot-plugging on ppc64, too · 73a7d31e
      Thomas Huth 提交于
      Hot plugging on ppc64 is possible via "device_add", too. Unlike x86,
      we must not specify a 'socket-id' and 'thread-id' here, so this needs
      to be done with a separate function that just specifies the 'core-id'
      during the "device_add".
      Reviewed-by: NDaniel Barboza <danielhb@linux.vnet.ibm.com>
      Tested-by: NDaniel Barboza <danielhb@linux.vnet.ibm.com>
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      73a7d31e
    • T
      tests/cpu-plug-test: Check the CPU hot-plugging with device_add, too · 80b8c0be
      Thomas Huth 提交于
      Using 'device_add' instead of 'cpu-add' is the new way for
      hot-plugging CPUs, so we should test this regularly, too.
      Reviewed-by: NDavid Hildenbrand <david@redhat.com>
      Reviewed-by: NDaniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
      Tested-by: NDaniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      80b8c0be
    • T
      tests: Rename pc-cpu-test.c to cpu-plug-test.c · 152e0393
      Thomas Huth 提交于
      The test will be extended to work on other architectures, too, so let's
      use a more generic name for the file and the functions in here first.
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: NDavid Hildenbrand <david@redhat.com>
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      152e0393
  4. 21 1月, 2018 1 次提交
  5. 20 1月, 2018 17 次提交
  6. 19 1月, 2018 6 次提交