Skip to content
Snippets Groups Projects
  1. Jun 06, 2023
    • Paolo Bonzini's avatar
      meson: subprojects: replace berkeley-{soft,test}float-3 with wraps · d2dfe0b5
      Paolo Bonzini authored
      
      Unlike other subprojects, these require an overlay directory to include
      meson rules to build the libraries.  The rules are basically lifted
      from tests/fp/meson.build, with a few changes to create platform.h
      and publish a dependency.
      
      The build defines are passed through a subproject option, and posted
      back to users of the library via the dependency's compile_args.
      
      The only remaining user of GIT_SUBMODULES and GIT_SUBMODULES_ACTION
      is roms/SLOF, which is used to build pc-bios/s390-ccw.  All other
      roms submodules are only present to satisfy the license on pre-built
      firmware blobs.
      
      Best reviewed with --color-moved.
      
      Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      d2dfe0b5
    • Paolo Bonzini's avatar
      meson: subprojects: replace submodules with wrap files · 2019cabf
      Paolo Bonzini authored
      
      Compared to submodules, .wrap files have several advantages:
      
      * option parsing and downloading is delegated to meson
      
      * the commit is stored in a text file instead of a magic entry in the
        git tree object
      
      * we could stop shipping external dependencies that are only used as a
        fallback, but not break compilation on platforms that lack them.
        For example it may make sense to download dtc at build time, controlled
        by --enable-download, even when building from a tarball.  Right now,
        this patch does the opposite: make-release treats dtc like libvfio-user
        (which is not stable API and therefore hasn't found its way into any
        distros) and keycodemap (which is a copylib, for better or worse).
      
      dependency() can fall back to a wrap automatically.  However, this
      is only possible for libraries that come with a .pc file, and this
      is not very common for libfdt even though the upstream project in
      principle provides it; it also removes the control that we provide with
      --enable-fdt={system,internal}.  Therefore, the logic to pick system
      vs. internal libfdt is left untouched.
      
      --enable-fdt=git is removed; it was already a synonym for
      --enable-fdt=internal.
      
      Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      2019cabf
  2. May 26, 2023
  3. May 18, 2023
  4. Feb 14, 2023
  5. Sep 26, 2022
    • Thomas Huth's avatar
      Remove the slirp submodule (i.e. compile only with an external libslirp) · 5890258a
      Thomas Huth authored
      
      Since QEMU 7.1 we don't support Ubuntu 18.04 anymore, so the last big
      important Linux distro that did not have a pre-packaged libslirp has
      been dismissed. All other major distros seem to have a libslirp package
      in their distribution already - according to repology.org:
      
                Fedora 35: 4.6.1
        CentOS 8 (RHEL-8): 4.4.0
                Debian 11: 4.4.0
       OpenSUSE Leap 15.3: 4.3.1
         Ubuntu LTS 20.04: 4.1.0
            FreeBSD Ports: 4.7.0
            NetBSD pkgsrc: 4.7.0
                 Homebrew: 4.7.0
              MSYS2 mingw: 4.7.0
      
      The only one that was still missing a libslirp package is OpenBSD - but
      the next version (OpenBSD 7.2 which will be shipped in October) is going
      to include a libslirp package. Since QEMU 7.2 will be published after
      OpenBSD 7.2, we should be fine there, too.
      
      So there is no real urgent need for keeping the slirp submodule in
      the QEMU tree anymore. Thus let's drop the slirp submodule now and
      rely on the libslirp packages from the distributions instead.
      
      Message-Id: <20220824151122.704946-7-thuth@redhat.com>
      Acked-by: default avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      5890258a
  6. Jun 15, 2022
    • Jagannathan Raman's avatar
      vfio-user: build library · 55116968
      Jagannathan Raman authored
      
      add the libvfio-user library as a submodule. build it as a meson
      subproject.
      
      libvfio-user is distributed with BSD 3-Clause license and
      json-c with MIT (Expat) license
      
      Signed-off-by: default avatarElena Ufimtseva <elena.ufimtseva@oracle.com>
      Signed-off-by: default avatarJohn G Johnson <john.g.johnson@oracle.com>
      Signed-off-by: default avatarJagannathan Raman <jag.raman@oracle.com>
      Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      Message-id: c2adec87958b081d1dc8775d4aa05c897912f025.1655151679.git.jag.raman@oracle.com
      
      [Changed submodule URL to QEMU's libvfio-user mirror on GitLab. The QEMU
      project mirrors its dependencies so that it can provide full source code
      even in the event that its dependencies become unavailable. Note that
      the mirror repo is manually updated, so please contact me to make newer
      libvfio-user commits available. If I become a bottleneck we can set up a
      cronjob.
      
      Updated scripts/meson-buildoptions.sh to match the meson_options.txt
      change. Failure to do so can result in scripts/meson-buildoptions.sh
      being modified by the build system later on and you end up with a dirty
      working tree.
      --Stefan]
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      55116968
  7. May 18, 2022
  8. Feb 09, 2022
  9. Jan 18, 2022
    • Daniel P. Berrangé's avatar
      tests: integrate lcitool for generating build env manifests · 4ebb040f
      Daniel P. Berrangé authored
      This introduces
      
        https://gitlab.com/libvirt/libvirt-ci
      
      
      
      as a git submodule at tests/lcitool/libvirt-ci
      
      The 'lcitool' program within this submodule will be used to
      automatically generate build environment manifests from a definition
      of requirements in tests/lcitool/projects/qemu.yml
      
      It will ultimately be capable of generating
      
       - Dockerfiles
       - Package lists for installation in VMs
       - Variables for configuring Cirrus CI environments
      
      When a new build pre-requisite is needed for QEMU, if this package
      is not currently known to libvirt-ci, it must first be added to the
      'mappings.yml' file in the above git repo.
      
      Then the submodule can be updated and the build pre-requisite added
      to the tests/lcitool/projects/qemu.yml file. Now all the build env
      manifests can be re-generated using  'make lcitool-refresh'
      
      This ensures that when a new build pre-requisite is introduced, it
      is added to all the different OS containers, VMs and Cirrus CI
      environments consistently.
      
      It also facilitates the addition of containers targetting new distros
      or updating existing containers to new versions of the same distro,
      where packages might have been renamed.
      
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Message-Id: <20211215141949.3512719-8-berrange@redhat.com>
      Message-Id: <20220105135009.1584676-8-alex.bennee@linaro.org>
      4ebb040f
  10. Feb 09, 2021
  11. Sep 23, 2020
  12. Sep 14, 2020
  13. Aug 21, 2020
  14. Feb 02, 2020
  15. Oct 22, 2019
  16. Jul 18, 2019
  17. May 03, 2019
  18. May 02, 2019
  19. Feb 21, 2019
  20. Nov 12, 2018
  21. Oct 05, 2018
  22. Jul 02, 2018
    • Gerd Hoffmann's avatar
      vgabios: remove submodule and build rules. · 91b8eba9
      Gerd Hoffmann authored
      
      It's the old, lgpl vgabios implementation.
      
      Was left in as fallback when we switched to seavgabios, so we could
      easily switch back in case we see regressions.  It's unused since years
      now, reportedly doesn't even build, and lacks support for recently (and
      not so recently) added display devices.
      
      Zap it.
      
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      91b8eba9
  23. Apr 10, 2018
  24. Mar 22, 2018
  25. Mar 06, 2018
  26. Jan 31, 2018
  27. Oct 26, 2017
  28. Oct 16, 2017
    • Daniel P. Berrangé's avatar
      ui: add keycodemapdb repository as a GIT submodule · 92712822
      Daniel P. Berrangé authored
      The https://gitlab.com/keycodemap/keycodemapdb/
      
       repo contains a
      data file mapping between all the different scancode/keycode/keysym
      sets that are known, and a tool to auto-generate lookup tables for
      different combinations.
      
      It is used by GTK-VNC, SPICE-GTK and libvirt for mapping keys.
      Using it in QEMU will let us replace many hand written lookup
      tables with auto-generated tables from a master data source,
      reducing bugs. Adding new QKeyCodes will now only require the
      master table to be updated, all ~20 other tables will be
      automatically updated to follow.
      
      Signed-off-by: default avatarDaniel P. Berrange <berrange@redhat.com>
      Message-id: 20170929101201.21039-4-berrange@redhat.com
      
      [ kraxel: fix build ]
      [ kraxel: switch repo to qemu.git mirror ]
      
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      92712822
  29. Sep 13, 2017
    • Gerd Hoffmann's avatar
      pixman: drop submodule · c12b6d70
      Gerd Hoffmann authored
      
      Drop pixman submodule and support for the "internal" pixman build.
      pixman should be reasonably well established meanwhile so we don't
      need the fallback submodule any more.  While being at it also drop
      some #ifdefs for pixman versions older than what we require in
      configure anyway.
      
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      Message-id: 20170905140116.28181-2-kraxel@redhat.com
      c12b6d70
  30. May 10, 2017
  31. Oct 27, 2016
  32. Jun 16, 2014
  33. Mar 12, 2014
  34. Oct 11, 2013
    • Stefan Hajnoczi's avatar
      Use qemu-project.org domain name · 85938981
      Stefan Hajnoczi authored
      
      qemu.org is held by a third-party and no core community contributor has
      access to the DNS configuration.  This leaves the website exposed to
      outages due to DNS issues or IP address changes.  For example, if the
      web server IP address needs to change we cannot guarantee qemu.org will
      point to it!
      
      The newer qemu-project.org domain name is owned by Anthony Liguori
      <anthony@codemonkey.ws>.  You can confirm this by querying the whois
      information.  Also note that the #qemu IRC channel topic already
      references qemu-project.org.
      
      Short of having a dedicated legal entity to hold the domain name on
      behalf of the community, qemu-project.org seems like the safest bet.
      
      Let's replace references to qemu.org with qemu-project.org.
      
      Note that git-submodule(1) does not detect URL changes.  The following
      commands clear out and re-initialize all submodules to ensure you are
      using the latest URLs:
      
        $ git submodule deinit . # you'll be warned if you have local changes
        $ rm -rf .git/modules    # also clear cached .git/ directories
        $ git submodule update --init
      
      Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      Message-id: 1381495958-8306-1-git-send-email-stefanha@redhat.com
      Signed-off-by: default avatarAnthony Liguori <aliguori@amazon.com>
      85938981
  35. Jul 18, 2013
  36. Apr 18, 2013
Loading