qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 164daf: remove preconfig state


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 164daf: remove preconfig state
Date: Wed, 16 Dec 2020 03:11:00 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 164dafd1744c69d268b89015977e19d8a9617fdf
      
https://github.com/qemu/qemu/commit/164dafd1744c69d268b89015977e19d8a9617fdf
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M hw/core/machine-qmp-cmds.c
    M include/qapi/qmp/dispatch.h
    M monitor/hmp.c
    M monitor/qmp-cmds.c
    M qapi/qmp-dispatch.c
    M qapi/run-state.json
    M softmmu/qdev-monitor.c
    M softmmu/vl.c
    M stubs/meson.build
    A stubs/qmp-command-available.c
    M tests/qtest/qmp-test.c

  Log Message:
  -----------
  remove preconfig state

The preconfig state is only used if -incoming is not specified, which
makes the RunState state machine more tricky than it need be.  However
there is already an equivalent condition which works even with -incoming,
namely qdev_hotplug.  Use it instead of a separate runstate.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: b4e1a342112e50e05b609e857f38c1f2b7aafdc4
      
https://github.com/qemu/qemu/commit/b4e1a342112e50e05b609e857f38c1f2b7aafdc4
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M include/sysemu/runstate.h
    M monitor/qmp-cmds.c
    M softmmu/vl.c

  Log Message:
  -----------
  vl: remove separate preconfig main_loop

Move post-preconfig initialization to the x-exit-preconfig.  If preconfig
is not requested, just exit preconfig mode immediately with the QMP
command.

As a result, the preconfig loop will run with accel_setup_post
and os_setup_post restrictions (xen_restrict, chroot, etc.)
already done.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 8fafaa04c30d4d67d3d13fc4027cb57da5a2f162
      
https://github.com/qemu/qemu/commit/8fafaa04c30d4d67d3d13fc4027cb57da5a2f162
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M softmmu/vl.c

  Log Message:
  -----------
  vl: allow -incoming defer with -preconfig

Now that there is no RUN_STATE_PRECONFIG anymore that can conflict with
RUN_STATE_INMIGRATE, we can allow -incoming defer with -preconfig.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: ba87e43481f2c9a7780f21aa22682573169f041d
      
https://github.com/qemu/qemu/commit/ba87e43481f2c9a7780f21aa22682573169f041d
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M include/sysemu/sysemu.h
    M softmmu/meson.build
    A softmmu/runstate.c
    M softmmu/vl.c

  Log Message:
  -----------
  vl: extract softmmu/runstate.c

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: c5e3c9182d0cc312196aa5e1de305e9ab5a7cda3
      
https://github.com/qemu/qemu/commit/c5e3c9182d0cc312196aa5e1de305e9ab5a7cda3
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M hw/core/machine.c
    M include/exec/cpu-common.h
    M include/exec/exec-all.h
    A softmmu/globals.c
    M softmmu/meson.build
    M softmmu/vl.c

  Log Message:
  -----------
  vl: extract softmmu/globals.c

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: f66dc8737c94a0ab57a252a280e5e83d6d630c67
      
https://github.com/qemu/qemu/commit/f66dc8737c94a0ab57a252a280e5e83d6d630c67
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M hw/core/machine.c
    M hw/core/qdev.c
    M include/hw/qdev-core.h
    M softmmu/vl.c

  Log Message:
  -----------
  vl: move all generic initialization out of vl.c

qdev_machine_creation_done is only setting a flag now.  Extend it to
move more code out of vl.c.  Leave only consistency checks and gdbserver
processing in qemu_machine_creation_done.

gdbserver_start can be moved after qdev_machine_creation_done because
it only does listen on the socket and creates some internal data
structures; it does not send any data (e.g. guest state) over the socket.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 5a1ee6077b89ee9a803aaf8d1c98004701f63684
      
https://github.com/qemu/qemu/commit/5a1ee6077b89ee9a803aaf8d1c98004701f63684
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M chardev/char-mux.c
    R chardev/chardev-sysemu.c
    M chardev/meson.build
    M hw/core/machine.c
    M include/chardev/char.h
    M include/sysemu/sysemu.h
    M softmmu/vl.c
    R stubs/machine-init-done.c
    M stubs/meson.build

  Log Message:
  -----------
  chardev: do not use machine_init_done

