qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 152e03: tests: Rename pc-cpu-test.c to cpu-pl


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 152e03: tests: Rename pc-cpu-test.c to cpu-plug-test.c
Date: Tue, 23 Jan 2018 04:11:56 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 152e039359f4c0b3c7802444c2dd580ebc9aa10c
      
https://github.com/qemu/qemu/commit/152e039359f4c0b3c7802444c2dd580ebc9aa10c
  Author: Thomas Huth <address@hidden>
  Date:   2018-01-22 (Mon, 22 Jan 2018)

  Changed paths:
    M tests/Makefile.include
    A tests/cpu-plug-test.c
    R tests/pc-cpu-test.c

  Log Message:
  -----------
  tests: Rename pc-cpu-test.c to cpu-plug-test.c

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: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>


  Commit: 80b8c0be748d2cf8a90955e409956cee1c932a38
      
https://github.com/qemu/qemu/commit/80b8c0be748d2cf8a90955e409956cee1c932a38
  Author: Thomas Huth <address@hidden>
  Date:   2018-01-22 (Mon, 22 Jan 2018)

  Changed paths:
    M tests/cpu-plug-test.c

  Log Message:
  -----------
  tests/cpu-plug-test: Check the CPU hot-plugging with device_add, too

Using 'device_add' instead of 'cpu-add' is the new way for
hot-plugging CPUs, so we should test this regularly, too.

Reviewed-by: David Hildenbrand <address@hidden>
Reviewed-by: Daniel Henrique Barboza <address@hidden>
Tested-by: Daniel Henrique Barboza <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>


  Commit: 73a7d31e53e2b34f83b5e138189b9bab1333f3b9
      
https://github.com/qemu/qemu/commit/73a7d31e53e2b34f83b5e138189b9bab1333f3b9
  Author: Thomas Huth <address@hidden>
  Date:   2018-01-22 (Mon, 22 Jan 2018)

  Changed paths:
    M tests/Makefile.include
    M tests/cpu-plug-test.c

  Log Message:
  -----------
  tests/cpu-plug-test: Check CPU hot-plugging on ppc64, too

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: Daniel Barboza <address@hidden>
Tested-by: Daniel Barboza <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>


  Commit: 7d8b00fa5680152913405d045e861bb918f16017
      
https://github.com/qemu/qemu/commit/7d8b00fa5680152913405d045e861bb918f16017
  Author: Thomas Huth <address@hidden>
  Date:   2018-01-22 (Mon, 22 Jan 2018)

  Changed paths:
    M tests/Makefile.include
    M tests/cpu-plug-test.c

  Log Message:
  -----------
  tests/cpu-plug-test: Test CPU hot-plugging on s390x

CPU hot-plugging on s390x is possible with both, "cpu-add"
and "device_add", so test both.

Reviewed-by: David Hildenbrand <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>


  Commit: a89f364ae8740dfc31b321eed9ee454e996dc3c1
      
