qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 89aa16: stubs: add isa_create_simple


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 89aa16: stubs: add isa_create_simple
Date: Wed, 08 Jul 2020 13:45:27 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 89aa165e1d66afbfe61056e24fc9fab7452418d7
      
https://github.com/qemu/qemu/commit/89aa165e1d66afbfe61056e24fc9fab7452418d7
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M stubs/Makefile.objs
    A stubs/isa-bus.c

  Log Message:
  -----------
  stubs: add isa_create_simple

Needed for -soundhw cleanup.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200702132525.6849-2-kraxel@redhat.com


  Commit: 3af87d91692e12d8abe85a3e8ada5d652c932490
      
https://github.com/qemu/qemu/commit/3af87d91692e12d8abe85a3e8ada5d652c932490
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M stubs/Makefile.objs
    A stubs/pci-bus.c

  Log Message:
  -----------
  stubs: add pci_create_simple

Needed for -soundhw cleanup.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200702132525.6849-3-kraxel@redhat.com


  Commit: 542e0c557b2cbf6ae5f3be694638d17042388a01
      
https://github.com/qemu/qemu/commit/542e0c557b2cbf6ae5f3be694638d17042388a01
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M hw/audio/soundhw.c
    M include/hw/audio/soundhw.h

  Log Message:
  -----------
  audio: add deprecated_register_soundhw

Add helper function for -soundhw deprecation.  It can replace the
simple init functions which just call {isa,pci}_create_simple()
with a hardcoded type.  It also prints a deprecation message.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-4-kraxel@redhat.com


  Commit: 2957f5ada7514f72032a419d8e3ba380786fca04
      
https://github.com/qemu/qemu/commit/2957f5ada7514f72032a419d8e3ba380786fca04
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M hw/audio/ac97.c
    M qdev-monitor.c

  Log Message:
  -----------
  audio: deprecate -soundhw ac97

Switch to deprecated_register_soundhw().  Remove the now obsolete init
function.  Add an alias so both ac97 and AC97 are working with -device.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-5-kraxel@redhat.com


  Commit: 0e933febfeba7e4fffd6319e42388ba132520461
      
https://github.com/qemu/qemu/commit/0e933febfeba7e4fffd6319e42388ba132520461
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M hw/audio/es1370.c
    M qdev-monitor.c

  Log Message:
  -----------
  audio: deprecate -soundhw es1370

Switch to deprecated_register_soundhw().  Remove the now obsolete init
function.  Add an alias so both es1370 and ES1370 are working with
-device.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-6-kraxel@redhat.com


  Commit: 86388a3bfc30e49e439eb700ac6a2d189c110de7
      
https://github.com/qemu/qemu/commit/86388a3bfc30e49e439eb700ac6a2d189c110de7
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M hw/audio/adlib.c

  Log Message:
  -----------
  audio: deprecate -soundhw adlib

Switch to deprecated_register_soundhw().
Remove the now obsolete init function.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-7-kraxel@redhat.com


  Commit: 6497a63679dd8e0433acd0325257e49c6525c2a1
      
https://github.com/qemu/qemu/commit/6497a63679dd8e0433acd0325257e49c6525c2a1
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M hw/audio/cs4231a.c

  Log Message:
  -----------
  audio: deprecate -soundhw cs4231a

Switch to deprecated_register_soundhw().
Remove the now obsolete init function.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-8-kraxel@redhat.com


  Commit: ba541176f4385749d56574cda55fb86053a9d0b6
      
https://github.com/qemu/qemu/commit/ba541176f4385749d56574cda55fb86053a9d0b6
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M hw/audio/gus.c

  Log Message:
  -----------
  audio: deprecate -soundhw gus

Switch to deprecated_register_soundhw().
Remove the now obsolete init function.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-9-kraxel@redhat.com


  Commit: 4b96159ecca1c48a1f4cbbc940b59cd05b473400
      
https://github.com/qemu/qemu/commit/4b96159ecca1c48a1f4cbbc940b59cd05b473400
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M hw/audio/sb16.c

  Log Message:
  -----------
  audio: deprecate -soundhw sb16

Switch to deprecated_register_soundhw().
Remove the now obsolete init function.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-10-kraxel@redhat.com


  Commit: fcb541c14e2791829c0cbca3c6678bddaf121226
      
https://github.com/qemu/qemu/commit/fcb541c14e2791829c0cbca3c6678bddaf121226
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M hw/audio/intel-hda.c

  Log Message:
  -----------
  audio: deprecate -soundhw hda

Add deprecation message to the audio init function.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-11-kraxel@redhat.com


  Commit: 10e2483b5f4f288be394e49661fc60f334dd9930
      
https://github.com/qemu/qemu/commit/10e2483b5f4f288be394e49661fc60f334dd9930
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M include/hw/i386/pc.h

  Log Message:
  -----------
  pc_basic_device_init: pass PCMachineState

Need access to pcms for pcspk initialization.
Just preparation, no functional change.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-12-kraxel@redhat.com


  Commit: c52e7bbbaf77ed240b3f5fb7aab5615cf3db98dc
      
https://github.com/qemu/qemu/commit/c52e7bbbaf77ed240b3f5fb7aab5615cf3db98dc
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M include/hw/i386/pc.h

  Log Message:
  -----------
  pc_basic_device_init: drop has_pit arg

Now that we pass pcms anyway, we don't need the has_pit arg any more.
No functional change.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-13-kraxel@redhat.com


  Commit: 8859f0727927d830174dd7a94d871b9fe348452b
      
https://github.com/qemu/qemu/commit/8859f0727927d830174dd7a94d871b9fe348452b
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M include/hw/i386/pc.h

  Log Message:
  -----------
  pc_basic_device_init: drop no_vmport arg

