Skip to content
Snippets Groups Projects
  1. Sep 09, 2020
  2. Sep 08, 2020
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/kraxel/tags/sirius/ipxe-20200908-pull-request' into staging · 9435a8b3
      Peter Maydell authored
      
      ipxe: update to aug 2020 snapshot.
      
      # gpg: Signature made Tue 08 Sep 2020 07:09:26 BST
      # gpg:                using RSA key 4CB6D8EED3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * remotes/kraxel/tags/sirius/ipxe-20200908-pull-request:
        ipxe: update binaries
        ipxe: drop ia32 efi roms
        ipxe: update submodule
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      9435a8b3
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2020-09-08' into staging · 67790385
      Peter Maydell authored
      
      QAPI patches patches for 2020-09-08
      
      # gpg: Signature made Tue 08 Sep 2020 07:06:52 BST
      # gpg:                using RSA key 354BC8B3D7EB2A6B68674E5F3870B400EB918653
      # gpg:                issuer "armbru@redhat.com"
      # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>" [full]
      # gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>" [full]
      # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867  4E5F 3870 B400 EB91 8653
      
      * remotes/armbru/tags/pull-qapi-2020-09-08:
        qapi/block-core.json: Fix nbd-server-start docs
        qapi: Fix indentation, again
        qapi/migration.json: Fix indentation
        qapi: Make section headings start a new doc comment block
        qapi: Reject section markup in definition documentation
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      67790385
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-5.2-20200908' into staging · b95ba83f
      Peter Maydell authored
      
      ppc patch queue 2020-09-08
      
      This supersedes ppc-for-5.2-20200904, it fixes a couple of bugs in
      that PR and adds a few extra patches.
      
      Next pull request for qemu-5.2.  The biggest thing here is the
      generalization of ARM's start-powered-off machine property to all
      targets.  This can fix a number of odd little edge cases where KVM
      could run vcpus before they were properly initialized.  This does
      include changes to a number of files that aren't normally in my
      purview.  There are suitable Acked-by lines and Peter requested this
      come in via my tree, since the most pressing requirement for it is in
      pseries machines with the POWER secure virtual machine facility.
      
      In addition we have:
       * Daniel Barboza's rework and clean up of pseries machine NUMA handling
       * Correction to behaviour of the nvdimm= generic machine property on
         pseries
       * An optimization to the allocation of XIVE interrupts on KVM
       * Some fixes for confused behaviour with kernel_irqchip when both
         XICS and XIVE are in play
       * Add HIOMAP comamnd to pnv flash
       * Properly advertise the fact that spapr_vscsi doesn't handle
         hotplugged disks
       * Some assorted minor enhancements
      
      # gpg: Signature made Tue 08 Sep 2020 06:19:34 BST
      # gpg:                using RSA key 75F46586AE61A66CC44E87DC6C38CACA20D9B392
      # gpg: Good signature from "David Gibson <david@gibson.dropbear.id.au>" [full]
      # gpg:                 aka "David Gibson (Red Hat) <dgibson@redhat.com>" [full]
      # gpg:                 aka "David Gibson (ozlabs.org) <dgibson@ozlabs.org>" [full]
      # gpg:                 aka "David Gibson (kernel.org) <dwg@kernel.org>" [unknown]
      # Primary key fingerprint: 75F4 6586 AE61 A66C C44E  87DC 6C38 CACA 20D9 B392
      
      * remotes/dgibson/tags/ppc-for-5.2-20200908: (33 commits)
        spapr_numa: use spapr_numa_get_vcpu_assoc() in home_node hcall
        spapr_numa: create a vcpu associativity helper
        spapr: move h_home_node_associativity to spapr_numa.c
        spapr_numa: move NVLink2 associativity handling to spapr_numa.c
        spapr, spapr_numa: move lookup-arrays handling to spapr_numa.c
        spapr, spapr_numa: handle vcpu ibm,associativity
        spapr: introduce SpaprMachineState::numa_assoc_array
        ppc/spapr_nvdimm: turn spapr_dt_nvdimm() static
        ppc: introducing spapr_numa.c NUMA code helper
        hw/ppc/ppc4xx_pci: Replace pointless warning by assert()
        hw/ppc/ppc4xx_pci: Use ARRAY_SIZE() instead of magic value
        target/s390x: Use start-powered-off CPUState property
        sparc/sun4m: Use start-powered-off CPUState property
        sparc/sun4m: Don't set cs->halted = 0 in main_cpu_reset()
        mips/cps: Use start-powered-off CPUState property
        ppc/e500: Use start-powered-off CPUState property
        ppc/spapr: Use start-powered-off CPUState property
        target/arm: Move setting of CPU halted state to generic code
        target/arm: Move start-powered-off property to generic CPUState
        ppc/spapr_nvdimm: do not enable support with 'nvdimm=off'
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      b95ba83f
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/rth/tags/pull-mb-20200907-2' into staging · 00942071
      Peter Maydell authored
      
      Use lookup_and_goto_tb.
      Cleanup and fill in VMStateDescription.
      
      # gpg: Signature made Mon 07 Sep 2020 21:01:55 BST
      # 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
      
      * remotes/rth/tags/pull-mb-20200907-2:
        configure: Do not set TARGET_ABI32 for microblaze
        target/microblaze: Put MicroBlazeCPUConfig into DisasContext
        target/microblaze: Fill in VMStateDescription for cpu
        target/microblaze: Move mmu parameters to MicroBlazeCPUConfig
        target/microblaze: Treat pvr_regs as constant
        target/microblaze: Move pvr regs to MicroBlazeCPUConfig
        target/microblaze: Reorg MicroBlazeCPUConfig to minimize holes
        target/microblaze: Split out MicroBlazeCPUConfig
        target/microblaze: Diagnose invalid insns in delay slots
        target/microblaze: Use tcg_gen_lookup_and_goto_ptr
        target/microblaze: Force rtid, rted, rtbd to exit
        target/microblaze: Handle DISAS_EXIT_NEXT in delay slot
        target/microblaze: Replace cpustate_changed with DISAS_EXIT_NEXT
        target/microblaze: Introduce DISAS_EXIT_NEXT, DISAS_EXIT_JUMP
        target/microblaze: Rename DISAS_UPDATE to DISAS_EXIT
        target/microblaze: Rename mmu structs
        target/microblaze: Cleanup mb_cpu_do_interrupt
        target/microblaze: Renumber D_FLAG
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      00942071
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/bonzini-gitlab/tags/for-upstream' into staging · 46853bd9
      Peter Maydell authored
      
      meson related:
      * convert unit tests
      * bugfixes for mtest2make
      * miscellaneous bugfixes
      * dead code removal and configure cleanups
      * oss-fuzz fixes
      * msys fixes
      
      # gpg: Signature made Tue 08 Sep 2020 10:43:27 BST
      # 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
      
      * remotes/bonzini-gitlab/tags/for-upstream: (45 commits)
        docs: update build system documentation
        meson: remove linkage of sdl to baum
        meson: Convert undefsym.sh to undefsym.py
        fuzz: Add support for custom fuzzing library
        meson: specify fuzz linker script as a project arg
        oss-fuzz: fix rpath
        configure: update dtc submodule
        docs: suggest Meson replacements for various configure functions
        configure: drop dead variables and functions
        configure: do not include dependency flags in QEMU_CFLAGS and LIBS
        meson: get opengl compilation flags from OPENGL_CFLAGS
        meson: get glib compilation flags from GLIB_CFLAGS
        configure: do not look for install(1)
        configure: remove unnecessary libm test
        configure: move -ldl test to meson
        meson: keep all compiler flags detection together
        configure: move disassembler configuration to meson
        Makefile: inline the relevant parts of rules.mak
        Makefile: remove dead variables and includes
        meson: compute config_all_devices directly
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      46853bd9
    • Paolo Bonzini's avatar
      docs: update build system documentation · ef6a0d6e
      Paolo Bonzini authored
      
      Most of the Makefile bits are obsolete and can be removed.
      
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      ef6a0d6e
    • Bruce Rogers's avatar
      meson: remove linkage of sdl to baum · fd6c986d
      Bruce Rogers authored
      
      Ever since commit 537fe2d6 there
      has been a 'linkage' to sdl for compiling baum.c. Originally it
      had to do with including sdl cflags for any file including sdl
      headers. There is no longer any such need for baum.c, but the
      association has persisted in the make system, and with the switch
      to meson it has now become a hard requirement, which now causes
      chardev-baum.so to not be produced if sdl is not configured.
      Remove this bogus linkage.
      
      Signed-off-by: default avatarBruce Rogers <brogers@suse.com>
      Message-Id: <20200903152933.97838-1-brogers@suse.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      fd6c986d
    • Yonggang Luo's avatar
      meson: Convert undefsym.sh to undefsym.py · 604f3e4e
      Yonggang Luo authored
      
      Shell scripts are not easily invoked from the build process
      on MSYS, so convert undefsym.sh to a python script.
      
      Signed-off-by: default avatarYonggang Luo <luoyonggang@gmail.com>
      Message-Id: <20200902170054.810-3-luoyonggang@gmail.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      604f3e4e
    • Alexander Bulekov's avatar
      fuzz: Add support for custom fuzzing library · 54c9e41d
      Alexander Bulekov authored
      
      On oss-fuzz, we must use the LIB_FUZZING_ENGINE and CFLAGS environment
      variables, rather than -fsanitize=fuzzer. With this change, when
      LIB_FUZZING_ENGINE is set, the --enable-fuzzing configure option will
      use that environment variable during the linking stage, rather than
      -fsanitize=fuzzer
      
      Signed-off-by: default avatarAlexander Bulekov <alxndr@bu.edu>
      Message-Id: <20200902173652.307222-3-alxndr@bu.edu>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      54c9e41d
    • Alexander Bulekov's avatar
      meson: specify fuzz linker script as a project arg · c46f76d1
      Alexander Bulekov authored
      
      With this change, the fuzzer-linker script should be specified outside
      any --start-group/--end-group pairs. We need this on oss-fuzz, where
      partially applying the linker-script results in a linker failure
      
      Signed-off-by: default avatarAlexander Bulekov <alxndr@bu.edu>
      Message-Id: <20200902173652.307222-2-alxndr@bu.edu>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      c46f76d1
    • Alexander Bulekov's avatar
      oss-fuzz: fix rpath · 789035f1
      Alexander Bulekov authored
      
      Prior to this change,
      readelf -d build/out/qemu/qemu-fuzz-i386-target-virtio-net-slirp
      ...
      0x000000000000000f (RPATH)  Library rpath: ['$$ORIGIN/lib':$ORIGIN/migration:$ORIGIN/]
      
      As of 1a4db552 ("ninjatool: quote dollars in variables"), we don't
      need to manually double the dollars. Also, remove the single-quotes as
      they are copied into the rpath.
      
      After this change:
      0x000000000000000f (RPATH)  Library rpath: [$ORIGIN/lib:$ORIGIN/migration:$ORIGIN/]
      
      Signed-off-by: default avatarAlexander Bulekov <alxndr@bu.edu>
      Message-Id: <20200902142657.112879-3-alxndr@bu.edu>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      789035f1
    • Yonggang Luo's avatar
      configure: update dtc submodule · 5d91a2ed
      Yonggang Luo authored
      
      Update the dtc submodule in configure already and symlink dtc after
      git submodule update, because on win32 symlinks to non-existing folders
      are forbidden.
      
      Signed-off-by: default avatarYonggang Luo <luoyonggang@gmail.com>
      Message-Id: <20200902170054.810-2-luoyonggang@gmail.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      5d91a2ed
    • Paolo Bonzini's avatar
    • Paolo Bonzini's avatar
      f2995ee4
    • Paolo Bonzini's avatar
      configure: do not include dependency flags in QEMU_CFLAGS and LIBS · feabc71d
      Paolo Bonzini authored
      
      All Meson executables should specify their dependencies explicitly, either
      directly or indirectly via declare_dependency.  Makefiles instead did
      not propagate dependencies correctly from static libraries, for example.
      Therefore, flags for dependencies need not be included in QEMU_CFLAGS.
      LIBS is not used at all, so drop that one as well.
      
      In a few cases the dependencies were not yet specified, so add them.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      feabc71d
    • Paolo Bonzini's avatar
      meson: get opengl compilation flags from OPENGL_CFLAGS · de2d3005
      Paolo Bonzini authored
      
      The opengl compilation flags were added to QEMU_CFLAGS.  We do not
      want them to be added to all compilation commands, so export them
      also via OPENGL_CFLAGS rather than via QEMU_CFLAGS.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      de2d3005
    • Paolo Bonzini's avatar
      meson: get glib compilation flags from GLIB_CFLAGS · 215b0c2f
      Paolo Bonzini authored
      
      The glib compilation flags were added to QEMU_CFLAGS.  While we still
      want them to be added to all compilation commands (at least for now),
      do that via GLIB_CFLAGS rather than via QEMU_CFLAGS.  This shows that
      glib is a special case and makes it clearer that QEMU_CFLAGS is only
      about compiler commands and not dependencies.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      215b0c2f
    • Paolo Bonzini's avatar
      configure: do not look for install(1) · b6daf4d3
      Paolo Bonzini authored
      
      It is not used anymore, so there is no Solaris-specific check to
      perform.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      b6daf4d3
    • Paolo Bonzini's avatar
      configure: remove unnecessary libm test · 3fc1aad3
      Paolo Bonzini authored
      
      The same test is already performed by meson.build.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      3fc1aad3
    • Paolo Bonzini's avatar
      configure: move -ldl test to meson · ccf7afa5
      Paolo Bonzini authored
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      ccf7afa5
    • Paolo Bonzini's avatar
    • Paolo Bonzini's avatar
    • Paolo Bonzini's avatar
      Makefile: inline the relevant parts of rules.mak · 660f7930
      Paolo Bonzini authored
      
      Most of rules.mak is not used anymore, just inline what's needed.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      660f7930
    • Paolo Bonzini's avatar
      Makefile: remove dead variables and includes · 296bf3d1
      Paolo Bonzini authored
      
      Makefile.objs, the .d files and various CONFIG_* symbols are not
      used anymore by the Make side of the build; they are only processed
      by Meson.  We can delete them.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      296bf3d1
    • Paolo Bonzini's avatar
      meson: compute config_all_devices directly · a98006bc
      Paolo Bonzini authored
      
      There is no need anymore to produce config-all-devices.mak, compute
      the resulting dictionary directly instead of going through grepy.sh.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      a98006bc
    • Paolo Bonzini's avatar
      configure: remove dead code for in-tree builds · 0f4d8894
      Paolo Bonzini authored
      
      The $pwd_is_source_path variable is never "y", since
      configure re-executes itself from a build directory.
      Remove code that will never run.
      
      Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      0f4d8894
Loading