https://github.com/qemu/qemu/commit/a89f364ae8740dfc31b321eed9ee454e996dc3c1
  Author: Alistair Francis <address@hidden>
  Date:   2018-01-22 (Mon, 22 Jan 2018)

  Changed paths:
    M hw/arm/nseries.c
    M hw/arm/omap1.c
    M hw/arm/omap2.c
    M hw/arm/palm.c
    M hw/arm/pxa2xx.c
    M hw/arm/pxa2xx_gpio.c
    M hw/arm/pxa2xx_pic.c
    M hw/arm/tosa.c
    M hw/audio/hda-codec.c
    M hw/audio/intel-hda.c
    M hw/audio/wm8750.c
    M hw/block/nand.c
    M hw/block/onenand.c
    M hw/bt/core.c
    M hw/bt/hci-csr.c
    M hw/bt/hci.c
    M hw/bt/hid.c
    M hw/bt/l2cap.c
    M hw/bt/sdp.c
    M hw/display/blizzard.c
    M hw/display/omap_dss.c
    M hw/display/pxa2xx_lcd.c
    M hw/display/qxl-render.c
    M hw/display/qxl.h
    M hw/display/tc6393xb.c
    M hw/display/xenfb.c
    M hw/dma/omap_dma.c
    M hw/dma/pxa2xx_dma.c
    M hw/gpio/max7310.c
    M hw/gpio/omap_gpio.c
    M hw/i2c/omap_i2c.c
    M hw/ide/ahci.c
    M hw/ide/microdrive.c
    M hw/input/lm832x.c
    M hw/input/pxa2xx_keypad.c
    M hw/input/tsc2005.c
    M hw/input/tsc210x.c
    M hw/intc/omap_intc.c
    M hw/isa/vt82c686.c
    M hw/mips/gt64xxx_pci.c
    M hw/misc/cbus.c
    M hw/misc/omap_clk.c
    M hw/misc/omap_gpmc.c
    M hw/misc/omap_l4.c
    M hw/misc/omap_sdrc.c
    M hw/misc/omap_tap.c
    M hw/misc/tmp105.c
    M hw/pci-host/bonito.c
    M hw/ssi/omap_spi.c
    M hw/timer/omap_gptimer.c
    M hw/timer/twl92230.c
    M hw/usb/desc.c
    M hw/usb/dev-bluetooth.c
    M hw/usb/hcd-musb.c
    M hw/usb/tusb6010.c
    M hw/xenpv/xen_domainbuild.c
    M hw/xenpv/xen_machine_pv.c
    M include/hw/arm/omap.h
    M include/hw/arm/sharpsl.h
    M memory_mapping.c
    M migration/block.c
    M ui/cursor.c
    M ui/spice-display.c

  Log Message:
  -----------
  Replace all occurances of __FUNCTION__ with __func__

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: Alistair Francis <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Anthony PERARD <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
[THH: Removed hunks related to pxa2xx_mmci.c (fixed already)]
Signed-off-by: Thomas Huth <address@hidden>


  Commit: c94a60cbfac7a51cfad8ac2d77feda2eeb9da319
      
https://github.com/qemu/qemu/commit/c94a60cbfac7a51cfad8ac2d77feda2eeb9da319
  Author: Alistair Francis <address@hidden>
  Date:   2018-01-22 (Mon, 22 Jan 2018)

  Changed paths:
    M hw/arm/omap1.c
    M hw/block/onenand.c

  Log Message:
  -----------
  Fixes after renaming __FUNCTION__ to __func__

Signed-off-by: Alistair Francis <address@hidden>
Cc: Eric Blake <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>


  Commit: bf937a7965c1d1a6dce4f615d0ead2e2ab505004
      