Now that we pass pcms anyway, we don't need the no_vmport arg any more.
No functional change.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-14-kraxel@redhat.com


  Commit: dea1fb887c37f163891fb18313403a07752948d8
      
https://github.com/qemu/qemu/commit/dea1fb887c37f163891fb18313403a07752948d8
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M softmmu/vl.c

  Log Message:
  -----------
  softmmu: initialize spice and audio earlier

audiodev must be initialized before machine_set_property
so the machine can have audiodev property aliases.

spice must initialize before audiodev because the default
audiodev is spice only in case spice is actually enabled.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-15-kraxel@redhat.com


  Commit: 525d654d7a113e24e5c4efc21e6f2f8c952d21d9
      
https://github.com/qemu/qemu/commit/525d654d7a113e24e5c4efc21e6f2f8c952d21d9
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M hw/i386/pc.c
    M hw/isa/i82378.c
    M hw/mips/jazz.c
    M include/hw/audio/pcspk.h

  Log Message:
  -----------
  audio: rework pcspk_init()

Instead of creating and returning the pc speaker accept it as argument.
That allows to rework the initialization workflow in followup patches.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-16-kraxel@redhat.com


  Commit: 6b8d1416482feb84f5c1d33a4e2acf7367a8f11f
      
https://github.com/qemu/qemu/commit/6b8d1416482feb84f5c1d33a4e2acf7367a8f11f
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M hw/i386/pc.c
    M include/hw/i386/pc.h

  Log Message:
  -----------
  audio: create pcspk device early

Create the pcspk device early, so it exists at
machine type initialization time.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-17-kraxel@redhat.com


  Commit: 2e16ec054199d0879572f850e3beb79045985342
      
https://github.com/qemu/qemu/commit/2e16ec054199d0879572f850e3beb79045985342
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M hw/audio/pcspk.c
    M hw/i386/pc.c

  Log Message:
  -----------
  audio: deprecate -soundhw pcspk

Add deprecation message to the audio init function.

Factor out audio initialization and call that from
both audio init and realize, so setting the audiodev
property is enough to properly initialize pcspk.

Add a property alias to the machine type to set the
audio device, so pcspk can be initialized using:
"-machine pcspk-audiodev=<name>"

Using "-global isa-pcspk.audiodev=<name>" works too but
is not recommended.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-18-kraxel@redhat.com


  Commit: 825ff02911c9c90d5e635e9f588de2b3e27a0774
      
https://github.com/qemu/qemu/commit/825ff02911c9c90d5e635e9f588de2b3e27a0774
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M docs/system/deprecated.rst

  Log Message:
  -----------
  audio: add soundhw deprecation notice

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-19-kraxel@redhat.com


  Commit: 59e75839057ec6e13538ef8b89aadfd9f237dc12
      
https://github.com/qemu/qemu/commit/59e75839057ec6e13538ef8b89aadfd9f237dc12
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M docs/system/target-i386-desc.rst.inc

  Log Message:
  -----------
  pcspk: update docs/system/target-i386-desc.rst.inc

Add PC speaker with config hints.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-20-kraxel@redhat.com


  Commit: 2336172d9b396b4fa4483712f5560a563c25352f
      
https://github.com/qemu/qemu/commit/2336172d9b396b4fa4483712f5560a563c25352f
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M hw/audio/pcspk.c
    M include/hw/audio/pcspk.h

  Log Message:
  -----------
  audio: set default value for pcspk.iobase property

Allows dropping the explicit qdev_prop_set_uint32 call in pcspk_init.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200702132525.6849-21-kraxel@redhat.com


  Commit: 8796c64ecdfd34be394ea277aaaaa53df0c76996
      
https://github.com/qemu/qemu/commit/8796c64ecdfd34be394ea277aaaaa53df0c76996
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M docs/system/deprecated.rst
    M docs/system/target-i386-desc.rst.inc
    M hw/audio/ac97.c
    M hw/audio/adlib.c
    M hw/audio/cs4231a.c
    M hw/audio/es1370.c
    M hw/audio/gus.c
    M hw/audio/intel-hda.c
    M hw/audio/pcspk.c
    M hw/audio/sb16.c
    M hw/audio/soundhw.c
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/isa/i82378.c
    M hw/mips/jazz.c
    M include/hw/audio/pcspk.h
    M include/hw/audio/soundhw.h
    M include/hw/i386/pc.h
    M qdev-monitor.c
    M softmmu/vl.c
    M stubs/Makefile.objs
    A stubs/isa-bus.c
    A stubs/pci-bus.c

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/kraxel/tags/audio-20200706-pull-request' into staging

audio: deprecate -soundhw

# gpg: Signature made Mon 06 Jul 2020 20:29:07 BST
# gpg:                using RSA key 4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
# gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
# gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* remotes/kraxel/tags/audio-20200706-pull-request:
  audio: set default value for pcspk.iobase property
  pcspk: update docs/system/target-i386-desc.rst.inc
  audio: add soundhw deprecation notice
  audio: deprecate -soundhw pcspk
  audio: create pcspk device early
  audio: rework pcspk_init()
  softmmu: initialize spice and audio earlier
  pc_basic_device_init: drop no_vmport arg
  pc_basic_device_init: drop has_pit arg
  pc_basic_device_init: pass PCMachineState
  audio: deprecate -soundhw hda
  audio: deprecate -soundhw sb16
  audio: deprecate -soundhw gus
  audio: deprecate -soundhw cs4231a
  audio: deprecate -soundhw adlib
  audio: deprecate -soundhw es1370
  audio: deprecate -soundhw ac97
  audio: add deprecated_register_soundhw
  stubs: add pci_create_simple
  stubs: add isa_create_simple

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/cd9557616fe3...8796c64ecdfd



reply via email to

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