Skip to content
Snippets Groups Projects
  1. Jul 26, 2022
  2. Jul 25, 2022
  3. Jul 22, 2022
  4. Jul 21, 2022
    • Peter Maydell's avatar
      Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging · 5288bee4
      Peter Maydell authored
      * Boolean statistics for KVM
      * Fix build on Haiku
      
      # gpg: Signature made Tue 19 Jul 2022 10:32:34 BST
      # 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
      
      * tag 'for-upstream' of https://gitlab.com/bonzini/qemu
      
      :
        util: Fix broken build on Haiku
        kvm: add support for boolean statistics
        monitor: add support for boolean statistics
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      5288bee4
  5. Jul 20, 2022
    • Peter Maydell's avatar
      Merge tag 'pull-migration-20220720c' of https://gitlab.com/dagrh/qemu into staging · fe16c833
      Peter Maydell authored
      
      Migration pull 2022-07-20
      
      This replaces yesterdays pull and:
        a) Fixes some test build errors without TLS
        b) Reenabled the zlib acceleration on s390
           now that we have Ilya's fix
      
        Hyman's dirty page rate limit set
        Ilya's fix for zlib vs migration
        Peter's postcopy-preempt
        Cleanup from Dan
        zero-copy tidy ups from Leo
        multifd doc fix from Juan
        Revert disable of zlib acceleration on s390x
      
      Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
      
      # gpg: Signature made Wed 20 Jul 2022 12:18:56 BST
      # gpg:                using RSA key 45F5C71B4A0CB7FB977A9FA90516331EBC5BFDE7
      # gpg: Good signature from "Dr. David Alan Gilbert (RH2) <dgilbert@redhat.com>" [full]
      # Primary key fingerprint: 45F5 C71B 4A0C B7FB 977A  9FA9 0516 331E BC5B FDE7
      
      * tag 'pull-migration-20220720c' of https://gitlab.com/dagrh/qemu
      
      : (30 commits)
        Revert "gitlab: disable accelerated zlib for s390x"
        migration: Avoid false-positive on non-supported scenarios for zero-copy-send
        multifd: Document the locking of MultiFD{Send/Recv}Params
        migration/multifd: Report to user when zerocopy not working
        Add dirty-sync-missed-zero-copy migration stat
        QIOChannelSocket: Fix zero-copy flush returning code 1 when nothing sent
        migration: remove unreachable code after reading data
        tests: Add postcopy preempt tests
        tests: Add postcopy tls recovery migration test
        tests: Add postcopy tls migration test
        tests: Move MigrateCommon upper
        migration: Respect postcopy request order in preemption mode
        migration: Enable TLS for preempt channel
        migration: Export tls-[creds|hostname|authz] params to cmdline too
        migration: Add helpers to detect TLS capability
        migration: Add property x-postcopy-preempt-break-huge
        migration: Create the postcopy preempt channel asynchronously
        migration: Postcopy recover with preempt enabled
        migration: Postcopy preemption enablement
        migration: Postcopy preemption preparation on channel creation
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      fe16c833
    • Peter Maydell's avatar
      Merge tag 'net-pull-request' of https://github.com/jasowang/qemu into staging · 8ec4bc3c
      Peter Maydell authored
      # gpg: Signature made Wed 20 Jul 2022 09:58:47 BST
      # gpg:                using RSA key EF04965B398D6211
      # gpg: Good signature from "Jason Wang (Jason Wang on RedHat) <jasowang@redhat.com>" [marginal]
      # gpg: WARNING: This key is not certified with sufficiently trusted signatures!
      # gpg:          It is not certain that the signature belongs to the owner.
      # Primary key fingerprint: 215D 46F4 8246 689E C77F  3562 EF04 965B 398D 6211
      
      * tag 'net-pull-request' of https://github.com/jasowang/qemu
      
      : (25 commits)
        net/colo.c: fix segmentation fault when packet is not parsed correctly
        net/colo.c: No need to track conn_list for filter-rewriter
        net/colo: Fix a "double free" crash to clear the conn_list
        softmmu/runstate.c: add RunStateTransition support form COLO to PRELAUNCH
        vdpa: Add x-svq to NetdevVhostVDPAOptions
        vdpa: Add device migration blocker
        vdpa: Extract get features part from vhost_vdpa_get_max_queue_pairs
        vdpa: Buffer CVQ support on shadow virtqueue
        vdpa: manual forward CVQ buffers
        vhost-net-vdpa: add stubs for when no virtio-net device is present
        vdpa: Export vhost_vdpa_dma_map and unmap calls
        vhost: Add svq avail_handler callback
        vhost: add vhost_svq_poll
        vhost: Expose vhost_svq_add
        vhost: add vhost_svq_push_elem
        vhost: Track number of descs in SVQDescState
        vhost: Add SVQDescState
        vhost: Decouple vhost_svq_add from VirtQueueElement
        vhost: Check for queue full at vhost_svq_add
        vhost: Move vhost_svq_kick call to vhost_svq_add
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      8ec4bc3c
    • Peter Maydell's avatar
      Merge tag 'pull-request-2022-07-20' of https://gitlab.com/thuth/qemu into staging · f45fd24c
      Peter Maydell authored
      * Fixes for s390x floating point vector instructions
      
      # gpg: Signature made Wed 20 Jul 2022 08:14:50 BST
      # gpg:                using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5
      # gpg:                issuer "thuth@redhat.com"
      # gpg: Good signature from "Thomas Huth <th.huth@gmx.de>" [full]
      # gpg:                 aka "Thomas Huth <thuth@redhat.com>" [full]
      # gpg:                 aka "Thomas Huth <huth@tuxfamily.org>" [full]
      # gpg:                 aka "Thomas Huth <th.huth@posteo.de>" [unknown]
      # Primary key fingerprint: 27B8 8847 EEE0 2501 18F3  EAB9 2ED9 D774 FE70 2DB5
      
      * tag 'pull-request-2022-07-20' of https://gitlab.com/thuth/qemu
      
      :
        tests/tcg/s390x: test signed vfmin/vfmax
        target/s390x: fix NaN propagation rules
        target/s390x: fix handling of zeroes in vfmin/vfmax
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      
      # Conflicts:
      #	fpu/softfloat-specialize.c.inc
      f45fd24c
    • Dr. David Alan Gilbert's avatar
      Revert "gitlab: disable accelerated zlib for s390x" · db727a14
      Dr. David Alan Gilbert authored
      
      This reverts commit 309df6ac.
      With Ilya's 'multifd: Copy pages before compressing them with zlib'
      in the latest migration series, this shouldn't be a problem any more.
      
      Suggested-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      db727a14
    • Leonardo Bras's avatar
      migration: Avoid false-positive on non-supported scenarios for zero-copy-send · 90eb69e4
      Leonardo Bras authored
      
      Migration with zero-copy-send currently has it's limitations, as it can't
      be used with TLS nor any kind of compression. In such scenarios, it should
      output errors during parameter / capability setting.
      
      But currently there are some ways of setting this not-supported scenarios
      without printing the error message:
      
      !) For 'compression' capability, it works by enabling it together with
      zero-copy-send. This happens because the validity test for zero-copy uses
      the helper unction migrate_use_compression(), which check for compression
      presence in s->enabled_capabilities[MIGRATION_CAPABILITY_COMPRESS].
      
      The point here is: the validity test happens before the capability gets
      enabled. If all of them get enabled together, this test will not return
      error.
      
      In order to fix that, replace migrate_use_compression() by directly testing
      the cap_list parameter migrate_caps_check().
      
      2) For features enabled by parameters such as TLS & 'multifd_compression',
      there was also a possibility of setting non-supported scenarios: setting
      zero-copy-send first, then setting the unsupported parameter.
      
      In order to fix that, also add a check for parameters conflicting with
      zero-copy-send on migrate_params_check().
      
      3) XBZRLE is also a compression capability, so it makes sense to also add
      it to the list of capabilities which are not supported with zero-copy-send.
      
      Fixes: 1abaec9a ("migration: Change zero_copy_send from migration parameter to migration capability")
      Signed-off-by: default avatarLeonardo Bras <leobras@redhat.com>
      Message-Id: <20220719122345.253713-1-leobras@redhat.com>
      Reviewed-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
      Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
      90eb69e4
    • Juan Quintela's avatar
      multifd: Document the locking of MultiFD{Send/Recv}Params · 4a8f19c9
      Juan Quintela authored
      
      Reorder the structures so we can know if the fields are:
      - Read only
      - Their own locking (i.e. sems)
      - Protected by 'mutex'
      - Only for the multifd channel
      
      Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
      Message-Id: <20220531104318.7494-2-quintela@redhat.com>
      Reviewed-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
      Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
        dgilbert: Typo fixes from Chen Zhang
      4a8f19c9
    • Leonardo Bras's avatar
      migration/multifd: Report to user when zerocopy not working · d59c40cc
      Leonardo Bras authored
      
      Some errors, like the lack of Scatter-Gather support by the network
      interface(NETIF_F_SG) may cause sendmsg(...,MSG_ZEROCOPY) to fail on using
      zero-copy, which causes it to fall back to the default copying mechanism.
      
      After each full dirty-bitmap scan there should be a zero-copy flush
      happening, which checks for errors each of the previous calls to
      sendmsg(...,MSG_ZEROCOPY). If all of them failed to use zero-copy, then
      increment dirty_sync_missed_zero_copy migration stat to let the user know
      about it.
      
      Signed-off-by: default avatarLeonardo Bras <leobras@redhat.com>
      Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Acked-by: default avatarPeter Xu <peterx@redhat.com>
      Message-Id: <20220711211112.18951-4-leobras@redhat.com>
      Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
      d59c40cc
    • Leonardo Bras's avatar
      Add dirty-sync-missed-zero-copy migration stat · cf20c897
      Leonardo Bras authored
      
      Signed-off-by: default avatarLeonardo Bras <leobras@redhat.com>
      Acked-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Acked-by: default avatarPeter Xu <peterx@redhat.com>
      Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-Id: <20220711211112.18951-3-leobras@redhat.com>
      Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
      cf20c897
Loading