Skip to content
Snippets Groups Projects
  1. Sep 08, 2023
  2. Sep 07, 2023
    • Stefan Hajnoczi's avatar
      Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging · 03a3a62f
      Stefan Hajnoczi authored
      * only build util/async-teardown.c when system build is requested
      * target/i386: fix BQL handling of the legacy FERR interrupts
      * target/i386: fix memory operand size for CVTPS2PD
      * target/i386: Add support for AMX-COMPLEX in CPUID enumeration
      * compile plugins on Darwin
      * configure and meson cleanups
      * drop mkvenv support for Python 3.7 and Debian10
      * add wrap file for libblkio
      * tweak KVM stubs
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmT5t6UUHHBib256aW5p
      # QHJlZGhhdC5jb20ACgkQv/vSX3jHroMmjwf+MpvVuq+nn+3PqGUXgnzJx5ccA5ne
      # O9Xy8+1GdlQPzBw/tPovxXDSKn3HQtBfxObn2CCE1tu/4uHWpBA1Vksn++NHdUf2
      # P0yoHxGskJu5iYYTtIcNw5cH2i+AizdiXuEjhfNjqD5Y234cFoHnUApt9e3zBvVO
      # cwGD7WpPuSb4g38hHkV6nKcx72o7b4ejDToqUVZJ2N+RkddSqB03fSdrOru0hR7x
      # V+lay0DYdFszNDFm05LJzfDbcrHuSryGA91wtty7Fzj6QhR/HBHQCUZJxMB5PI7F
      # Zy4Zdpu60zxtSxUqeKgIi7UhNFgMcax2Hf9QEqdc/B4ARoBbboh4q4u8kQ==
      # =dH7/
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Thu 07 Sep 2023 07:44:37 EDT
      # 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
      
      : (51 commits)
        docs/system/replay: do not show removed command line option
        subprojects: add wrap file for libblkio
        sysemu/kvm: Restrict kvm_pc_setup_irq_routing() to x86 targets
        sysemu/kvm: Restrict kvm_has_pit_state2() to x86 targets
        sysemu/kvm: Restrict kvm_get_apic_state() to x86 targets
        sysemu/kvm: Restrict kvm_arch_get_supported_cpuid/msr() to x86 targets
        target/i386: Restrict declarations specific to CONFIG_KVM
        target/i386: Allow elision of kvm_hv_vpindex_settable()
        target/i386: Allow elision of kvm_enable_x2apic()
        target/i386: Remove unused KVM stubs
        target/i386/cpu-sysemu: Inline kvm_apic_in_kernel()
        target/i386/helper: Restrict KVM declarations to system emulation
        hw/i386/fw_cfg: Include missing 'cpu.h' header
        hw/i386/pc: Include missing 'cpu.h' header
        hw/i386/pc: Include missing 'sysemu/tcg.h' header
        Revert "mkvenv: work around broken pip installations on Debian 10"
        mkvenv: assume presence of importlib.metadata
        Python: Drop support for Python 3.7
        configure: remove dead code
        meson: list leftover CONFIG_* symbols
        ...
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      03a3a62f
    • Stefan Hajnoczi's avatar
      Merge tag 'ide-pull-request' of https://gitlab.com/jsnow/qemu into staging · 13d9f6dc
      Stefan Hajnoczi authored
      IDE Pull request
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQIzBAABCAAdFiEE+ber27ys35W+dsvQfe+BBqr8OQ4FAmT5RpYACgkQfe+BBqr8
      # OQ7GuA//S/gyyqsnltz4W9D0liaan1a2YsSx7Q2gcKdotdmFwgEHWWuVKorCteQt
      # 1AtkFiA1bawF9ZSRQIpQzMNDOkSJHOs/0HXhdbNRs6JZ6C+c/aLnNSpxIfFpkP3I
      # Wcrmi98F8zHlRc+KGqvZFHW+woqWJxTvglG4OmpMhMWCZRuqADeaxWaywgSXxlK+
      # MtmpsslPeTxHdwa6ijXCJd2ghP59z391Ulo4kZ7YOMou/YLEd/AnezBDtepDGnbb
      # TnyDcvGf+Dp5nJ4Rcp22frZdcxb44+wt2QlQFDp+h6r7KzIEwGIK2LL37sN8VHwU
      # B8GbYkjoPnau2cOaLgmpC1reWkdwaiXfaI+1B/35/jg6hwYHFe6F03+JstMWXHXt
      # ++Wy4MKDx5wRt7cmOu6htS776UC15NMcZB0AzxQuE5mL+eSNp1n5Nw5UW2iD/USL
      # LD2dlMO05acdqn2iXoMTX/K1cUo1wRkEns7PISk+F2ve0PTS1RJUvuiNXs+aDrt9
      # +AfE/e025YMQY8CWLiaihfNH7/QY8vS874SrcDr5rtfhitu16nqq5JpjnyzkqgbR
      # PE+5JWT3QGBOcDMQeNUDfxFlcCVDm3ffIKo/7/PDCfeKQsJkG/nVGF7OmlAVmoUD
      # GsvIlKBegIQvpp8LRabzfeTfbj7NGKFwaShQ6wcqxOakjy+iKx8=
      # =ZRVt
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Wed 06 Sep 2023 23:42:14 EDT
      # gpg:                using RSA key F9B7ABDBBCACDF95BE76CBD07DEF8106AAFC390E
      # gpg: Good signature from "John Snow (John Huston) <jsnow@redhat.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: FAEB 9711 A12C F475 812F  18F2 88A9 064D 1835 61EB
      #      Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76  CBD0 7DEF 8106 AAFC 390E
      
      * tag 'ide-pull-request' of https://gitlab.com/jsnow/qemu
      
      :
        hw/ide/ahci: fix broken SError handling
        hw/ide/ahci: fix ahci_write_fis_sdb()
        hw/ide/ahci: PxCI should not get cleared when ERR_STAT is set
        hw/ide/ahci: PxSACT and PxCI is cleared when PxCMD.ST is cleared
        hw/ide/ahci: simplify and document PxCI handling
        hw/ide/ahci: write D2H FIS when processing NCQ command
        hw/ide/core: set ERR_STAT in unsupported command completion
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      13d9f6dc
    • Stefan Hajnoczi's avatar
      Merge tag 'pull-parallels-2023-09-06' of https://src.openvz.org/scm/~den/qemu into staging · c97d45d5
      Stefan Hajnoczi authored
      Parallels format driver changes:
        * Fix comments formatting inside parallels driver
        * Incorrect data end calculation in parallels_open()
        * Check if data_end greater than the file size
        * Add "explicit" argument to parallels_check_leak()
        * Add data_start field to BDRVParallelsState
        * Add checking and repairing duplicate offsets in BAT
        * Image repairing in parallels_open()
        * Use bdrv_co_getlength() in parallels_check_outside_image()
        * Add data_off check
        * Add data_off repairing to parallels_open()
        * Fix record in MAINTAINERS
      
      Parallels format driver tests:
        * Add out-of-image check test for parallels format
        * Add leak check test for parallels format
        * Add test for BAT entries duplication check
        * Refactor tests of parallels images checks (131)
        * Fix cluster size in parallels images tests (131)
        * Fix test 131 after repair was added to parallels_open()
        * Add test for data_off check
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQHDBAABCgAtFiEE9vE2f3B8+RUZInytPzClrpN3nJ8FAmT4nUgPHGRlbkBvcGVu
      # dnoub3JnAAoJED8wpa6Td5yf1F4L/j4RsGv+NRJRqZb9JNn2wUm4JdWGyv6ftuuh
      # hT25F44B5S6J3tR3LalDFxHpr+kCXD1Xa3ZJNK14d1G9atw7Bsp5ntxpCmzEALBk
      # 0PH+5fvNuhvt4ZnuYwQX70n3ZmalgzGpwf/jbs9mXUhdLinEr1RWi2f9yfCLmeZU
      # x+0MSOhAdC6ZVsJOTJhGuRWWKL1q5KteuTwQlRCwDay8KF/Mc1OS/iPFqfmlWenM
      # dc88PZBlg2Le15sWWNLc1AZHYguO+4xEPw6fk6RcswccILB2gCUPS6BJB0AuKNOO
      # STPIgzUFMXfgIFhNUOvz58A7UnQGI4dMsRe/2UJIG+Y3qkM4DpjcZ7U/rHxhR6t0
      # +GeeLS+a+aObz79TpB3gZi7leX2bpRUZ8nLkaAnL2umhtdFo5sdqD3xo4xcg4Ebk
      # TbYSmgIM0eZ75d+48g7A+ddkyKYCmworGS9g9Cry6udclbs8yXhVB8KkUbYwtJlC
      # HtNzgaWlw6J7n0MoSpz4OQVKq3bY0A==
      # =grCk
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Wed 06 Sep 2023 11:39:52 EDT
      # gpg:                using RSA key F6F1367F707CF91519227CAD3F30A5AE93779C9F
      # gpg:                issuer "den@openvz.org"
      # gpg: Good signature from "Denis V. Lunev <den@openvz.org>" [unknown]
      # gpg: WARNING: The key's User ID is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: F6F1 367F 707C F915 1922  7CAD 3F30 A5AE 9377 9C9F
      
      * tag 'pull-parallels-2023-09-06' of https://src.openvz.org/scm/~den/qemu
      
      :
        iotests: Add test for data_off check
        iotests: Fix test 131 after repair was added to parallels_open()
        iotests: Fix cluster size in parallels images tests (131)
        iotests: Refactor tests of parallels images checks (131)
        iotests: Add test for BAT entries duplication check
        iotests: Add leak check test for parallels format
        iotests: Add out-of-image check test for parallels format
        parallels: Add data_off repairing to parallels_open()
        parallels: Add data_off check
        parallels: Use bdrv_co_getlength() in parallels_check_outside_image()
        parallels: Image repairing in parallels_open()
        parallels: Add checking and repairing duplicate offsets in BAT
        parallels: Add data_start field to BDRVParallelsState
        parallels: Add "explicit" argument to parallels_check_leak()
        parallels: Check if data_end greater than the file size
        parallels: Incorrect data end calculation in parallels_open()
        parallels: Fix comments formatting inside parallels driver
        MAINTAINERS: add tree to keep parallels format driver changes
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      c97d45d5
    • Stefan Hajnoczi's avatar
      Merge tag 'pull-ppc-20230906' of https://github.com/legoater/qemu into staging · 269e6063
      Stefan Hajnoczi authored
      ppc queue :
      
      * debug facility improvements
      * timebase and decrementer fixes
      * record-replay fixes
      * TCG fixes
      * XIVE model improvements for multichip
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQIzBAABCAAdFiEEoPZlSPBIlev+awtgUaNDx8/77KEFAmT4WKoACgkQUaNDx8/7
      # 7KHjOg//bwENCptopnvX5XVTdGLRgBKoMWPkQhWPv4aHYz4t+bxHVWopdMU7i0aL
      # hge+ZCCkMKsg2rADczbpWytAvC3vo1Pn4zZhZNQuEvYKIpiWVN6hSflmXWP/bN1I
      # AGHlptKvNYKlPfGsmzZ2OZ2yItzrOwKFC/PnPSEc6dxjWfe9hEwzApxaAkOfX8wf
      # C+oH8DPvFmh3PH3rI4psCn/xYtxAPW1zosBtgT7Ii1XreABMHLIfIpOmPPh1yF0d
      # J7BgBdmxIvsN+syH/vh5jTtU4N/gQVorwyds9MX82Y3j0roxBVVLqH8rFjJA3Jsq
      # c/g8WTi1hHiDd8G4m1JcLI1VAhsgh1KhqG9pDaSdQXhP0E4p8N/XjxOR5ro+KxM3
      # Dz/Q77VoEKuat+AXg71kc68i11CninhTVSyGnjI80ISWWYvHFQ2Sv8J9U6sS/d0m
      # +fo6hed7DDgfXg4OMtedF4HMmc6JAfm9eBzHUoanaoIzX0vX6vetXeMfWh6iceYW
      # KNcQuUi3Pvvh/AjE36jusqTkbTleP5Yo4OKNJz4pEP4sU2wQPYU32Lo7Kg7p4WPA
      # j+emWmWX4gcn9zTvm2LPYwkdgQ5HgigUJzq9i9qlMqfOOCpRwAsE7V0KxyV0NwDT
      # cAAOBCdNm4t94Ni3KEING7xuDzERvJ7H2D6uRQjVsre8cMUO0QE=
      # =BUg6
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Wed 06 Sep 2023 06:47:06 EDT
      # gpg:                using RSA key A0F66548F04895EBFE6B0B6051A343C7CFFBECA1
      # gpg: Good signature from "Cédric Le Goater <clg@redhat.com>" [unknown]
      # gpg:                 aka "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-ppc-20230906' of https://github.com/legoater/qemu
      
      : (35 commits)
        ppc/xive: Add support for the PC MMIOs
        ppc/xive: Handle END triggers between chips with MMIOs
        ppc/xive: Introduce a new XiveRouter end_notify() handler
        ppc/xive: Use address_space routines to access the machine RAM
        target/ppc: Fix the order of kvm_enable judgment about kvmppc_set_interrupt()
        hw/ppc/e500: fix broken snapshot replay
        target/ppc: Flush inputs to zero with NJ in ppc_store_vscr
        target/ppc: Fix LQ, STQ register-pair order for big-endian
        tests/avocado: ppc64 reverse debugging tests for pseries and powernv
        tests/avocado: reverse-debugging cope with re-executing breakpoints
        tests/avocado: boot ppc64 pseries replay-record test to Linux VFS mount
        spapr: Fix record-replay machine reset consuming too many events
        spapr: Fix machine reset deadlock from replay-record
        target/ppc: Fix timebase reset with record-replay
        target/ppc: Fix CPU reservation migration for record-replay
        hw/ppc: Read time only once to perform decrementer write
        hw/ppc: Reset timebase facilities on machine reset
        target/ppc: Migrate DECR SPR
        hw/ppc: Always store the decrementer value
        target/ppc: Sign-extend large decrementer to 64-bits
        ...
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      269e6063
    • Paolo Bonzini's avatar
      docs/system/replay: do not show removed command line option · 34e81820
      Paolo Bonzini authored
      
      Cc: qemu-trivial@nongnu.org
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      34e81820
    • Paolo Bonzini's avatar
      subprojects: add wrap file for libblkio · 6170d09c
      Paolo Bonzini authored
      
      This allows building libblkio at the same time as QEMU, if QEMU is
      configured with --enable-blkio --enable-download.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      6170d09c
    • Philippe Mathieu-Daudé's avatar
      sysemu/kvm: Restrict kvm_pc_setup_irq_routing() to x86 targets · bb781b94
      Philippe Mathieu-Daudé authored
      
      kvm_pc_setup_irq_routing() is only defined for x86 targets (in
      hw/i386/kvm/apic.c). Its declaration is pointless on all
      other targets.
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Message-ID: <20230904124325.79040-14-philmd@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      bb781b94
    • Philippe Mathieu-Daudé's avatar
      sysemu/kvm: Restrict kvm_has_pit_state2() to x86 targets · fc30abf8
      Philippe Mathieu-Daudé authored
      
      kvm_has_pit_state2() is only defined for x86 targets (in
      target/i386/kvm/kvm.c). Its declaration is pointless on
      all other targets. Have it return a boolean.
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Message-ID: <20230904124325.79040-13-philmd@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      fc30abf8
    • Philippe Mathieu-Daudé's avatar
      sysemu/kvm: Restrict kvm_get_apic_state() to x86 targets · 1f49d476
      Philippe Mathieu-Daudé authored
      
      kvm_get_apic_state() is only defined for x86 targets (in
      hw/i386/kvm/apic.c). Its declaration is pointless on all
      other targets.
      
      Since we include "linux-headers/asm-x86/kvm.h", no need
      to forward-declare 'struct kvm_lapic_state'.
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Message-ID: <20230904124325.79040-12-philmd@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      1f49d476
    • Philippe Mathieu-Daudé's avatar
      sysemu/kvm: Restrict kvm_arch_get_supported_cpuid/msr() to x86 targets · f3f99d2a
      Philippe Mathieu-Daudé authored
      
      kvm_arch_get_supported_cpuid() / kvm_arch_get_supported_msr_feature()
      are only defined for x86 targets (in target/i386/kvm/kvm.c). Their
      declarations are pointless on other targets.
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Message-ID: <20230904124325.79040-11-philmd@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      f3f99d2a
    • Philippe Mathieu-Daudé's avatar
      target/i386: Restrict declarations specific to CONFIG_KVM · 33bc5f1d
      Philippe Mathieu-Daudé authored
      
      Keep the function accessed by target/i386/ and hw/i386/
      exposed, restrict the ones accessed by target/i386/kvm/.
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Message-ID: <20230904124325.79040-10-philmd@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      33bc5f1d
    • Philippe Mathieu-Daudé's avatar
      target/i386: Allow elision of kvm_hv_vpindex_settable() · ef1cf689
      Philippe Mathieu-Daudé authored
      
      Call kvm_enabled() before kvm_hv_vpindex_settable()
      to let the compiler elide its call.
      
      kvm-stub.c is now empty, remove it.
      
      Suggested-by: default avatarDaniel Henrique Barboza <dbarboza@ventanamicro.com>
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Message-ID: <20230904124325.79040-9-philmd@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      ef1cf689
    • Philippe Mathieu-Daudé's avatar
      target/i386: Allow elision of kvm_enable_x2apic() · 9926cf34
      Philippe Mathieu-Daudé authored
      
      Call kvm_enabled() before kvm_enable_x2apic() to let the compiler elide
      its call.  Cleanup the code by simplifying "!xen_enabled() &&
      kvm_enabled()" to just "kvm_enabled()".
      
      Suggested-by: default avatarDaniel Henrique Barboza <dbarboza@ventanamicro.com>
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Message-ID: <20230904124325.79040-8-philmd@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      9926cf34
    • Philippe Mathieu-Daudé's avatar
      target/i386: Remove unused KVM stubs · 3adce820
      Philippe Mathieu-Daudé authored
      
      All these functions:
      
       - kvm_arch_get_supported_cpuid()
       - kvm_has_smm(()
       - kvm_hyperv_expand_features()
       - kvm_set_max_apic_id()
      
      are called after checking for kvm_enabled(), which is
      false when KVM is not built. Since the compiler elides
      these functions, their stubs are not used and can be
      removed.
      
      Inspired-by: default avatarDaniel Henrique Barboza <dbarboza@ventanamicro.com>
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Message-ID: <20230904124325.79040-7-philmd@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      3adce820
    • Philippe Mathieu-Daudé's avatar
      target/i386/cpu-sysemu: Inline kvm_apic_in_kernel() · 721cf738
      Philippe Mathieu-Daudé authored
      
      In order to have cpu-sysemu.c become accelerator-agnostic,
      inline kvm_apic_in_kernel() -- which is a simple wrapper
      to kvm_irqchip_in_kernel() -- and use the generic "sysemu/kvm.h"
      header.
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Message-ID: <20230904124325.79040-6-philmd@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      721cf738
    • Philippe Mathieu-Daudé's avatar
      target/i386/helper: Restrict KVM declarations to system emulation · 28a43cb4
      Philippe Mathieu-Daudé authored
      
      User emulation doesn't need any KVM declarations.
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Message-ID: <20230904124325.79040-5-philmd@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      28a43cb4
    • Philippe Mathieu-Daudé's avatar
      hw/i386/fw_cfg: Include missing 'cpu.h' header · 2686bbce
      Philippe Mathieu-Daudé authored
      
      fw_cfg_build_feature_control() uses CPUID_EXT_VMX which is
      defined in "target/i386/cpu.h".
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Message-ID: <20230904124325.79040-4-philmd@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      2686bbce
    • Philippe Mathieu-Daudé's avatar
      hw/i386/pc: Include missing 'cpu.h' header · d1aa2f50
      Philippe Mathieu-Daudé authored
      
      Both pc_piix.c and pc_q35.c files use CPU_VERSION_LEGACY
      which is defined in "target/i386/cpu.h".
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Message-ID: <20230904124325.79040-3-philmd@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      d1aa2f50
    • Philippe Mathieu-Daudé's avatar
      hw/i386/pc: Include missing 'sysemu/tcg.h' header · e44d989a
      Philippe Mathieu-Daudé authored
      
      Since commit 6f529b75 ("target/i386: move FERR handling
      to target/i386") pc_q35_init() calls tcg_enabled() which
      is declared in "sysemu/tcg.h".
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
      Message-ID: <20230904124325.79040-2-philmd@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      e44d989a
    • Paolo Bonzini's avatar
      Revert "mkvenv: work around broken pip installations on Debian 10" · 0a88ac96
      Paolo Bonzini authored
      
      Debian 10 has Python 3.7, so it is not possible to use it anymore
      now that Python 3.8 is required.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      0a88ac96
    • Paolo Bonzini's avatar
      mkvenv: assume presence of importlib.metadata · 3e4b6b0a
      Paolo Bonzini authored
      
      importlib.metadata is included in Python 3.8, so there is no
      need to fallback to either importlib-metadata or pkgresources
      when generating console script shims.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      3e4b6b0a
    • Paolo Bonzini's avatar
      Python: Drop support for Python 3.7 · ca056f44
      Paolo Bonzini authored
      
      Debian 10 is not anymore a supported distro, since Debian 12 was
      released on June 10, 2023.  Our supported build platforms as of today
      all support at least 3.8 (and all of them except for Ubuntu 20.04
      support 3.9):
      
      openSUSE Leap 15.5: 3.6.15 (3.11.2)
      CentOS Stream 8:    3.6.8  (3.8.13, 3.9.16, 3.11.4)
      CentOS Stream 9:    3.9.17 (3.11.4)
      Fedora 37:          3.11.4
      Fedora 38:          3.11.4
      Debian 11:          3.9.2
      Debian 12:          3.11.2
      Alpine 3.14, 3.15:  3.9.16
      Alpine 3.16, 3.17:  3.10.10
      Ubuntu 20.04 LTS:   3.8.10
      Ubuntu 22.04 LTS:   3.10.12
      NetBSD 9.3:         3.9.13*
      FreeBSD 12.4:       3.9.16
      FreeBSD 13.1:       3.9.18
      OpenBSD 7.2:        3.9.17
      
      Note: NetBSD does not appear to have a default meta-package, but offers
      several options, the lowest of which is 3.7.15. However, "python39"
      appears to be a pre-requisite to one of the other packages we request
      in tests/vm/netbsd.
      
      Since it is safe under our supported platform policy, bump our
      minimum supported version of Python to 3.8.  The two most interesting
      features to have by default include:
      
      - the importlib.metadata module, whose lack is responsible for over 100
        lines of code in mkvenv.py
      
      - improvements to asyncio, for example asyncio.CancelledError
        inherits from BaseException rather than Exception
      
      In addition, code can now use the assignment operator ':='
      
      Because mypy now learns about importlib.metadata, a small change to
      mkvenv.py is needed to pass type checking.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      ca056f44
Loading