Skip to content
Snippets Groups Projects
  1. Aug 31, 2023
  2. Aug 28, 2023
    • Paolo Bonzini's avatar
      Revert "tests: Use separate virtual environment for avocado" · c03f57fd
      Paolo Bonzini authored
      This reverts commit e8e4298f.
      
      ensuregroup allows to specify both the acceptable versions of avocado,
      and a locked version to be used when avocado is not installed as a system
      pacakge.  This lets us install avocado in pyvenv/ using "mkvenv.py" and
      reuse the distro package on Fedora and CentOS Stream (the only distros
      where it's available).
      
      ensuregroup's usage of "(>=..., <=...)" constraints when evaluating
      the distro package, and "==" constraints when installing it from PyPI,
      makes it possible to avoid conflicts between the known-good version and
      a package plugins included in the distro.
      
      This is because package plugins have "==" constraints on the version
      that is included in the distro, and, using "pip install avocado==88.1"
      on a venv that includes system packages will result in an error:
      
         avocado-framework-plugin-varianter-yaml-to-mux 98.0 requires avocado-framework==98.0, but you have avocado-framework 88.1 which is incompatible.
         avocado-framework-plugin-result-html 98.0 requires avocado-framework==98.0, but you have avocado-framework 88.1 which is incompatible.
      
      But at the same time, if the venv does not include a system distribution
      of avocado then we can install a known-good version and stick to LTS
      releases.
      
      Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1663
      
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      c03f57fd
  3. Aug 24, 2023
  4. Aug 23, 2023
  5. Aug 08, 2023
  6. Aug 01, 2023
  7. Jul 26, 2023
    • Peter Xu's avatar
      docs/migration: Update postcopy bits · f014880a
      Peter Xu authored
      
      We have postcopy recovery but not reflected in the document, do an update
      for that.
      
      Add a very small section on postcopy preempt.
      
      Touch up the pagemap section, dropping the unsent map because it's already
      been dropped in the source code in commit 1e7cf8c3 ("migration/postcopy:
      unsentmap is not necessary for postcopy").
      
      Touch up the postcopy section to remove "network connection" failures as
      downside, because now it's not fatal and can be recovered.  Suggested by
      Laszlo.
      
      Acked-by: default avatarLaszlo Ersek <lersek@redhat.com>
      Signed-off-by: default avatarPeter Xu <peterx@redhat.com>
      Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
      Message-ID: <20230706115611.371048-1-peterx@redhat.com>
      Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
      f014880a
    • Juan Quintela's avatar
      migration: skipped field is really obsolete. · 7b24d326
      Juan Quintela authored
      
      Has return zero for more than 10 years.
      
      Specifically we introduced the field in 1.5.0
      
      commit f1c72795
      Author: Peter Lieven <pl@kamp.de>
      Date:   Tue Mar 26 10:58:37 2013 +0100
      
          migration: do not sent zero pages in bulk stage
      
          during bulk stage of ram migration if a page is a
          zero page do not send it at all.
          the memory at the destination reads as zero anyway.
      
          even if there is an madvise with QEMU_MADV_DONTNEED
          at the target upon receipt of a zero page I have observed
          that the target starts swapping if the memory is overcommitted.
          it seems that the pages are dropped asynchronously.
      
          this patch also updates QMP to return the number of
          skipped pages in MigrationStats.
      
      but removed its usage in 1.5.3
      
      commit 9ef051e5
      Author: Peter Lieven <pl@kamp.de>
      Date:   Mon Jun 10 12:14:19 2013 +0200
      
          Revert "migration: do not sent zero pages in bulk stage"
      
          Not sending zero pages breaks migration if a page is zero
          at the source but not at the destination. This can e.g. happen
          if different BIOS versions are used at source and destination.
          It has also been reported that migration on pseries is completely
          broken with this patch.
      
          This effectively reverts commit f1c72795.
      
      Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-ID: <20230612193344.3796-2-quintela@redhat.com>
      Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
      7b24d326
  8. Jul 19, 2023
  9. Jul 18, 2023
  10. Jul 10, 2023
  11. Jul 07, 2023
  12. Jul 06, 2023
  13. Jul 04, 2023
    • Yuquan Wang's avatar
      hw/arm/sbsa-ref: use XHCI to replace EHCI · 62c2b876
      Yuquan Wang authored
      
      The current sbsa-ref cannot use EHCI controller which is only
      able to do 32-bit DMA, since sbsa-ref doesn't have RAM below 4GB.
      Hence, this uses XHCI to provide a usb controller with 64-bit
      DMA capablity instead of EHCI.
      
      We bump the platform version to 0.3 with this change.  Although the
      hardware at the USB controller address changes, the firmware and
      Linux can both cope with this -- on an older non-XHCI-aware
      firmware/kernel setup the probe routine simply fails and the guest
      proceeds without any USB.  (This isn't a loss of functionality,
      because the old USB controller never worked in the first place.) So
      we can call this a backwards-compatible change and only bump the
      minor version.
      
      Signed-off-by: default avatarYuquan Wang <wangyuquan1236@phytium.com.cn>
      Message-id: 20230621103847.447508-2-wangyuquan1236@phytium.com.cn
      [PMM: tweaked commit message; add line to docs about what
       changes in platform version 0.3]
      Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      62c2b876
  14. Jul 03, 2023
  15. Jun 30, 2023
  16. Jun 28, 2023
  17. Jun 26, 2023
    • Daniel P. Berrangé's avatar
      gitlab: allow overriding name of the upstream repository · 1ddd2ff9
      Daniel P. Berrangé authored
      
      The CI rules have special logic for what happens in upstream. To enable
      contributors who modify CI rules to test this logic, however, they need
      to be able to override which repo is considered upstream. This
      introduces the 'QEMU_CI_UPSTREAM' variable
      
        git push gitlab <branch> -o ci.variable=QEMU_CI_UPSTREAM=berrange
      
      to make it look as if my namespace is the actual upstream. Namespace in
      this context refers to the path fragment in gitlab URLs that is above
      the repository. Typically this will be the contributor's gitlab login
      name.
      
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Reviewed-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
      Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-Id: <20230608164018.2520330-3-berrange@redhat.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      1ddd2ff9
    • Daniel P. Berrangé's avatar
      gitlab: centralize the container tag name · d4c7a565
      Daniel P. Berrangé authored
      
      We use a fixed container tag of 'latest' so that contributors' forks
      don't end up with an ever growing number of containers as they work
      on throwaway feature branches.
      
      This fixed tag causes problems running CI upstream in stable staging
      branches, however, because the stable staging branch will publish old
      container content that clashes with that needed by primary staging
      branch. This makes it impossible to reliably run CI pipelines in
      parallel in upstream for different staging branches.
      
      This introduces $QEMU_CI_CONTAINER_TAG global variable as a way to
      change which tag container publishing uses. Initially it can be set
      by contributors as a git push option if they want to override the
      default use of 'latest' eg
      
        git push gitlab <branch> -o ci.variable=QEMU_CONTAINER_TAG=fish
      
      this is useful if contributors need to run pipelines for different
      branches concurrently in their forks.
      
      Reviewed-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-Id: <20230608164018.2520330-2-berrange@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      d4c7a565
  18. Jun 23, 2023
  19. Jun 22, 2023
  20. Jun 20, 2023
Loading