Skip to content
Snippets Groups Projects
  1. Jul 07, 2022
    • Dominique Martinet's avatar
      io_uring: fix short read slow path · c06fc7ce
      Dominique Martinet authored
      sqeq.off here is the offset to read within the disk image, so obviously
      not 'nread' (the amount we just read), but as the author meant to write
      its current value incremented by the amount we just read.
      
      Normally recent versions of linux will not issue short reads,
      but it can happen so we should fix this.
      
      This lead to weird image corruptions when short read happened
      
      Fixes: 6663a0a3 ("block/io_uring: implements interfaces for io_uring")
      Link: https://lkml.kernel.org/r/YrrFGO4A1jS0GI0G@atmark-techno.com
      
      
      Signed-off-by: default avatarDominique Martinet <dominique.martinet@atmark-techno.com>
      Message-Id: <20220630010137.2518851-1-dominique.martinet@atmark-techno.com>
      Reviewed-by: default avatarHanna Reitz <hreitz@redhat.com>
      Reviewed-by: default avatarStefano Garzarella <sgarzare@redhat.com>
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      c06fc7ce
    • Richard Henderson's avatar
      Merge tag 'pull-ppc-20220706' of https://gitlab.com/danielhb/qemu into staging · 8e9398e3
      Richard Henderson authored
      ppc patch queue for 2022-07-06:
      
      This queue consists of improvements and bug fixes in TCG, powernv and
      pSeries, with some fixes in other areas as well.
      
      - tcg and target/ppc: BCDA and mffscdrn implementations, Remove CONFIG_INT128
      conditional code
      - fix '-cpu max' alias
      - remove '-cpu default' alias
      - spapr: fixes in DDW handling, H_WATCHDOG support
      - powernv: cleanups in the pnv-phb3/4 models
      - fix core type of MPC8555 and MPC8560 models
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iHUEABYKAB0WIQQX6/+ZI9AYAK8oOBk82cqW3gMxZAUCYsXrpgAKCRA82cqW3gMx
      # ZBe9AP4oqMTFw7r9EQPJU4QFMUeAVABl4o0xNb2wLyYov9CtKAD+LoVERSmtLTJ1
      # kFpgBrRTWKVylaLEdZQoTdFlJeBwzQg=
      # =GPG1
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Thu 07 Jul 2022 01:38:06 AM +0530
      # gpg:                using EDDSA key 17EBFF9923D01800AF2838193CD9CA96DE033164
      # gpg: Good signature from "Daniel Henrique Barboza <danielhb413@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: 17EB FF99 23D0 1800 AF28  3819 3CD9 CA96 DE03 3164
      
      * tag 'pull-ppc-20220706' of https://gitlab.com/danielhb/qemu
      
      : (34 commits)
        target/ppc: Fix MPC8555 and MPC8560 core type to e500v1
        target/ppc/cpu-models: Remove the "default" CPU alias
        target/ppc: Return default CPU for max CPU
        target/ppc: implement cdtbcd
        target/ppc: implement cbcdtd
        target/ppc: implement addg6s
        target/ppc: Add flag for ISA v2.06 BCDA instructions
        tests/tcg/ppc64: Add mffsce test
        target/ppc: Implement mffscdrn[i] instructions
        target/ppc: Move mffs[.] to decodetree
        target/ppc: Move mffsl to decodetree
        target/ppc: Move mffsce to decodetree
        target/ppc: Move mffscrn[i] to decodetree
        target/ppc: Fix insn32.decode style issues
        ppc/spapr: Implement H_WATCHDOG
        ppc: Define SETFIELD for the ppc target
        target/ppc: use int128.h methods in vsubcuq
        target/ppc: use int128.h methods in vsubecuq and vsubeuqm
        target/ppc: use int128.h methods in vsubuqm
        target/ppc: use int128.h methods in vaddcuq
        ...
      
      Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      8e9398e3
  2. Jul 06, 2022
Loading