Skip to content
Snippets Groups Projects
  1. Oct 17, 2023
    • Fabiano Rosas's avatar
      migration: Add capability parsing to analyze-migration.py · 31499a9d
      Fabiano Rosas authored
      
      The script is broken when the configuration/capabilities section is
      present. Add support for parsing the capabilities so we can fix it in
      the next patch.
      
      Signed-off-by: default avatarFabiano Rosas <farosas@suse.de>
      Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
      Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
      Message-ID: <20231009184326.15777-4-farosas@suse.de>
      31499a9d
    • Fabiano Rosas's avatar
      migration: Fix analyze-migration.py 'configuration' parsing · c36c31c8
      Fabiano Rosas authored
      
      The 'configuration' state subsections are currently not being parsed
      and the script fails when analyzing an aarch64 stream:
      
      Traceback (most recent call last):
        File "./scripts/analyze-migration.py", line 625, in <module>
          dump.read(dump_memory = args.memory)
        File "./scripts/analyze-migration.py", line 571, in read
          raise Exception("Unknown section type: %d" % section_type)
      Exception: Unknown section type: 5
      
      Signed-off-by: default avatarFabiano Rosas <farosas@suse.de>
      Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
      Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
      Message-ID: <20231009184326.15777-3-farosas@suse.de>
      c36c31c8
    • Nikolay Borisov's avatar
      migration: Add the configuration vmstate to the json writer · 2aae1eb8
      Nikolay Borisov authored
      
      Make the migration json writer part of MigrationState struct, allowing
      the 'configuration' object be serialized to json.
      
      This will facilitate the parsing of the 'configuration' object in the
      next patch that fixes analyze-migration.py for arm.
      
      Signed-off-by: default avatarNikolay Borisov <nborisov@suse.com>
      Signed-off-by: default avatarFabiano Rosas <farosas@suse.de>
      Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
      Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
      Message-ID: <20231009184326.15777-2-farosas@suse.de>
      2aae1eb8
    • Dmitry Frolov's avatar
      migration: fix RAMBlock add NULL check · f75ed59f
      Dmitry Frolov authored
      
      qemu_ram_block_from_host() may return NULL, which will be dereferenced w/o
      check. Usualy return value is checked for this function.
      Found by Linux Verification Center (linuxtesting.org) with SVACE.
      
      Signed-off-by: default avatarDmitry Frolov <frolov@swemel.ru>
      Reviewed-by: default avatarFabiano Rosas <farosas@suse.de>
      Reviewed-by: default avatarPeter Xu <peterx@redhat.com>
      Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
      Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
      Message-ID: <20231010104851.802947-1-frolov@swemel.ru>
      f75ed59f
    • Peter Xu's avatar
      migration: Allow user to specify available switchover bandwidth · 8b239597
      Peter Xu authored
      
      Migration bandwidth is a very important value to live migration.  It's
      because it's one of the major factors that we'll make decision on when to
      switchover to destination in a precopy process.
      
      This value is currently estimated by QEMU during the whole live migration
      process by monitoring how fast we were sending the data.  This can be the
      most accurate bandwidth if in the ideal world, where we're always feeding
      unlimited data to the migration channel, and then it'll be limited to the
      bandwidth that is available.
      
      However in reality it may be very different, e.g., over a 10Gbps network we
      can see query-migrate showing migration bandwidth of only a few tens of
      MB/s just because there are plenty of other things the migration thread
      might be doing.  For example, the migration thread can be busy scanning
      zero pages, or it can be fetching dirty bitmap from other external dirty
      sources (like vhost or KVM).  It means we may not be pushing data as much
      as possible to migration channel, so the bandwidth estimated from "how many
      data we sent in the channel" can be dramatically inaccurate sometimes.
      
      With that, the decision to switchover will be affected, by assuming that we
      may not be able to switchover at all with such a low bandwidth, but in
      reality we can.
      
      The migration may not even converge at all with the downtime specified,
      with that wrong estimation of bandwidth, keeping iterations forever with a
      low estimation of bandwidth.
      
      The issue is QEMU itself may not be able to avoid those uncertainties on
      measuing the real "available migration bandwidth".  At least not something
      I can think of so far.
      
      One way to fix this is when the user is fully aware of the available
      bandwidth, then we can allow the user to help providing an accurate value.
      
      For example, if the user has a dedicated channel of 10Gbps for migration
      for this specific VM, the user can specify this bandwidth so QEMU can
      always do the calculation based on this fact, trusting the user as long as
      specified.  It may not be the exact bandwidth when switching over (in which
      case qemu will push migration data as fast as possible), but much better
      than QEMU trying to wildly guess, especially when very wrong.
      
      A new parameter "avail-switchover-bandwidth" is introduced just for this.
      So when the user specified this parameter, instead of trusting the
      estimated value from QEMU itself (based on the QEMUFile send speed), it
      trusts the user more by using this value to decide when to switchover,
      assuming that we'll have such bandwidth available then.
      
      Note that specifying this value will not throttle the bandwidth for
      switchover yet, so QEMU will always use the full bandwidth possible for
      sending switchover data, assuming that should always be the most important
      way to use the network at that time.
      
      This can resolve issues like "unconvergence migration" which is caused by
      hilarious low "migration bandwidth" detected for whatever reason.
      
      Reported-by: default avatarZhiyi Guo <zhguo@redhat.com>
      Reviewed-by: default avatarJoao Martins <joao.m.martins@oracle.com>
      Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
      Signed-off-by: default avatarPeter Xu <peterx@redhat.com>
      Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
      Message-ID: <20231010221922.40638-1-peterx@redhat.com>
      8b239597
    • Philippe Mathieu-Daudé's avatar
      migration: Use g_autofree to simplify ram_dirty_bitmap_reload() · 1a36e4c9
      Philippe Mathieu-Daudé authored
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: default avatarFabiano Rosas <farosas@suse.de>
      Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
      Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
      Message-ID: <20231011023627.86691-1-philmd@linaro.org>
      1a36e4c9
    • Wei Wang's avatar
      migration: refactor migration_completion · d7f5a043
      Wei Wang authored
      
      Current migration_completion function is a bit long. Refactor the long
      implementation into different subfunctions:
      - migration_completion_precopy: completion code related to precopy
      - migration_completion_postcopy: completion code related to postcopy
      
      Rename await_return_path_close_on_source to
      close_return_path_on_source: It is renamed to match with
      open_return_path_on_source.
      
      This improves readability and is easier for future updates (e.g. add new
      subfunctions when completion code related to new features are needed). No
      functional changes intended.
      
      Signed-off-by: default avatarWei Wang <wei.w.wang@intel.com>
      Reviewed-by: default avatarPeter Xu <peterx@redhat.com>
      Reviewed-by: default avatarIsaku Yamahata <isaku.yamahata@intel.com>
      Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
      Message-ID: <20230804093053.5037-1-wei.w.wang@intel.com>
      Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
      d7f5a043
  2. Oct 16, 2023
    • Stefan Hajnoczi's avatar
      Merge tag 'python-pull-request' of https://gitlab.com/jsnow/qemu into staging · 80048576
      Stefan Hajnoczi authored
      Python Pullreq
      
      Python PR:
      
      - Use socketpair for all machine.py connections
      - Support Python 3.12
      - Switch iotests over to using raise-on-error QMP command interface
        (Thank you very much, Vladimir!)
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQIzBAABCAAdFiEE+ber27ys35W+dsvQfe+BBqr8OQ4FAmUpldkACgkQfe+BBqr8
      # OQ4NtRAAnkEmXsECAxQ2ewvf3yK8PTFm4Oq5nqMIw+KB94ATrsGzk3z1rLvatSl3
      # 6VLsV2+FWoOEyKrsfu5DIfbuo4d3TZTU7N2DIZpVpvO166K+fXbzp8skAg+n3BMC
      # tWkSOcnsT6+8aqyxxyASdHvbbE7pvPw8OA3oIIstsYeZ5/HHpOWXNj1kjCsnL0lW
      # 7y5h6UUKGmnCPdixyk042+AvKkT7GAKVjFnjUF5JHv0iR2KpQ+O9H7OEalqQT5w5
      # eab4oMGuIYhzYe+MNpyybAB3Xd2pxhcppk+sl4dCE8qmMn7KRoTNw1iu+qhsNQfQ
      # JILZoCPtYMhpef4X0ulH8PFBMweBptqOjo4lpz9QIdMWTf86IE0yIT9DCy3aSjpp
      # ywwxhFKJS43gz4WHkEJlrY9PHwLsULaV/Cz6HKJAU6h9aFtcNdT4pkCOERnZ8X4C
      # yHlNReTG5Dz1sYzKJ/k9LTjAaVDasumR8/yadaUCwalj5zexQ27qlIM6oc5wdIRQ
      # up1VHi7odF5KHb6GeqdniuuEF6NBCYRAV5nz+dbd6exfKOaxYRrr48yh9SUm8QS6
      # JCvMMFFAZCIrI/nkRVajbLi9L5O3fg5abtlzSzh9o4iyf8Rf/1gtKNxZRK1NZIjQ
      # cTYBJXpMulNx7bM2CPNsPWGqCTAjAcu10svqTA8luGj4fqdTNyU=
      # =02Bd
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Fri 13 Oct 2023 15:09:13 EDT
      # gpg:                using RSA key F9B7ABDBBCACDF95BE76CBD07DEF8106AAFC390E
      # gpg: Good signature from "John Snow (John Huston) <jsnow@redhat.com>" [full]
      # 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
      
      * tag 'python-pull-request' of https://gitlab.com/jsnow/qemu
      
      : (25 commits)
        python: use vm.cmd() instead of vm.qmp() where appropriate
        scripts: add python_qmp_updater.py
        tests/vm/basevm.py: use cmd() instead of qmp()
        iotests.py: pause_job(): drop return value
        iotests: drop some extra ** in qmp() call
        iotests: drop some extra semicolons
        iotests: refactor some common qmp result checks into generic pattern
        iotests: add some missed checks of qmp result
        iotests: QemuStorageDaemon: add cmd() method like in QEMUMachine.
        python/machine.py: upgrade vm.cmd() method
        python/qemu: rename command() to cmd()
        python: rename QEMUMonitorProtocol.cmd() to cmd_raw()
        scripts/cpu-x86-uarch-abi.py: use .command() instead of .cmd()
        qmp_shell.py: _fill_completion() use .command() instead of .cmd()
        python/qemu/qmp/legacy: cmd(): drop cmd_id unused argument
        Python: Enable python3.12 support
        configure: fix error message to say Python 3.8
        python/qmp: remove Server.wait_closed() call for Python 3.12
        Python/iotests: Add type hint for nbd module
        python/machine: remove unused sock_dir argument
        ...
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      80048576
    • Stefan Hajnoczi's avatar
      Merge tag 'pull-loongarch-20231013' of https://gitlab.com/gaosong/qemu into staging · 9390f0fd
      Stefan Hajnoczi authored
      pull-loongarch-20231013
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iLMEAAEKAB0WIQS4/x2g0v3LLaCcbCxAov/yOSY+3wUCZSimNQAKCRBAov/yOSY+
      # 33XwBADF9ZKlESDBDa/huNFAKD7BsUIdglHfz9lHnLY+kQbCun4HyTLtp2IBsySu
      # mZTjdfU/LnaBidFLjEnmZZMPyiI3oV1ruSzT53egSDaxrFUXGpc9oxtMNLsyfk9P
      # swdngG13Fc9sWVKC7IJeYDYXgkvHY7NxsiV8U9vdqXOyw2uoHA==
      # =ufPc
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Thu 12 Oct 2023 22:06:45 EDT
      # gpg:                using RSA key B8FF1DA0D2FDCB2DA09C6C2C40A2FFF239263EDF
      # gpg: Good signature from "Song Gao <m17746591750@163.com>" [unknown]
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: B8FF 1DA0 D2FD CB2D A09C  6C2C 40A2 FFF2 3926 3EDF
      
      * tag 'pull-loongarch-20231013' of https://gitlab.com/gaosong/qemu
      
      :
        LoongArch: step down as general arch maintainer
        hw/loongarch/virt: Remove unused 'loongarch_virt_pm' region
        hw/loongarch/virt: Remove unused ISA Bus
        hw/loongarch/virt: Remove unused ISA UART
        hw/loongarch: remove global loaderparams variable
        target/loongarch: Add preldx instruction
        target/loongarch: fix ASXE flag conflict
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      9390f0fd
    • Stefan Hajnoczi's avatar
      Merge tag 'pull-ufs-20231013' of https://gitlab.com/jeuk20.kim/qemu into staging · 2778f754
      Stefan Hajnoczi authored
      hw/ufs: fixes
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQIzBAABCgAdFiEEUBfYMVl8eKPZB+73EuIgTA5dtgIFAmUozswACgkQEuIgTA5d
      # tgITExAAo0BSNir4I5MfeNIjZTNNdxLXDl0+92JyairB2m/gWH/02jGtrJBYp5On
      # ELnixKj2Ntn9IIRr3NwQHNTnDOZHRkUBH+pRVeMbZ+IWLjEoWQdl03ge7e9sHai3
      # CLXB4HPSnXddy1SmS9FEkdBWopqxKF4BLZnpAfwh/dj2fzSyDyNIMmGoRimRQhph
      # 9A90304ERUdpREAXncTgSdXeDZz+lScadzUJZrPPiG2ZHXL+qzDCX7ojEnNaUFxz
      # W1IfriI8oeeORfCQaNEOncLKhSwE1WscGxP0vILPApKOu251tObgSbK90QlQR2qT
      # BMl7k4BDfYeksXMGc0BXVFrOfv1ud86NlCE2OokK6HBZVuHio4C6TU/t65MC4Rw5
      # mJ8CPgbN+7sgVmAGo0sLYzI6GiRR27VqqLh6KXVAa5c/fAdt5pHSkakwSvxiXsAl
      # EqskmOY2em5O//+7CWN1CtY+I2pHyltMXAi3Cb2vjweNx88kuhmxFQWeZVI10/H3
      # gNrNfu32+ihDLMqR7uQamdAZV0lnIwp97nCbf3LzpM0btjl70QvGZhsbiCDiLQrG
      # mJjnaix4xDb8T21WKrI8DKcwR4rvD8hZsCUp31XJnA8HWtdPnEQldK8NEGNlU5ye
      # lrGc6gxiwZLCBBIj9lwbZW3Zv9Vz9jNWISOmY+KWLCIus98DBxQ=
      # =XXsQ
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Fri 13 Oct 2023 00:59:56 EDT
      # gpg:                using RSA key 5017D831597C78A3D907EEF712E2204C0E5DB602
      # gpg: Good signature from "Jeuk Kim <jeuk20.kim@samsung.com>" [unknown]
      # gpg:                 aka "Jeuk Kim <jeuk20.kim@gmail.com>" [unknown]
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: 5017 D831 597C 78A3 D907  EEF7 12E2 204C 0E5D B602
      
      * tag 'pull-ufs-20231013' of https://gitlab.com/jeuk20.kim/qemu
      
      :
        hw/ufs: Fix incorrect register fields
        hw/ufs: Fix code coverity issues
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      2778f754
    • Stefan Hajnoczi's avatar
      Merge tag 'pull-request-2023-10-12' of https://gitlab.com/thuth/qemu into staging · 2a6299fb
      Stefan Hajnoczi authored
      * Fix CVE-2023-1544
      * Deprecate the rdma code
      * Fix flaky npcm7xx_timer test
      * i2c-echo license statement and Kconfig switch
      * Disable the failing riscv64-debian-cross CI job by default
      
      * tag 'pull-request-2023-10-12' of https://gitlab.com/thuth/qemu
      
      :
        gitlab-ci: Disable the riscv64-debian-cross-container by default
        MAINTAINERS: Add include/sysemu/qtest.h to the qtest section
        hw/misc/Kconfig: add switch for i2c-echo
        hw/misc/i2c-echo: add copyright/license note
        tests/qtest: Fix npcm7xx_timer-test.c flaky test
        hw/rdma: Deprecate the pvrdma device and the rdma subsystem
        hw/pvrdma: Protect against buggy or malicious guest driver
      
      Conflicts:
        docs/about/deprecated.rst
        Context conflict between RISC-V and RDMA deprecation.
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      2a6299fb
    • Stefan Hajnoczi's avatar
      Merge tag 'for-upstream' of https://repo.or.cz/qemu/kevin into staging · ce2f5169
      Stefan Hajnoczi authored
      Block layer patches
      
      - Clean up coroutine versions of bdrv_{is_allocated,block_status}*
      - Graph locking part 5 (protect children/parent links)
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQJFBAABCAAvFiEE3D3rFZqa+V09dFb+fwmycsiPL9YFAmUoHL8RHGt3b2xmQHJl
      # ZGhhdC5jb20ACgkQfwmycsiPL9b4uRAAjryVAaA5jXZ3mdGB80nhGtARZlIaIVO/
      # tlXk065q2Cj+98f+fBPCPWvmEz28vJwBhJUsFwpHzLZrxecBpwZp0MPAkFBNkouq
      # +AiO9xyTAqccEp/dnIys4Bun9Rp0Jq9lk9y29zzEmQuK5uCB56lpx2cDn/JkzSQt
      # ZFtnxxTwi3MDTNvXATub8Ia/1suui0zvESS7J/NBxQNI3cFaQszp1vMwlRIoPiWo
      # 15YZFPZZQ2pvu6/1nL1Vl9OLbPAVcEGJpjHZv0XhudYOwRiDvjYnwfPL7BuwYEsU
      # Dos4mZZd/KMU695s7OzlVYi1q4ATKUTUxyyylVhXZrFBXSE5ntnfoHTKHEruTyPb
      # G31h5mribSTWjdvY5HewHbSSPjByAWsSQg9yzcHybhORiqGQCpcGQ8zuW7oNKMPV
      # JicWdoRVY4U4hR0nRdDxz9zdpQ8QYok/ginBxFaOzrCfClUB7ZOBxwRMclIghuRH
      # FV+ZJk0ylVOz2tbfNxUa3KhUgTPd8jgCHFI7xak5EBRtTJiJjE03Xag1Fdxy5/D5
      # tRsBBW4sOFygAhjN/xyeaRv9L8rAv3x/akriFjPUbOMLkPcJpe/DTWsP8+5LaZF8
      # GkQvjsg5UvmfcJ3LFtecXxfYH4UWhDmyAjF+BswiRqafDDi2CCUmdwDnzEPbwuWO
      # x1y7cgxe9SE=
      # =4d/s
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Thu 12 Oct 2023 12:20:15 EDT
      # gpg:                using RSA key DC3DEB159A9AF95D3D7456FE7F09B272C88F2FD6
      # gpg:                issuer "kwolf@redhat.com"
      # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>" [full]
      # Primary key fingerprint: DC3D EB15 9A9A F95D 3D74  56FE 7F09 B272 C88F 2FD6
      
      * tag 'for-upstream' of https://repo.or.cz/qemu/kevin
      
      : (26 commits)
        block: Add assertion for bdrv_graph_wrlock()
        block: Protect bs->children with graph_lock
        block: Protect bs->parents with graph_lock
        block: Mark bdrv_get_specific_info() and callers GRAPH_RDLOCK
        block: Mark bdrv_apply_auto_read_only() and callers GRAPH_RDLOCK
        block: Mark bdrv_op_is_blocked() and callers GRAPH_RDLOCK
        qcow2: Mark check_constraints_on_bitmap() GRAPH_RDLOCK
        qcow2: Mark qcow2_inactivate() and callers GRAPH_RDLOCK
        qcow2: Mark qcow2_signal_corruption() and callers GRAPH_RDLOCK
        block: Mark bdrv_amend_options() and callers GRAPH_RDLOCK
        block: Mark bdrv_get_parent_name() and callers GRAPH_RDLOCK
        block: Mark bdrv_primary_child() and callers GRAPH_RDLOCK
        block: Mark bdrv_refresh_filename() and callers GRAPH_RDLOCK
        block: Mark bdrv_get_xdbg_block_graph() and callers GRAPH_RDLOCK
        block: Take graph rdlock in parts of reopen
        block: Mark bdrv_snapshot_fallback() and callers GRAPH_RDLOCK
        block: Mark bdrv_parent_cb_resize() and callers GRAPH_RDLOCK
        block: Mark drain related functions GRAPH_RDLOCK
        block: Mark bdrv_first_blk() and bdrv_is_root_node() GRAPH_RDLOCK
        block: Take graph rdlock in bdrv_inactivate_all()
        ...
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      ce2f5169
    • Stefan Hajnoczi's avatar
      Merge tag 'pull-shadow-2023-10-12' of https://repo.or.cz/qemu/armbru into staging · 32bfaa4e
      Stefan Hajnoczi authored
      -Wshadow=local patches for 2023-10-12
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQJGBAABCAAwFiEENUvIs9frKmtoZ05fOHC0AOuRhlMFAmUoCNsSHGFybWJydUBy
      # ZWRoYXQuY29tAAoJEDhwtADrkYZTTocP/iQ6RggqcHrBxwZZtyydvpWCFrqfuBTk
      # 6GQtKGm51UcQ9kmAIsoV90pOzdUdjwrpXzKKJwsLzMcVcp1NDPsQIL54wdsRmZfH
      # E9mxI7UlZf/KWzrfP1nFLcU8T5+cuXosDgjx55Y1Kq+ZRn+7x0DInBGdRryokWTG
      # zcKh9T3n9KWKscLL7hvxLZS5054V9HBDYIpBBEyV2GtRrCLL0Y+9aaKkBrejHMgY
      # oKrLKHz1cOGOTzQ7AbhA+Wv3eN+GYVyjnCSUXK/270jbU8Xg4m1vSbrPq2PWy5kV
      # IGGKZtZsrSq0VBoTi+i9++vP5djKVUYQLqx10L+NYCp25wBnTgXKSDtdAqI68aev
      # TYrOlQ1ldKXJT4ghPqoWCjRKkryV6/Gj9fHbbvsHJ7SB84VO8G/kpn5zXvN/BosG
      # 8vxLEL0xc1Q3Sxi91DCjVsP7UebjBt1j/JugU9zVr8OFJWriFmllYB67AOOo3gS2
      # c+FNVPLle3udw5EHClMapcGSzTun4iHeEsiJMOOgGOHC09Bi+Om6LlneFWljmvQp
      # a6ma+bebxCjzuO6heey2Q/1JjltR8Ex0bnbWIoNsysA6OnDtTlbxDqZEca1h6As+
      # Rm9XFKf7nVQIHFKW3sjbx6MgqAL6sBakfeJah5Pj5iIKtLaZR591RyAfvfB2sBlS
      # ZYtp95GIKWXZ
      # =AArx
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Thu 12 Oct 2023 10:55:23 EDT
      # gpg:                using RSA key 354BC8B3D7EB2A6B68674E5F3870B400EB918653
      # gpg:                issuer "armbru@redhat.com"
      # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>" [full]
      # gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>" [full]
      # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867  4E5F 3870 B400 EB91 8653
      
      * tag 'pull-shadow-2023-10-12' of https://repo.or.cz/qemu/armbru
      
      :
        target/i386: fix shadowed variable pasto
        contrib/vhost-user-gpu: Fix compiler warning when compiling with -Wshadow
        hw/virtio/virtio-gpu: Fix compiler warning when compiling with -Wshadow
        libvhost-user: Fix compiler warning with -Wshadow=local
        libvduse: Fix compiler warning with -Wshadow=local
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      32bfaa4e
    • Stefan Hajnoczi's avatar
      Merge tag 'mem-2023-10-12' of https://github.com/davidhildenbrand/qemu into staging · bc2b89b3
      Stefan Hajnoczi authored
      Hi,
      
      "Host Memory Backends" and "Memory devices" queue ("mem"):
      - Support memory devices with multiple memslots
      - Support memory devices that dynamically consume memslots
      - Support memory devices that can automatically decide on the number of
        memslots to use
      - virtio-mem support for exposing memory dynamically via multiple
        memslots
      - Some required cleanups/refactorings
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQJFBAABCAAvFiEEG9nKrXNcTDpGDfzKTd4Q9wD/g1oFAmUn+XMRHGRhdmlkQHJl
      # ZGhhdC5jb20ACgkQTd4Q9wD/g1qDHA//T01suTa+uzrcoJHoMWN11S47WnAmbuTo
      # vVakucLBPMJAa9xZeCy3OavXaVGpHkw+t6g3OFknof0LfQ5/j9iE3Q1PxURN7g5j
      # SJ2WJXCoceM6T4TMhPvVvgEaYjFmESqZB5FZgedMT0QRyhAxMuF9pCkWhk1O3OAV
      # JqQKqLFiGcv60AEuBYGZGzgiOUv8EJ5gKwRF4VOdyHIxqZDw1aZXzlcd4TzFZBQ7
      # rwW/3ef+sFmUJdmfrSrqcIlQSRrqZ2w95xATDzLTIEEUT3SWqh/E95EZWIz1M0oQ
      # NgWgFiLCR1KOj7bWFhLXT7IfyLh0mEysD+P/hY6QwQ4RewWG7EW5UK+JFswssdcZ
      # rEj5XpHZzev/wx7hM4bWsoQ+VIvrH7j3uYGyWkcgYRbdDEkWDv2rsT23lwGYNhht
      # oBsrdEBELRw6v4C8doq/+sCmHmuxUMqTGwbArCQVnB1XnLxOEkuqlnfq5MORkzNF
      # fxbIRx+LRluOllC0HVaDQd8qxRq1+UC5WIpAcDcrouy4HGgi1onWKrXpgjIAbVyH
      # M6cENkK7rnRk96gpeXdmrf0h9HqRciAOY8oUsFsvLyKBOCPBWDrLyOQEY5UoSdtD
      # m4QpEVgywCy2z1uU/UObeT/UxJy/9EL/Zb+DHoEK06iEhwONoUJjEBYMJD38RMkk
      # mwPTB4UAk9g=
      # =s69t
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Thu 12 Oct 2023 09:49:39 EDT
      # gpg:                using RSA key 1BD9CAAD735C4C3A460DFCCA4DDE10F700FF835A
      # gpg:                issuer "david@redhat.com"
      # gpg: Good signature from "David Hildenbrand <david@redhat.com>" [unknown]
      # gpg:                 aka "David Hildenbrand <davidhildenbrand@gmail.com>" [full]
      # gpg:                 aka "David Hildenbrand <hildenbr@in.tum.de>" [unknown]
      # gpg: WARNING: The key's User ID is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: 1BD9 CAAD 735C 4C3A 460D  FCCA 4DDE 10F7 00FF 835A
      
      * tag 'mem-2023-10-12' of https://github.com/davidhildenbrand/qemu
      
      :
        virtio-mem: Mark memslot alias memory regions unmergeable
        memory,vhost: Allow for marking memory device memory regions unmergeable
        virtio-mem: Expose device memory dynamically via multiple memslots if enabled
        virtio-mem: Update state to match bitmap as soon as it's been migrated
        virtio-mem: Pass non-const VirtIOMEM via virtio_mem_range_cb
        memory: Clarify mapping requirements for RamDiscardManager
        memory-device,vhost: Support automatic decision on the number of memslots
        vhost: Add vhost_get_max_memslots()
        kvm: Add stub for kvm_get_max_memslots()
        memory-device,vhost: Support memory devices that dynamically consume memslots
        memory-device: Track required and actually used memslots in DeviceMemoryState
        stubs: Rename qmp_memory_device.c to memory_device.c
        memory-device: Support memory devices with multiple memslots
        vhost: Return number of free memslots
        kvm: Return number of free memslots
        softmmu/physmem: Fixup qemu_ram_block_from_host() documentation
        vhost: Remove vhost_backend_can_merge() callback
        vhost: Rework memslot filtering and fix "used_memslot" tracking
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      bc2b89b3
  3. Oct 13, 2023
  4. Oct 12, 2023
Loading