Skip to content
Snippets Groups Projects
  1. Oct 27, 2022
  2. Oct 26, 2022
    • Stefan Hajnoczi's avatar
      Merge tag 'dump-pull-request' of https://gitlab.com/marcandre.lureau/qemu into staging · 344744e1
      Stefan Hajnoczi authored
      dump queue
      
      Hi
      
      The "dump" queue, with:
      - [PATCH v3/v4 0/9] dump: Cleanup and consolidation
      - [PATCH v4 0/4] dump: add 32-bit guest Windows support
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQJQBAABCAA6FiEEh6m9kz+HxgbSdvYt2ujhCXWWnOUFAmNY9gMcHG1hcmNhbmRy
      # ZS5sdXJlYXVAcmVkaGF0LmNvbQAKCRDa6OEJdZac5ZUtD/kByfamsq/8hnS6N/ok
      # xs9kXO+HZA1A1Kng19RjYWbTka1LpEAf6y6tPtV27l5rWJZxCgqFp3Q2VKQyzAxl
      # Bcf4gvEhUDJI87jHrZ8WBJ0JvPL8pKNjPn4JUPOQO+6kX8A/3XTwAyvH/T3uxlTo
      # I+4HLwY0EkJ6NU6Cokud5Uo36Zj7JghKrBxTDrd3NC0qSy8xOoIsB5Pbp2PVKuX2
      # F5Zfll3F+NUDsj9zmMR6agP4PBUJUB680TtvMpMZXb2BXumKDLngthCLRtGrgsDh
      # ChjYr6xkRS9qlXn0PWIYsUyDucDuRFfqTz/Pa9OcGhQuQfIfQiGOM2IFQUE3UcuN
      # OphJEFi44za3E7xEZziAGIFmro+k8zX2fjgN3+mApxpBjUAF/uzoW1VzIIdx65Gh
      # H/IguECFu7AwMxPucRUI7PkwexgIcqpufeTRqep2nCFsAwS6bS+obzrAzIMd9kj1
      # ApLhj36lkub0Tn77B8bkf1TYJnpBcYbGZpmPCILtOxpBZGlXm++KD1DKAYt6rbnR
      # 8rQugZNRzEB92aSRTkLJ6QKsqudnbR9ssGbOdEJP+v1fgVtFzYbgygx5QMezGkRw
      # vRLWrNbDLog+uYpI2Kb30ItU7+bsDrads9n/gqiGvTP887T3alCtRdIq+Fb28oor
      # tSBhBMqMOtccMy3k+EoXBXX5gw==
      # =BUEY
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Wed 26 Oct 2022 04:55:31 EDT
      # gpg:                using RSA key 87A9BD933F87C606D276F62DDAE8E10975969CE5
      # gpg:                issuer "marcandre.lureau@redhat.com"
      # gpg: Good signature from "Marc-André Lureau <marcandre.lureau@redhat.com>" [full]
      # gpg:                 aka "Marc-André Lureau <marcandre.lureau@gmail.com>" [full]
      # Primary key fingerprint: 87A9 BD93 3F87 C606 D276  F62D DAE8 E109 7596 9CE5
      
      * tag 'dump-pull-request' of https://gitlab.com/marcandre.lureau/qemu
      
      :
        dump/win_dump: limit number of processed PRCBs
        s390x: pv: Add dump support
        s390x: Add KVM PV dump interface
        include/elf.h: add s390x note types
        s390x: Introduce PV query interface
        s390x: Add protected dump cap
        dump: Add architecture section and section string table support
        dump: Reintroduce memory_offset and section_offset
        dump: Reorder struct DumpState
        dump: Write ELF section headers right after ELF header
        dump: Use a buffer for ELF section data and headers
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      344744e1
    • Stefan Hajnoczi's avatar
      Merge tag 'pull-tcg-20221026' of https://gitlab.com/rth7680/qemu into staging · 08a5d046
      Stefan Hajnoczi authored
      Revert incorrect cflags initialization.
      Add direct jumps for tcg/loongarch64.
      Speed up breakpoint check.
      Improve assertions for atomic.h.
      Move restore_state_to_opc to TCGCPUOps.
      Cleanups to TranslationBlock maintenance.
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmNYlo4dHHJpY2hhcmQu
      # aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV9y2wf9EKsCA6VtYI2Qtftf
      # q/ujYFmUf8AKTb9eVcA0XX71CT1dEnFR7GQyT8B8X13x0pSbOX7tbEWHPreegTFV
      # tESiejvymi6Q9devAB58GVwNoU/zPIQQGhCPxkVUKDmRztJz22MbGUzd7UKPPgU8
      # 2nVMkIpLTMBsKeFLxE/D3ZntmdKsgyI/1Dtkl9TxvlDGsCbMjbNcr8lM+TLaG2oX
      # GZhFyJHKEVy0cobukvhhb/9rU7AWdG/BnFmZM16JxvHV/YCwJBx3Udhcy9xPePUU
      # yIjkGsUAq4aB6H9RFuTWh7GmaY5u6gMbTTi2J7hDos0mzauYJtpgEB/H42LpycGE
      # sOhkLQ==
      # =DUb8
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Tue 25 Oct 2022 22:08:14 EDT
      # gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
      # gpg:                issuer "richard.henderson@linaro.org"
      # gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" [full]
      # Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F
      
      * tag 'pull-tcg-20221026' of https://gitlab.com/rth7680/qemu
      
      : (47 commits)
        accel/tcg: Remove restore_state_to_opc function
        target/xtensa: Convert to tcg_ops restore_state_to_opc
        target/tricore: Convert to tcg_ops restore_state_to_opc
        target/sparc: Convert to tcg_ops restore_state_to_opc
        target/sh4: Convert to tcg_ops restore_state_to_opc
        target/s390x: Convert to tcg_ops restore_state_to_opc
        target/rx: Convert to tcg_ops restore_state_to_opc
        target/riscv: Convert to tcg_ops restore_state_to_opc
        target/ppc: Convert to tcg_ops restore_state_to_opc
        target/openrisc: Convert to tcg_ops restore_state_to_opc
        target/nios2: Convert to tcg_ops restore_state_to_opc
        target/mips: Convert to tcg_ops restore_state_to_opc
        target/microblaze: Convert to tcg_ops restore_state_to_opc
        target/m68k: Convert to tcg_ops restore_state_to_opc
        target/loongarch: Convert to tcg_ops restore_state_to_opc
        target/i386: Convert to tcg_ops restore_state_to_opc
        target/hppa: Convert to tcg_ops restore_state_to_opc
        target/hexagon: Convert to tcg_ops restore_state_to_opc
        target/cris: Convert to tcg_ops restore_state_to_opc
        target/avr: Convert to tcg_ops restore_state_to_opc
        ...
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      08a5d046
    • Stefan Hajnoczi's avatar
      Merge tag 'pull-aspeed-20221025' of https://github.com/legoater/qemu into staging · 7c02614e
      Stefan Hajnoczi authored
      aspeed queue :
      
      * Performance improvement with Object class caching
      * Serial Flash Discovery Parameters support for m25p80 device
      * Various small adjustments on intructions and models
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQIzBAABCAAdFiEEoPZlSPBIlev+awtgUaNDx8/77KEFAmNX/WEACgkQUaNDx8/7
      # 7KFhERAAhrcLcv15ny8RwatHPjzU00ZPQ0PcxGj1VDT66pCVh6M+rIeRPB2scOey
      # Pu8jUvIYJ8w7ozjAP6YTQ1MP/WufniVi91Bx+vs/okSiWZa4dP0/G7NQWoc1at0s
      # NBlkg57l1GMEeQb5x8vC1DizTQ1Z8Q8J/Ur3uXukXCmYVJAwHYpl/Foob1IPFgh8
      # UcJ55LyuRq99lS8ib6HvRftAsC3DOcA/sl3b/TYR2+iKyi1VS2aZoQzxVCavSBcz
      # PoTonT9O4OvIQthAgXRwpylW/aMYU3I7FeyOMKlCNLbmJ8LpVbX2v0KN3WBvWBv4
      # OWP0DiqPUuoWFHLUGKbiVOgWQrTQXZyoD70SD/ObE1oMTLmeBoD1oFizQDvokHAR
      # g2+gMdWnuWcbyaofY7YwuI6qz22gbrgh8JqX6sEWRDnY7HgCUvPhCsmci+bdN5cf
      # dGcE8YKi7aD5gzoU9LRziPlhbwaEsgYLpYS7aGfNcmypgeq6lmNG7xKyw911zCTY
      # uqDZWOUJy0tUIUTxoz3o1/KtsTFugjuZ+9W1SxELptJR37iwlP1vumf6bduwcx/3
      # ba8tzNoXecXO5Icmq5P3lMNVM/abpkDDKS66HA87mABLEd/eCD0ojR9Kfxo0mD74
      # kmQK3MFfJPkTu0ddu1cWhCIgTO7EuLuZL7gzj1oxoeXiU3YcVh8=
      # =u7pS
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Tue 25 Oct 2022 11:14:41 EDT
      # gpg:                using RSA key A0F66548F04895EBFE6B0B6051A343C7CFFBECA1
      # gpg: Good signature from "Cédric Le Goater <clg@kaod.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: A0F6 6548 F048 95EB FE6B  0B60 51A3 43C7 CFFB ECA1
      
      * tag 'pull-aspeed-20221025' of https://github.com/legoater/qemu
      
      :
        arm/aspeed: Replace mx25l25635e chip model
        m25p80: Add the w25q01jvq SFPD table
        m25p80: Add the w25q512jv SFPD table
        m25p80: Add the w25q256 SFPD table
        m25p80: Add the mx66l1g45g SFDP table
        m25p80: Add the mx25l25635f SFPD table
        m25p80: Add the mx25l25635e SFPD table
        m25p80: Add erase size for mx25l25635e
        m25p80: Add the n25q256a SFDP table
        m25p80: Add basic support for the SFDP command
        hw/arm/aspeed: increase Bletchley memory size
        ast2600: Drop NEON from the CPU features
        aspeed/smc: Cache AspeedSMCClass
        ssi: cache SSIPeripheralClass to avoid GET_CLASS()
        tests/avocado/machine_aspeed.py: Fix typos on buildroot
        hw/i2c/aspeed: Fix old reg slave receive
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      7c02614e
    • Viktor Prutyanov's avatar
      dump/win_dump: limit number of processed PRCBs · e38c24cb
      Viktor Prutyanov authored
      
      When number of CPUs utilized by guest Windows is less than defined in
      QEMU (i.e., desktop versions of Windows severely limits number of CPU
      sockets), patch_and_save_context routine accesses non-existent PRCB and
      fails. So, limit number of processed PRCBs by NumberProcessors taken
      from guest Windows driver.
      
      Signed-off-by: default avatarViktor Prutyanov <viktor.prutyanov@redhat.com>
      Reviewed-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-Id: <20221019235948.656411-1-viktor.prutyanov@redhat.com>
      e38c24cb
    • Janosch Frank's avatar
      s390x: pv: Add dump support · 113d8f4e
      Janosch Frank authored
      
      Sometimes dumping a guest from the outside is the only way to get the
      data that is needed. This can be the case if a dumping mechanism like
      KDUMP hasn't been configured or data needs to be fetched at a specific
      point. Dumping a protected guest from the outside without help from
      fw/hw doesn't yield sufficient data to be useful. Hence we now
      introduce PV dump support.
      
      The PV dump support works by integrating the firmware into the dump
      process. New Ultravisor calls are used to initiate the dump process,
      dump cpu data, dump memory state and lastly complete the dump process.
      The UV calls are exposed by KVM via the new KVM_PV_DUMP command and
      its subcommands. The guest's data is fully encrypted and can only be
      decrypted by the entity that owns the customer communication key for
      the dumped guest. Also dumping needs to be allowed via a flag in the
      SE header.
      
      On the QEMU side of things we store the PV dump data in the newly
      introduced architecture ELF sections (storage state and completion
      data) and the cpu notes (for cpu dump data).
      
      Users can use the zgetdump tool to convert the encrypted QEMU dump to an
      unencrypted one.
      
      Signed-off-by: default avatarJanosch Frank <frankja@linux.ibm.com>
      Reviewed-by: default avatarSteffen Eiden <seiden@linux.ibm.com>
      Message-Id: <20221017083822.43118-11-frankja@linux.ibm.com>
      113d8f4e
    • Janosch Frank's avatar
      s390x: Add KVM PV dump interface · 753ca06f
      Janosch Frank authored
      
      Let's add a few bits of code which hide the new KVM PV dump API from
      us via new functions.
      
      Signed-off-by: default avatarJanosch Frank <frankja@linux.ibm.com>
      Reviewed-by: default avatarJanis Schoetterl-Glausch <scgl@linux.ibm.com>
      Reviewed-by: default avatarSteffen Eiden <seiden@linux.ibm.com>
      [ Marc-André: fix up for compilation issue ]
      Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-Id: <20221017083822.43118-10-frankja@linux.ibm.com>
      753ca06f
    • Janosch Frank's avatar
      include/elf.h: add s390x note types · 5433669c
      Janosch Frank authored
      
      Adding two s390x note types
      
      Signed-off-by: default avatarJanosch Frank <frankja@linux.ibm.com>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <20221017083822.43118-9-frankja@linux.ibm.com>
      5433669c
    • Janosch Frank's avatar
      s390x: Introduce PV query interface · 03d83ecf
      Janosch Frank authored
      
      Introduce an interface over which we can get information about UV data.
      
      Signed-off-by: default avatarJanosch Frank <frankja@linux.ibm.com>
      Reviewed-by: default avatarSteffen Eiden <seiden@linux.ibm.com>
      Reviewed-by: default avatarJanis Schoetterl-Glausch <scgl@linux.ibm.com>
      Acked-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <20221017083822.43118-8-frankja@linux.ibm.com>
      03d83ecf
Loading