machine_init_done is not the right flag to check when preconfig
is taken into account; for example "./qemu-system-x86_64 -serial
mon:stdio -preconfig" does not print the QEMU monitor header until after
exit_preconfig.  Add back a custom bool for mux character devices.  This
partially undoes commit c7278b4355 ("chardev: introduce chr_machine_done
hook", 2018-03-12), but it keeps the cleaner logic using a function
pointer in ChardevClass.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 2f181fbd5a9d456d1da291bea61d7e3ad10ec7d1
      
https://github.com/qemu/qemu/commit/2f181fbd5a9d456d1da291bea61d7e3ad10ec7d1
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M hw/core/machine-qmp-cmds.c
    M hw/core/machine.c
    M hw/core/qdev.c
    M hw/pci/pci.c
    M hw/usb/core.c
    M hw/virtio/virtio-iommu.c
    M include/hw/qdev-core.h
    M monitor/hmp.c
    M softmmu/qdev-monitor.c
    M softmmu/vl.c
    M ui/console.c

  Log Message:
  -----------
  machine: introduce MachineInitPhase

Generalize the qdev_hotplug variable to the different phases of
machine initialization.  We would like to allow different
monitor commands depending on the phase.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 55810e90cc9a5ca18289c25aa5c1e0e2dc77eadb
      
https://github.com/qemu/qemu/commit/55810e90cc9a5ca18289c25aa5c1e0e2dc77eadb
  Author: Igor Mammedov <imammedo@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M hw/ppc/spapr.c
    M hw/ppc/spapr_nvdimm.c

  Log Message:
  -----------
  ppc/spapr: cleanup -machine pseries,nvdimm=X handling

Since NVDIMM support was introduced on pseries machine,
it ignored machine's nvdimm=on|off option and effectively
was always enabled on machines that support NVDIMM.
Later on commit
  (28f5a716212 ppc/spapr_nvdimm: do not enable support with 'nvdimm=off')
makes QEMU error out in case user explicitly set 'nvdimm=off'
on CLI by peeking at machine_opts.

However that's a workaround and leaves 'nvdimms_state->is_enabled'
in inconsistent state (false) when it should be set true
by default.

Instead of using on machine_opts, set default to true for pseries
machine in initfn time. If user sets manually 'nvdimm=off'
it will overwrite default value to false and QEMU will error
as expected without need to peek into machine_opts.

That way pseries will have, nvdimm enabled by default and
will honor user provided 'nvdimm=on|off'.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201208164606.4109134-1-imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: f2ce39b4f067fe8b8de6104a2d8ac558d35c330b
      
https://github.com/qemu/qemu/commit/f2ce39b4f067fe8b8de6104a2d8ac558d35c330b
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M accel/kvm/kvm-all.c
    M hw/arm/boot.c
    M hw/microblaze/boot.c
    M hw/nios2/boot.c
    M hw/ppc/e500.c
    M hw/ppc/virtex_ml507.c
    M hw/riscv/sifive_u.c
    M hw/riscv/virt.c
    M hw/xtensa/xtfpga.c
    M include/sysemu/sysemu.h
    M softmmu/device_tree.c
    M softmmu/vl.c

  Log Message:
  -----------
  vl: make qemu_get_machine_opts static

Machine options can be retrieved as properties of the machine object.
Encourage that by removing the "easy" accessor to machine options.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 0572f558cbc45acdd13ae3548c06ce650641f292
      
https://github.com/qemu/qemu/commit/0572f558cbc45acdd13ae3548c06ce650641f292
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M include/qemu/plugin.h
    M linux-user/main.c
    M plugins/loader.c
    M softmmu/vl.c

  Log Message:
  -----------
  plugin: propagate errors

qemu_finish_machine_init currently can only exit QEMU if it fails.
Prepare for giving it proper error propagation, and possibly for
adding a plugin_add monitor command that calls an accelerator
method.

While at it, make all errors from plugin_load look the same.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 0a2949e0be1d7320e4714b26ef60ac4d874dd64f
      
https://github.com/qemu/qemu/commit/0a2949e0be1d7320e4714b26ef60ac4d874dd64f
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M softmmu/memory.c
    M softmmu/vl.c

  Log Message:
  -----------
  memory: allow creating MemoryRegions before accelerators

Compute the DIRTY_MEMORY_CODE bit in memory_region_get_dirty_log_mask
instead of memory_region_init_*.  This makes it possible to allocate
memory backend objects at any time.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: ebe3444468a4913e0208db1f74ea9336c7580202
      
https://github.com/qemu/qemu/commit/ebe3444468a4913e0208db1f74ea9336c7580202
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M hmp-commands.hx
    M qapi/control.json

  Log Message:
  -----------
  monitor: allow quitting while in preconfig state

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: e6dba0481363ad343c5f984dd4de3dd06d79ee68
      
https://github.com/qemu/qemu/commit/e6dba0481363ad343c5f984dd4de3dd06d79ee68
  Author: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M MAINTAINERS
    A include/sysemu/runstate-action.h
    M include/sysemu/sysemu.h
    M monitor/qmp-cmds.c
    M qapi/run-state.json
    M softmmu/globals.c
    M softmmu/meson.build
    A softmmu/runstate-action.c
    M softmmu/runstate.c
    M softmmu/vl.c
    M ui/sdl2.c

  Log Message:
  -----------
  qmp: generalize watchdog-set-action to -no-reboot/-no-shutdown

Add a QMP command to allow for the behaviors specified by the
-no-reboot and -no-shutdown command line option to be set at runtime.
The new command is named set-action and takes optional arguments, named
after an event, that provide a corresponding action to take.

Example:

-> { "execute": "set-action",
     "arguments": {
        "reboot": "none",
        "shutdown": "poweroff",
        "watchdog": "debug" } }
<- { "return": {} }

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Message-Id: <1607705564-26264-4-git-send-email-alejandro.j.jimenez@oracle.com>
[Split the series differently, with -action based on the QMP command. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 2a5ad60b5406daca3658f2a6735318615ee6a116
      
https://github.com/qemu/qemu/commit/2a5ad60b5406daca3658f2a6735318615ee6a116
  Author: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M qemu-options.hx
    M softmmu/vl.c

  Log Message:
  -----------
  vl: Add an -action option specifying response to guest events

Several command line options currently in use are meant to modify
the behavior of QEMU in response to certain guest events like:
-no-reboot, -no-shutdown, -watchdog-action.

These can be grouped into a single option of the form:

-action event=action

Which can be used to specify the existing options above in the
following format:

-action reboot=none|shutdown
-action shutdown=poweroff|pause
-action watchdog=reset|shutdown|poweroff|pause|debug|none|inject-nmi

This is done in preparation for adding yet another option of this
type, which modifies the QEMU behavior when a guest panic occurs.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Message-Id: <1607705564-26264-2-git-send-email-alejandro.j.jimenez@oracle.com>
[Use QemuOpts help support, invoke QMP command. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: c753e8e72548493d2a110c0482c4a987a733b033
      
https://github.com/qemu/qemu/commit/c753e8e72548493d2a110c0482c4a987a733b033
  Author: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M include/sysemu/runstate-action.h
    M qapi/run-state.json
    M qemu-options.hx
    M softmmu/runstate-action.c
    M softmmu/runstate.c
    M softmmu/vl.c

  Log Message:
  -----------
  vl: Add option to avoid stopping VM upon guest panic

The current default action of pausing a guest after a panic event
is received leaves the responsibility to resume guest execution to the
management layer. The reasons for this behavior are discussed here:
https://lore.kernel.org/qemu-devel/52148F88.5000509@redhat.com/

However, in instances like the case of older guests (Linux and
Windows) using a pvpanic device but missing support for the
PVPANIC_CRASHLOADED event, and Windows guests using the hv-crash
enlightenment, it is desirable to allow the guests to continue
running after sending a PVPANIC_PANICKED event. This allows such
guests to proceed to capture a crash dump and automatically reboot
without intervention of a management layer.

Add an option to avoid stopping a VM after a panic event is received,
by passing:

-action panic=none

in the command line arguments, or during runtime by using an upcoming
QMP command.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Message-Id: <1607705564-26264-3-git-send-email-alejandro.j.jimenez@oracle.com>
[Do not fix panic action in the variable, instead modify -no-shutdown. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: c9ca89a9079688b3832b0ad3d7baf6418320dc64
      
https://github.com/qemu/qemu/commit/c9ca89a9079688b3832b0ad3d7baf6418320dc64
  Author: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M tests/qtest/pvpanic-test.c

  Log Message:
  -----------
  qtest/pvpanic: Test panic option that allows VM to continue

Test the scenario where the -action panic=none parameter is used to
signal that the VM must continue executing after a guest panic
occurs.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Message-Id: <1607705564-26264-5-git-send-email-alejandro.j.jimenez@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 58cf0f86d4ab6b78d11850557c5335ecfd2d2696
      
https://github.com/qemu/qemu/commit/58cf0f86d4ab6b78d11850557c5335ecfd2d2696
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M hw/pci/msix.c

  Log Message:
  -----------
  msix: assert that accesses are within bounds

This makes the testcase from the next patch fail.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 4bfb024bc76973d40a359476dc0291f46e435442
      
https://github.com/qemu/qemu/commit/4bfb024bc76973d40a359476dc0291f46e435442
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M softmmu/physmem.c
    M tests/qtest/fuzz-test.c

  Log Message:
  -----------
  memory: clamp cached translation in case it points to an MMIO region

In using the address_space_translate_internal API, address_space_cache_init
forgot one piece of advice that can be found in the code for
address_space_translate_internal:

    /* MMIO registers can be expected to perform full-width accesses based only
     * on their address, without considering adjacent registers that could
     * decode to completely different MemoryRegions.  When such registers
     * exist (e.g. I/O ports 0xcf8 and 0xcf9 on most PC chipsets), MMIO
     * regions overlap wildly.  For this reason we cannot clamp the accesses
     * here.
     *
     * If the length is small (as is the case for address_space_ldl/stl),
     * everything works fine.  If the incoming length is large, however,
     * the caller really has to do the clamping through memory_access_size.
     */

address_space_cache_init is exactly one such case where "the incoming length
is large", therefore we need to clamp the resulting length---not to
memory_access_size though, since we are not doing an access yet, but to
the size of the resulting section.  This ensures that subsequent accesses
to the cached MemoryRegionSection will be in range.

With this patch, the enclosed testcase notices that the used ring does
not fit into the MSI-X table and prints a "qemu-system-x86_64: Cannot map used"
error.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: e76f68d3cc931a6db6dcc8a4aa240d08656bc3f8
      
https://github.com/qemu/qemu/commit/e76f68d3cc931a6db6dcc8a4aa240d08656bc3f8
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M accel/tcg/translate-all.c
    M docs/system/deprecated.rst
    M qemu-options.hx
    M softmmu/vl.c

  Log Message:
  -----------
  accel/tcg: Remove deprecated '-tb-size' option

The '-tb-size' option (replaced by '-accel tcg,tb-size') is
deprecated since 5.0 (commit fe174132478). Remove it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20201202112714.1223783-1-philmd@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20201210155808.233895-2-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 2c5060cd32bf8ec120de7579b39d14d773e5b4ea
      
https://github.com/qemu/qemu/commit/2c5060cd32bf8ec120de7579b39d14d773e5b4ea
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M docs/system/deprecated.rst
    M docs/system/index.rst
    A docs/system/removed-features.rst

  Log Message:
  -----------
  docs/system: Move the list of removed features to a separate file

Otherwise there is a chance that new deprecated features get added
to the list of removed features at the end of the file by accident.
It's way less confusing if the removed features reside in a separate
file.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20201210155808.233895-3-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: c8c9dc42b7ca84b6892b51e3daeb693a9efec7a4
      
https://github.com/qemu/qemu/commit/c8c9dc42b7ca84b6892b51e3daeb693a9efec7a4
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M docs/system/deprecated.rst
    M docs/system/removed-features.rst
    M qemu-options.hx
    M softmmu/vl.c
    M tests/migration/guestperf/engine.py

  Log Message:
  -----------
  Remove the deprecated -realtime option

It has been marked as deprecated since QEMU v4.2, replaced by
the -overcommit option. Time to remove it now.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20201210155808.233895-4-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 90d6a086bb220bcd8b2ba3c881ac53862caa4987
      
https://github.com/qemu/qemu/commit/90d6a086bb220bcd8b2ba3c881ac53862caa4987
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M docs/system/deprecated.rst
    M docs/system/removed-features.rst
    M qemu-options.hx
    M softmmu/vl.c

  Log Message:
  -----------
  Remove the deprecated -show-cursor option

It has been marked as deprecated since QEMU v5.0, replaced by the
corresponding parameter of the -display option.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20201210155808.233895-5-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 835cbd8d44b62217b8774b39e1bfd314750c2c51
      
https://github.com/qemu/qemu/commit/835cbd8d44b62217b8774b39e1bfd314750c2c51
  Author: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M accel/tcg/cpu-exec.c

  Log Message:
  -----------
  icount: improve exec nocache usage

cpu-exec tries to execute TB without caching when current
icount budget is over. But sometimes refilled budget is big
enough to try executing cached blocks.
This patch checks that instruction budget is big enough
for next block execution instead of just running cpu_exec_nocache.
It halves the number of calls of cpu_exec_nocache function
during tested OS boot scenario.

Signed-off-by: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
Message-Id: <160741865825.348476.7169239332367828943.stgit@pasha-ThinkPad-X280>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: cfd4e36352d4426221aa94da44a172da1aaa741b
      
https://github.com/qemu/qemu/commit/cfd4e36352d4426221aa94da44a172da1aaa741b
  Author: Maxim Levitsky <mlevitsk@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

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

  Log Message:
  -----------
  scsi: fix device removal race vs IO restart callback on resume

There is (mostly theoretical) race between removal of a scsi device and
scsi_dma_restart_bh.

It used to be easier to hit this race prior to my / Paulo's patch series
that added rcu to scsi bus device handling code, but IMHO this race
should still be possible to hit, at least in theory.

Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1854811

Fix it anyway with a patch that was proposed by Paulo in the above bugzilla.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20201210125929.1136390-2-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 4054adbdd2f66d78f73cdce0092eb5513b3b3521
      
https://github.com/qemu/qemu/commit/4054adbdd2f66d78f73cdce0092eb5513b3b3521
  Author: Zenghui Yu <yuzenghui@huawei.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M accel/kvm/kvm-all.c

  Log Message:
  -----------
  kvm: Take into account the unaligned section size when preparing bitmap

The kernel KVM_CLEAR_DIRTY_LOG interface has align requirement on both the
start and the size of the given range of pages. We have been careful to
handle the unaligned cases when performing CLEAR on one slot. But it seems
that we forget to take the unaligned *size* case into account when
preparing bitmap for the interface, and we may end up clearing dirty status
for pages outside of [start, start + size).

If the size is unaligned, let's go through the slow path to manipulate a
temp bitmap for the interface so that we won't bother with those unaligned
bits at the end of bitmap.

I don't think this can happen in practice since the upper layer would
provide us with the alignment guarantee. I'm not sure if kvm-all could rely
on it. And this patch is mainly intended to address correctness of the
specific algorithm used inside kvm_log_clear_one_slot().

Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Message-Id: <20201208114013.875-1-yuzenghui@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 924e9b0da90ca1fa0de7c5076768a8a9f3795f8d
      
https://github.com/qemu/qemu/commit/924e9b0da90ca1fa0de7c5076768a8a9f3795f8d
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M util/qemu-option.c

  Log Message:
  -----------
  qemu-option: simplify search for end of key

Use strcspn to find an equal or comma value, and pass the result directly
to get_opt_name to avoid another strchr.

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 45c53fe64c28239b7504d00d76fe37ef31c0eefa
      
https://github.com/qemu/qemu/commit/45c53fe64c28239b7504d00d76fe37ef31c0eefa
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M util/qemu-option.c

  Log Message:
  -----------
  qemu-option: pass QemuOptsList to opts_accepts_any

A QemuOptsList can be of one of two kinds: either it is pre-validated, or
it accepts any key and validation happens somewhere else (typically in
a Visitor or against a list of QOM properties).  opts_accepts_any
returns true if a QemuOpts instance was created from a QemuOptsList of
the latter kind, but there is no function to do the check on a QemuOptsList.

Since this property comes from the QemuOptsList and almost all callers of
opts_accepts_any use opts->list anyway, modify the function to accept
QemuOptsList.

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 7245ca7411d88e1b7c9205836c2852b20e3900a7
      
https://github.com/qemu/qemu/commit/7245ca7411d88e1b7c9205836c2852b20e3900a7
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M softmmu/vl.c

  Log Message:
  -----------
  vl: rename local variable in configure_accelerators

Silly patch extracted from the next one, which is already big enough.

Because there are already local variables named "accel", we will name
the global vl.c variable for "-M accel" accelerators instead.  Rename
it already in configure_accelerators to be ready.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: daf07a6714b111340fe2d0234d1a5287d6ebe0ec
      
https://github.com/qemu/qemu/commit/daf07a6714b111340fe2d0234d1a5287d6ebe0ec
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M docs/meson.build

  Log Message:
  -----------
  docs: set CONFDIR when running sphinx

The default configuration path /etc/qemu can be overriden with configure
options, and the generated documentation used to reflect it.

Fixes regression introduced in commit
f8aa24ea9a82da38370470c6bc0eaa393999edfe ("meson: sphinx-build").

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1902537
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20201201183704.299697-1-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 98199a654c5425d37293b63ae329d3256bfbcc00
      
https://github.com/qemu/qemu/commit/98199a654c5425d37293b63ae329d3256bfbcc00
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M hw/core/meson.build

  Log Message:
  -----------
  hw/core: Restrict 'fw-path-provider.c' to system mode emulation

fw-path-provider.c is only consumed by qdev-fw.c, which itself
is in softmmu_ss[], so we can restrict fw-path-provider.c to
softmmu too.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20201207220709.4017938-1-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 6a4757fe51a1c5ea31f33d8a83c03387302ac2d7
      
https://github.com/qemu/qemu/commit/6a4757fe51a1c5ea31f33d8a83c03387302ac2d7
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M include/qemu/atomic.h

  Log Message:
  -----------
  qemu/atomic: Drop special case for unsupported compiler

Since commit efc6c070aca ("configure: Add a test for the
minimum compiler version") the minimum compiler version
required for GCC is 4.8, which has the GCC BZ#36793 bug fixed.

We can safely remove the special case introduced in commit
a281ebc11a6 ("virtio: add missing mb() on notification").

With clang 3.4, __ATOMIC_RELAXED is defined, so the chunk to
remove (which is x86-specific), isn't reached either.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20201210134752.780923-2-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 19a84318c674c157f1b04c5c99595379f8ac8bb3
      
https://github.com/qemu/qemu/commit/19a84318c674c157f1b04c5c99595379f8ac8bb3
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M accel/tcg/cpu-exec.c

  Log Message:
  -----------
  accel/tcg: Remove special case for GCC < 4.6

Since commit efc6c070aca ("configure: Add a test for the
minimum compiler version") the minimum compiler version
required for GCC is 4.8.

We can safely remove the special case for GCC 4.6 introduced
in commit 0448f5f8b81 ("cpu-exec: Fix compiler warning
(-Werror=clobbered)").
No change for Clang as we don't know.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20201210134752.780923-3-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 44cb2c9fe5dd2aa8b44eb42f34ec786ba21a2731
      
https://github.com/qemu/qemu/commit/44cb2c9fe5dd2aa8b44eb42f34ec786ba21a2731
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M include/qemu/compiler.h

  Log Message:
  -----------
  compiler.h: remove GCC < 3 __builtin_expect fallback

Since commit efc6c07 ("configure: Add a test for the minimum compiler
version"), QEMU explicitely depends on GCC >= 4.8.

(clang >= 3.4 advertizes itself as GCC >= 4.2 compatible and supports
__builtin_expect too)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20201210134752.780923-4-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 53b5d954f21ba3e0472f6cd3fde4de0eba89b243
      
https://github.com/qemu/qemu/commit/53b5d954f21ba3e0472f6cd3fde4de0eba89b243
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M include/qemu/qemu-plugin.h

  Log Message:
  -----------
  qemu-plugin.h: remove GCC < 4

Since commit efc6c07 ("configure: Add a test for the minimum compiler
version"), QEMU explicitely depends on GCC >= 4.8.

(clang >= 3.4 advertizes itself as GCC >= 4.2 compatible)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20201210134752.780923-5-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 77d35c83d3bcabdc64e2e8a58d6ff0d546e65120
      
https://github.com/qemu/qemu/commit/77d35c83d3bcabdc64e2e8a58d6ff0d546e65120
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M tests/tcg/arm/fcvt.c

  Log Message:
  -----------
  tests: remove GCC < 4 fallbacks

Since commit efc6c07 ("configure: Add a test for the minimum compiler
version"), QEMU explicitely depends on GCC >= 4.8.

(clang >= 3.4 advertizes itself as GCC >= 4.2 compatible)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20201210134752.780923-6-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: db5deef996e78f02e2fec0c2453de8d0db749832
      
https://github.com/qemu/qemu/commit/db5deef996e78f02e2fec0c2453de8d0db749832
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M tools/virtiofsd/fuse_common.h

  Log Message:
  -----------
  virtiofsd: replace _Static_assert with QEMU_BUILD_BUG_ON

This allows to get rid of a check for older GCC version (which was a bit
bogus too since it was falling back on c++ version..)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20201210134752.780923-7-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 28f86163a4395fd67203f9482cbca508c216de74
      
https://github.com/qemu/qemu/commit/28f86163a4395fd67203f9482cbca508c216de74
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M include/qemu/compiler.h

  Log Message:
  -----------
  compiler.h: explicit case for Clang printf attribute

Since commit efc6c07 ("configure: Add a test for the minimum compiler
version"), QEMU explicitely depends on GCC >= 4.8, we could thus drop
earlier version checks. Except clang advertizes itself as GCC 4.2.1.

Since clang doesn't support gnu_printf, make that case explicitely and
drop GCC version check.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20201210134752.780923-8-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: b8f02d1616ac02acbf74171af4119897a2d7e31a
      
https://github.com/qemu/qemu/commit/b8f02d1616ac02acbf74171af4119897a2d7e31a
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M include/exec/poison.h

  Log Message:
  -----------
  poison: remove GNUC check

QEMU requires Clang or GCC, that define and support __GNUC__ extensions

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20201210134752.780923-10-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: d55e5bd15aa8c235ac96501e587c7d38d38ec0e2
      
https://github.com/qemu/qemu/commit/d55e5bd15aa8c235ac96501e587c7d38d38ec0e2
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M include/hw/xen/interface/io/ring.h

  Log Message:
  -----------
  xen: remove GNUC check

QEMU requires Clang or GCC, that define and support __GNUC__ extensions

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Message-Id: <20201210134752.780923-11-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 4e063f7b29468412bbb067496db36e6982cb6922
      
https://github.com/qemu/qemu/commit/4e063f7b29468412bbb067496db36e6982cb6922
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M include/qemu/compiler.h

  Log Message:
  -----------
  compiler: remove GNUC check

QEMU requires Clang or GCC, that define and support __GNUC__ extensions.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20201210134752.780923-12-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 36c5e0b8efb7a54b1cecca05de55a49ab91ac6dd
      
https://github.com/qemu/qemu/commit/36c5e0b8efb7a54b1cecca05de55a49ab91ac6dd
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M linux-user/strace.c

  Log Message:
  -----------
  linux-user: remove GNUC check

QEMU requires Clang or GCC, that define and support __GNUC__ extensions.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20201210134752.780923-13-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 07b35a23c3ccecde85e80fd9981abf2e15c1384b
      
https://github.com/qemu/qemu/commit/07b35a23c3ccecde85e80fd9981abf2e15c1384b
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M include/qemu/compiler.h
    M scripts/cocci-macro-file.h

  Log Message:
  -----------
  compiler.h: remove QEMU_GNUC_PREREQ

When needed, the G_GNUC_CHECK_VERSION() glib macro can be used instead.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20201210134752.780923-14-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: a1bcbb485c91c0869832b0bda62ff564ddfc52f3
      
https://github.com/qemu/qemu/commit/a1bcbb485c91c0869832b0bda62ff564ddfc52f3
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M scripts/git.orderfile

  Log Message:
  -----------
  scripts/git.orderfile: Keep files with .inc extension sorted

Sort .inc files along with the extension including them.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20201213205132.243628-1-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: bbd2d5a8120771ec59b86a80a1f51884e0a26e53
      
https://github.com/qemu/qemu/commit/bbd2d5a8120771ec59b86a80a1f51884e0a26e53
  Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M configure
    M pc-bios/optionrom/Makefile

  Log Message:
  -----------
  build: -no-pie is no functional linker flag

Recent binutils changes dropping unsupported options [1] caused a build
issue in regard to the optionroms.

  ld -m elf_i386 -T /<<PKGBUILDDIR>>/pc-bios/optionrom//flat.lds -no-pie \
    -s -o multiboot.img multiboot.o
  ld.bfd: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)

This isn't really a regression in ld.bfd, filing the bug upstream
revealed that this never worked as a ld flag [2] - in fact it seems we
were by accident setting --nmagic).

Since it never had the wanted effect this usage of LDFLAGS_NOPIE, should be
droppable without any effect. This also is the only use-case of LDFLAGS_NOPIE
in .mak, therefore we can also remove it from being added there.

[1]: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=983d925d
[2]: https://sourceware.org/bugzilla/show_bug.cgi?id=27050#c5

Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Message-Id: <20201214150938.1297512-1-christian.ehrhardt@canonical.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: af3f37319cb1e1ca0c42842ecdbd1bcfc64a4b6f
      
https://github.com/qemu/qemu/commit/af3f37319cb1e1ca0c42842ecdbd1bcfc64a4b6f
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M MAINTAINERS
    M accel/kvm/kvm-all.c
    M accel/tcg/cpu-exec.c
    M accel/tcg/translate-all.c
    M chardev/char-mux.c
    R chardev/chardev-sysemu.c
    M chardev/meson.build
    M configure
    M docs/meson.build
    M docs/system/deprecated.rst
    M docs/system/index.rst
    A docs/system/removed-features.rst
    M hmp-commands.hx
    M hw/arm/boot.c
    M hw/core/machine-qmp-cmds.c
    M hw/core/machine.c
    M hw/core/meson.build
    M hw/core/qdev.c
    M hw/microblaze/boot.c
    M hw/nios2/boot.c
    M hw/pci/msix.c
    M hw/pci/pci.c
    M hw/ppc/e500.c
    M hw/ppc/spapr.c
    M hw/ppc/spapr_nvdimm.c
    M hw/ppc/virtex_ml507.c
    M hw/riscv/sifive_u.c
    M hw/riscv/virt.c
    M hw/scsi/scsi-bus.c
    M hw/usb/core.c
    M hw/virtio/virtio-iommu.c
    M hw/xtensa/xtfpga.c
    M include/chardev/char.h
    M include/exec/cpu-common.h
    M include/exec/exec-all.h
    M include/exec/poison.h
    M include/hw/qdev-core.h
    M include/hw/xen/interface/io/ring.h
    M include/qapi/qmp/dispatch.h
    M include/qemu/atomic.h
    M include/qemu/compiler.h
    M include/qemu/plugin.h
    M include/qemu/qemu-plugin.h
    A include/sysemu/runstate-action.h
    M include/sysemu/runstate.h
    M include/sysemu/sysemu.h
    M linux-user/main.c
    M linux-user/strace.c
    M monitor/hmp.c
    M monitor/qmp-cmds.c
    M pc-bios/optionrom/Makefile
    M plugins/loader.c
    M qapi/control.json
    M qapi/qmp-dispatch.c
    M qapi/run-state.json
    M qemu-options.hx
    M scripts/cocci-macro-file.h
    M scripts/git.orderfile
    M softmmu/device_tree.c
    A softmmu/globals.c
    M softmmu/memory.c
    M softmmu/meson.build
    M softmmu/physmem.c
    M softmmu/qdev-monitor.c
    A softmmu/runstate-action.c
    A softmmu/runstate.c
    M softmmu/vl.c
    R stubs/machine-init-done.c
    M stubs/meson.build
    A stubs/qmp-command-available.c
    M tests/migration/guestperf/engine.py
    M tests/qtest/fuzz-test.c
    M tests/qtest/pvpanic-test.c
    M tests/qtest/qmp-test.c
    M tests/tcg/arm/fcvt.c
    M tools/virtiofsd/fuse_common.h
    M ui/console.c
    M ui/sdl2.c
    M util/qemu-option.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/bonzini-gitlab/tags/for-upstream' into 
staging

* New -action option and set-action QMP command (Alejandro)
* More vl.c cleanup (myself with help from Daniel and Igor)
* Remove deprecated options (Philippe, Thomas)
* Dirty bitmap fix (Zenghui)
* icount caching speedup (Pavel)
* SCSI race fix (Maxim)
* Remove pre-GCC 4.8 code (Marc-André)

# gpg: Signature made Tue 15 Dec 2020 17:53:24 GMT
# gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
# gpg:                issuer "pbonzini@redhat.com"
# gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full]
# gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>" [full]
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
#      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83

* remotes/bonzini-gitlab/tags/for-upstream: (45 commits)
  build: -no-pie is no functional linker flag
  scripts/git.orderfile: Keep files with .inc extension sorted
  compiler.h: remove QEMU_GNUC_PREREQ
  linux-user: remove GNUC check
  compiler: remove GNUC check
  xen: remove GNUC check
  poison: remove GNUC check
  compiler.h: explicit case for Clang printf attribute
  virtiofsd: replace _Static_assert with QEMU_BUILD_BUG_ON
  tests: remove GCC < 4 fallbacks
  qemu-plugin.h: remove GCC < 4
  compiler.h: remove GCC < 3 __builtin_expect fallback
  accel/tcg: Remove special case for GCC < 4.6
  qemu/atomic: Drop special case for unsupported compiler
  hw/core: Restrict 'fw-path-provider.c' to system mode emulation
  docs: set CONFDIR when running sphinx
  vl: rename local variable in configure_accelerators
  qemu-option: pass QemuOptsList to opts_accepts_any
  qemu-option: simplify search for end of key
  kvm: Take into account the unaligned section size when preparing bitmap
  ...

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

# Conflicts:
#       softmmu/vl.c


Compare: https://github.com/qemu/qemu/compare/657ee88ef3ec...af3f37319cb1



reply via email to

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