1. 12 Sep, 2022 4 commits
  2. 10 Sep, 2022 3 commits
  3. 02 Sep, 2022 3 commits
  4. 31 Aug, 2022 17 commits
  5. 30 Aug, 2022 1 commit
  6. 25 Aug, 2022 1 commit
  7. 24 Aug, 2022 7 commits
    • Richard Henderson's avatar
      Merge tag 'pull-for-7.1-fixes-240822-3' of https://github.com/stsquad/qemu into staging · 1f6a638c
      Richard Henderson authored
      Testing and doc updates:
      
        - move default timeout to QemuBaseTests
        - optimise migration tests to run faster
        - removed duplicate migration test
        - add some clarifying language to block options in manual
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmMF7MMACgkQ+9DbCVqe
      # KkTCmgf/eyjET4BObyQEp7QsbdS295eL3If2PxSumCrypMjpmYAFJcQ9POjagExo
      # wh+E8hU587BLzghgjPcsJ4fm3m21bngmAvsczmLcgOMhAaMhH5MRMR0dvHjo7l9F
      # isJ1ro20fCJ2QcFNybAIu4VluwBr9oYBnZ3B7YpL9DDu8x9MmS6UCQkCJ4Y86raW
      # G9IXTHwwiq3D4RiuLccPRZ/WsMZhuNVafFrgJK56GBF7jWI0d0kOar5HyS8pATNL
      # hkAYBTfkrBmEhOA86vMiRmfmpVa+FqSzXkn2quWvJ8HGQ2tmIoboBbGWDExvN0/d
      # pPLoAzDVPEnHAMqarC2RgSQTH0JmJQ==
      # =ODg1
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Wed 24 Aug 2022 02:17:55 AM PDT
      # gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
      # gpg: Good signature from "Alex Bennée (Master Work Key) <alex.bennee@linaro.org>" [undefined]
      # 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: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44
      
      * tag 'pull-for-7.1-fixes-240822-3' of https://github.com/stsquad/qemu
      
      :
        qemu-options: try and clarify preferred block semantics
        tests/qtest/migration-test: Remove duplicated test_postcopy from the test plan
        tests/migration/i386: Speed up the i386 migration test (when using TCG)
        tests/migration/aarch64: Speed up the aarch64 migration test
        tests/qtest/migration-test: Only wait for serial output where migration succeeds
        tests/avocado: push default timeout to QemuBaseTest
      
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      1f6a638c
    • Alex Bennée's avatar
      qemu-options: try and clarify preferred block semantics · 5af2b0f6
      Alex Bennée authored
      
      
      Try to correct any confusion about QEMU's Byzantine disk options by
      laying out the preferred "modern" options as-per:
      
       "<danpb> (best:  -device + -blockdev,  2nd obsolete syntax: -device +
           -drive,  3rd obsolete syntax: -drive, 4th obsolete syntax: -hdNN)"
      
      Signed-off-by: Alex Bennée's avatarAlex Bennée <alex.bennee@linaro.org>
      Acked-by: default avatarKevin Wolf <kwolf@redhat.com>
      Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Cc: qemu-block@nongnu.org
      Cc: Kevin Wolf <kwolf@redhat.com>
      Cc: Hanna Reitz <hreitz@redhat.com>
      Cc: Thomas Huth <thuth@redhat.com>
      Message-Id: <20220822165608.2980552-7-alex.bennee@linaro.org>
      5af2b0f6
    • Thomas Huth's avatar
      tests/qtest/migration-test: Remove duplicated test_postcopy from the test plan · 00269477
      Thomas Huth authored and Alex Bennée's avatar Alex Bennée committed
      test_postcopy() is currently run twice - which is just a waste of resources
      and time. The commit d1a27b16 that introduced the duplicate talked about
      renaming the "postcopy/unix" test, but apparently it forgot to remove the
      old entry. Let's do that now.
      
      Fixes: d1a27b16
      
       ("tests: Add postcopy tls migration test")
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-Id: <20220819053802.296584-5-thuth@redhat.com>
      Signed-off-by: Alex Bennée's avatarAlex Bennée <alex.bennee@linaro.org>
      Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
      Message-Id: <20220822165608.2980552-6-alex.bennee@linaro.org>
      00269477
    • Thomas Huth's avatar
      tests/migration/i386: Speed up the i386 migration test (when using TCG) · 41adc596
      Thomas Huth authored and Alex Bennée's avatar Alex Bennée committed
      
      
      When KVM is not available, the i386 migration test also runs in a rather
      slow fashion, since the guest code takes a couple of seconds to print
      the "B"s on the serial console, and the migration test has to wait for
      this each time. Let's increase the frequency here, too, so that the
      delays in the migration tests get smaller.
      
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-Id: <20220819053802.296584-4-thuth@redhat.com>
      Signed-off-by: Alex Bennée's avatarAlex Bennée <alex.bennee@linaro.org>
      Message-Id: <20220822165608.2980552-5-alex.bennee@linaro.org>
      41adc596
    • Thomas Huth's avatar
      tests/migration/aarch64: Speed up the aarch64 migration test · c398c761
      Thomas Huth authored and Alex Bennée's avatar Alex Bennée committed
      
      
      The migration tests spend a lot of time waiting for a sign of live
      of the guest on the serial console. The aarch64 migration code only
      outputs "B"s every couple of seconds (at least it takes more than 4
      seconds between each characeter on my x86 laptop). There are a lot
      of migration tests, and if each test that checks for a successful
      migration waits for these characters before and after migration, the
      wait time sums up to multiple minutes! Let's use a shorter delay to
      speed things up.
      
      While we're at it, also remove a superfluous masking with 0xff - we're
      reading and storing bytes, so the upper bits of the register do not
      matter anyway.
      
      With these changes, the test runs twice as fast on my laptop, decreasing
      the total run time from approx. 8 minutes to only 4 minutes!
      
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Message-Id: <20220819053802.296584-3-thuth@redhat.com>
      Signed-off-by: Alex Bennée's avatarAlex Bennée <alex.bennee@linaro.org>
      Message-Id: <20220822165608.2980552-4-alex.bennee@linaro.org>
      c398c761
    • Thomas Huth's avatar
      tests/qtest/migration-test: Only wait for serial output where migration succeeds · e25636a1
      Thomas Huth authored and Alex Bennée's avatar Alex Bennée committed
      
      
      Waiting for the serial output can take a couple of seconds - and since
      we're doing a lot of migration tests, this time easily sums up to
      multiple minutes. But if a test is supposed to fail, it does not make
      much sense to wait for the source to be in the right state first, so
      we can skip the waiting here. This way we can speed up all tests where
      the migration is supposed to fail. In the gitlab-CI gprov-gcov test,
      each of the migration-tests now run two minutes faster!
      
      Reviewed-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <20220819053802.296584-2-thuth@redhat.com>
      Signed-off-by: Alex Bennée's avatarAlex Bennée <alex.bennee@linaro.org>
      Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
      Message-Id: <20220822165608.2980552-3-alex.bennee@linaro.org>
      e25636a1
    • Alex Bennée's avatar
      tests/avocado: push default timeout to QemuBaseTest · 48acf68c
      Alex Bennée authored
      
      
      All of the QEMU tests eventually end up derrived from this class. Move
      the default timeout from LinuxTest to ensure we catch them all. We
      keep the 15 minute timeout as currently some of the more heavyweight
      CFI and TCG tests can overrun. We should aim to drop it down to 2
      minutes which is a more reasonable target for tests to aim for but we
      want to get this release out.
      
      Signed-off-by: Alex Bennée's avatarAlex Bennée <alex.bennee@linaro.org>
      [AJB: revert to 15 min timeout for v2]
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Message-Id: <20220822165608.2980552-2-alex.bennee@linaro.org>
      48acf68c
  8. 23 Aug, 2022 2 commits
    • Richard Henderson's avatar
      Merge tag 'for-upstream' of git://repo.or.cz/qemu/kevin into staging · a8cc5842
      Richard Henderson authored
      Block layer patches
      
      - scsi-generic: Fix I/O errors due to wrong block limits
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQJFBAABCAAvFiEE3D3rFZqa+V09dFb+fwmycsiPL9YFAmME3eARHGt3b2xmQHJl
      # ZGhhdC5jb20ACgkQfwmycsiPL9avDA//YIJPQDOwiaDaVPY9aqAsnHPvxv/KWwcY
      # mNluOhIluRDcXaOuFRNZsL4L69oc7n1dqV1CkKgaYZOLaq0gk6Vt/RyENo5faCoq
      # IkGD9PjRoa6heAD0r/xzFUCCszYs2W2xrmK9yX1R9xCtKZ+jbygCNBiDbdigBfi/
      # HWL8OZYpnyVXeKmNeqvYHPnfCuCCNpIz0PkyaJ3jE/nsTefrmBHpdyLC0xa953tN
      # VaTERnHQyMfFybtri2nTDQgARztRi+3ph1bFV6moxLOpwMb49hdU+2g1VZdcsedL
      # XgYWXEJyBRq0KRz1qUbtXO5SRTFpsZFo9cOvWoHA5IrcEHeDpsrZzQ5RsZRoQENx
      # GV4DAI3unrwsqSWk682UHHVfIFW1qV1BvueT6MsiobL2pV6+uYPHI1A9XnOzoTRg
      # syUoiqvsKDcXATkszxQV+DSRWDsIHo1LS3kSokxwUDp3HhHWhvnUBUww8HkUXxlE
      # 7GkMFXkjygAxBekkzIaxNgF7AnGqwrrSUESX+j2S4V5xGFoaZGSWIZIjEyyEBtjc
      # YZZoVEPAK3Gg7RMfSsM0obIXZpuiS1okxfb0cm6nHP+VKBdmaa12wFaCkC0TAEzy
      # IcZf7Midq/Is5O3uSlreWeFWEyaRDRWe7v4NnZ2qXFqch7Gi3QWDaCDtjnOu+78S
      # X/FK3RH+E38=
      # =cj4W
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Tue 23 Aug 2022 07:02:08 AM PDT
      # gpg:                using RSA key DC3DEB159A9AF95D3D7456FE7F09B272C88F2FD6
      # gpg:                issuer "kwolf@redhat.com"
      # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>" [full]
      
      * tag 'for-upstream' of git://repo.or.cz/qemu/kevin
      
      :
        scsi-generic: Fix emulated block limits VPD page
      
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      a8cc5842
    • Kevin Wolf's avatar
      scsi-generic: Fix emulated block limits VPD page · 51e15194
      Kevin Wolf authored
      Commits 01ef8185 amd 24b36e98 updated the way that the maximum
      transfer length is calculated for patching block limits VPD page in an
      INQUIRY response.
      
      The same updates also need to be made for the case where the host device
      does not support the block limits VPD page at all and we emulate the
      whole page.
      
      Without this fix, on host block devices a maximum transfer length of
      (INT_MAX - sector_size) bytes is advertised to the guest, resulting in
      I/O errors when a request that exceeds the host limits is made by the
      guest. (Prior to commit 24b36e98, this code path would use the
      max_transfer value from the host instead of INT_MAX, but still miss the
      fix from 01ef8185 where max_transfer is also capped to max_iov
      host pages, so it would be less wrong, but still wrong.)
      
      Cc: qemu-stable@nongnu.org
      Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=2096251
      Fixes: 01ef8185
      Fixes: 24b36e98
      
      
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
      Message-Id: <20220822125320.48257-1-kwolf@redhat.com>
      Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
      51e15194
  9. 19 Aug, 2022 2 commits
    • Richard Henderson's avatar
      Merge tag 'for-7.1-hppa' of https://github.com/hdeller/qemu-hppa into staging · ba58ccbe
      Richard Henderson authored
      target/hppa: Fix proberi instruction emulation for linux-user
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iHUEABYKAB0WIQS86RI+GtKfB8BJu973ErUQojoPXwUCYv+X7AAKCRD3ErUQojoP
      # XyGaAQCUaZmTFIEMz7TOjPCz1ix8MaLTrQH8B/gAt3Ss9hXvKgD/ZtOItG3Iz8y0
      # tHslvPvJKHlr8s5Ol9rxRPzRG7iigAo=
      # =DQho
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Fri 19 Aug 2022 07:02:20 AM PDT
      # gpg:                using EDDSA key BCE9123E1AD29F07C049BBDEF712B510A23A0F5F
      # gpg: Good signature from "Helge Deller <deller@gmx.de>" [unknown]
      # gpg:                 aka "Helge Deller <deller@kernel.org>" [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: 4544 8228 2CD9 10DB EF3D  25F8 3E5F 3D04 A7A2 4603
      #      Subkey fingerprint: BCE9 123E 1AD2 9F07 C049  BBDE F712 B510 A23A 0F5F
      
      * tag 'for-7.1-hppa' of https://github.com/hdeller/qemu-hppa
      
      :
        target/hppa: Fix proberi instruction emulation for linux-user
      
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      ba58ccbe
    • Richard Henderson's avatar
      Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging · a78241a6
      Richard Henderson authored
      Fix SIGSEGV with query-stats-schema.
      
      This allows management tools to query the statistics schemas without
      worrying that some versions of QEMU will crash.
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmL/U90UHHBib256aW5p
      # QHJlZGhhdC5jb20ACgkQv/vSX3jHroN93gf/Q9pye7bA436FsMujHgaspp7asI0z
      # MHgs1anNSEoRrogIqw595Blyt7ILGvEe333rpDqg23W52/NVn+R0qdiTeg/lG/Zm
      # zDLCT8T9CrJZEJvmRora6JPapjrsXRiXsDCkhi8ClqoEPm1X/rDCRMtxpOKJzk5E
      # dZTLZcy6FVtcNroqx2BzAJiDcXlby6H92LTXmBRFK6jesst9nj4wvZLiDhsLBEte
      # PdVXbxCV85OKRng55c9wyFuthkAi7UtRCYrgjPSDqCe/UnnscVPYEDQElMfmf8Ts
      # DL7vQ0MZy8F9hVd851Mu57uKeYVenAETNEs/P9qfwo1ANPizqcB+ACYoBA==
      # =LX7e
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Fri 19 Aug 2022 02:11:57 AM PDT
      # gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
      # gpg:                issuer "pbonzini@redhat.com"
      # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [undefined]
      # gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>" [undefined]
      # 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: 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
      
      :
        kvm: fix segfault with query-stats-schemas and -M none
      
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      a78241a6