https://github.com/qemu/qemu/commit/bf937a7965c1d1a6dce4f615d0ead2e2ab505004
  Author: Alistair Francis <address@hidden>
  Date:   2018-01-22 (Mon, 22 Jan 2018)

  Changed paths:
    M hw/bt/core.c
    M hw/bt/hci-csr.c
    M hw/bt/hci.c
    M hw/bt/hid.c
    M hw/bt/l2cap.c
    M hw/bt/sdp.c

  Log Message:
  -----------
  hw/bt: Replace fprintf(stderr, "*\n" with error_report()

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: Alistair Francis <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
[THH: Changed one missing fprintf into an error_report, too]
Signed-off-by: Thomas Huth <address@hidden>


  Commit: 4fee24700d2a1e8d221823fdebfa41fbd939f48e
      
https://github.com/qemu/qemu/commit/4fee24700d2a1e8d221823fdebfa41fbd939f48e
  Author: Alistair Francis <address@hidden>
  Date:   2018-01-22 (Mon, 22 Jan 2018)

  Changed paths:
    M hw/ipmi/ipmi_bmc_extern.c

  Log Message:
  -----------
  hw/ipmi: Replace fprintf(stderr, "*\n" with error_report()

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: Alistair Francis <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>


  Commit: 1081ed2c4b71b5fe8bd31f6de8cdaa630c8acfd3
      
https://github.com/qemu/qemu/commit/1081ed2c4b71b5fe8bd31f6de8cdaa630c8acfd3
  Author: Alistair Francis <address@hidden>
  Date:   2018-01-22 (Mon, 22 Jan 2018)

  Changed paths:
    M hw/isa/isa-bus.c

  Log Message:
  -----------
  hw/isa: Replace fprintf(stderr, "*\n" with error_report()

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: Alistair Francis <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>


  Commit: 52483b067cce4a88ffbf8fbeea26de7549d2ad23
      
https://github.com/qemu/qemu/commit/52483b067cce4a88ffbf8fbeea26de7549d2ad23
  Author: Peter Maydell <address@hidden>
  Date:   2018-01-23 (Tue, 23 Jan 2018)

  Changed paths:
    M hw/arm/nseries.c
    M hw/arm/omap1.c
    M hw/arm/omap2.c
    M hw/arm/palm.c
    M hw/arm/pxa2xx.c
    M hw/arm/pxa2xx_gpio.c
    M hw/arm/pxa2xx_pic.c
    M hw/arm/tosa.c
    M hw/audio/hda-codec.c
    M hw/audio/intel-hda.c
    M hw/audio/wm8750.c
    M hw/block/nand.c
    M hw/block/onenand.c
    M hw/bt/core.c
    M hw/bt/hci-csr.c
    M hw/bt/hci.c
    M hw/bt/hid.c
    M hw/bt/l2cap.c
    M hw/bt/sdp.c
    M hw/display/blizzard.c
    M hw/display/omap_dss.c
    M hw/display/pxa2xx_lcd.c
    M hw/display/qxl-render.c
    M hw/display/qxl.h
    M hw/display/tc6393xb.c
    M hw/display/xenfb.c
    M hw/dma/omap_dma.c
    M hw/dma/pxa2xx_dma.c
    M hw/gpio/max7310.c
    M hw/gpio/omap_gpio.c
    M hw/i2c/omap_i2c.c
    M hw/ide/ahci.c
    M hw/ide/microdrive.c
    M hw/input/lm832x.c
    M hw/input/pxa2xx_keypad.c
    M hw/input/tsc2005.c
    M hw/input/tsc210x.c
    M hw/intc/omap_intc.c
    M hw/ipmi/ipmi_bmc_extern.c
    M hw/isa/isa-bus.c
    M hw/isa/vt82c686.c
    M hw/mips/gt64xxx_pci.c
    M hw/misc/cbus.c
    M hw/misc/omap_clk.c
    M hw/misc/omap_gpmc.c
    M hw/misc/omap_l4.c
    M hw/misc/omap_sdrc.c
    M hw/misc/omap_tap.c
    M hw/misc/tmp105.c
    M hw/pci-host/bonito.c
    M hw/ssi/omap_spi.c
    M hw/timer/omap_gptimer.c
    M hw/timer/twl92230.c
    M hw/usb/desc.c
    M hw/usb/dev-bluetooth.c
    M hw/usb/hcd-musb.c
    M hw/usb/tusb6010.c
    M hw/xenpv/xen_domainbuild.c
    M hw/xenpv/xen_machine_pv.c
    M include/hw/arm/omap.h
    M include/hw/arm/sharpsl.h
    M memory_mapping.c
    M migration/block.c
    M tests/Makefile.include
    A tests/cpu-plug-test.c
    R tests/pc-cpu-test.c
    M ui/cursor.c
    M ui/spice-display.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/huth/tags/pull-request-2018-01-22' into 
staging

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 <address@hidden>"
# gpg:                 aka "Thomas Huth <address@hidden>"
# gpg:                 aka "Thomas Huth <address@hidden>"
# gpg:                 aka "Thomas Huth <address@hidden>"
# 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: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/ee86981bda9e...52483b067cce

reply via email to

[Prev in Thread] Current Thread [Next in Thread]