mbox series

[PULL,00/32] Miscellaneous patches for 2020-04-29

Message ID 20200429072048.29963-1-armbru@redhat.com
Headers show
Series Miscellaneous patches for 2020-04-29 | expand

Message

Markus Armbruster April 29, 2020, 7:20 a.m. UTC
The following changes since commit fdd76fecdde1ad444ff4deb7f1c4f7e4a1ef97d6:

  Update version for v5.0.0 release (2020-04-28 17:46:57 +0100)

are available in the Git repository at:

  git://repo.or.cz/qemu/armbru.git tags/pull-misc-2020-04-29

for you to fetch changes up to 8ef3a4be27efccd791d05e74b7b17d918f511a76:

  qemu-option: pass NULL rather than 0 to the id of qemu_opts_set() (2020-04-29 08:01:52 +0200)

----------------------------------------------------------------
Miscellaneous patches for 2020-04-29

* Fix CLI option parsing corner cases
* Fix bugs on (unlikely) error paths
* Fix undefined behavior for silly option arguments
* Tidy up bamboo and sam460ex reporting of funny memory sizes
* Clean up error API violations
* A bit of refactoring here and there

----------------------------------------------------------------
Markus Armbruster (30):
      tests-qemu-opts: Cover has_help_option(), qemu_opt_has_help_opt()
      qemu-options: Factor out get_opt_name_value() helper
      qemu-option: Fix sloppy recognition of "id=..." after ",,"
      qemu-option: Fix has_help_option()'s sloppy parsing
      test-qemu-opts: Simplify test_has_help_option() after bug fix
      qemu-option: Avoid has_help_option() in qemu_opts_parse_noisily()
      qemu-img: Factor out accumulate_options() helper
      qemu-img: Move is_valid_option_list() to qemu-img.c and rewrite
      qemu-img: Reject broken -o ""
      cryptodev: Fix cryptodev_builtin_cleanup() error API violation
      block/file-posix: Fix check_cache_dropped() error handling
      cpus: Fix configure_icount() error API violation
      cpus: Proper range-checking for -icount shift=N
      arm/virt: Fix virt_machine_device_plug_cb() error API violation
      fdc: Fix fallback=auto error handling
      bochs-display: Fix vgamem=SIZE error handling
      virtio-net: Fix duplex=... and speed=... error handling
      xen/pt: Fix flawed conversion to realize()
      io: Fix qio_channel_socket_close() error handling
      migration/colo: Fix qmp_xen_colo_do_checkpoint() error handling
      tests/test-logging: Fix test for -dfilter 0..0xffffffffffffffff
      qga: Fix qmp_guest_get_memory_blocks() error handling
      qga: Fix qmp_guest_suspend_{disk, ram}() error handling
      sam460ex: Suppress useless warning on -m 32 and -m 64
      smbus: Fix spd_data_generate() error API violation
      bamboo, sam460ex: Tidy up error message for unsupported RAM size
      smbus: Fix spd_data_generate() for number of banks > 2
      Makefile: Drop unused, broken target recurse-fuzz
      fuzz: Simplify how we compute available machines and types
      libqos: Give get_machine_allocator() internal linkage

Masahiro Yamada (1):
      qemu-option: pass NULL rather than 0 to the id of qemu_opts_set()

Philippe Mathieu-Daudé (1):
      various: Remove suspicious '\' character outside of #define in C code

 Makefile                          |   1 -
 include/hw/i2c/smbus_eeprom.h     |   2 +-
 include/qemu/option.h             |   1 -
 tests/qtest/libqos/qos_external.h |  10 +-
 backends/cryptodev-builtin.c      |  10 +-
 block/file-posix.c                |   5 +-
 block/replication.c               |   4 +-
 block/vhdx.c                      |   8 +-
 cpus.c                            |  52 ++++++----
 dump/dump.c                       |   2 +-
 hw/arm/virt.c                     |   4 +-
 hw/block/fdc.c                    |   1 +
 hw/display/bochs-display.c        |   6 +-
 hw/i2c/smbus_eeprom.c             |  32 +-----
 hw/mips/mips_fulong2e.c           |  10 +-
 hw/net/virtio-net.c               |   7 +-
 hw/ppc/ppc4xx_devs.c              |   8 +-
 hw/ppc/sam460ex.c                 |  13 +--
 hw/riscv/sifive_u.c               |   2 +-
 hw/scsi/scsi-disk.c               |   2 +-
 hw/sd/sdhci.c                     |   2 +-
 hw/xen/xen_pt.c                   |  12 +--
 io/channel-socket.c               |   5 +-
 migration/colo.c                  |   8 +-
 qemu-img.c                        |  87 +++++++++-------
 qga/commands-posix.c              |   3 +
 qga/commands-win32.c              |  14 +++
 softmmu/vl.c                      |  10 +-
 target/i386/cpu.c                 |  18 ++--
 target/microblaze/cpu.c           |  14 +--
 target/ppc/translate_init.inc.c   |   4 +-
 tests/qtest/fuzz/qos_fuzz.c       |  34 ++----
 tests/qtest/libqos/qos_external.c |  72 +++++--------
 tests/qtest/qos-test.c            |  29 ++++--
 tests/test-logging.c              |   4 +-
 tests/test-qemu-opts.c            |  46 ++++++++-
 util/qemu-option.c                | 210 +++++++++++++++++++-------------------
 37 files changed, 391 insertions(+), 361 deletions(-)