qemu.git
8 months agomeson: convert pc-bios/keymaps/Makefile
Marc-André Lureau [Thu, 19 Sep 2019 16:24:43 +0000 (20:24 +0400)] 
meson: convert pc-bios/keymaps/Makefile

Note that sl and sv keymaps were not created by qemu-keymap.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agoconfigure: silence 'shift' error message in version_ge()
Stefano Garzarella [Fri, 21 Aug 2020 20:35:58 +0000 (22:35 +0200)] 
configure: silence 'shift' error message in version_ge()

If there are less than 2 arguments in version_ge(), the second
'shift' prints this error:
    ../configure: line 232: shift: shift count out of range

As Eric suggested, we can use 'shift ${2:+2}' which works out to
'shift 2' if $2 is set, or 'shift' (implicitly shift 1) if $2
is not set.

This patch replaces both 'shift; shift' occurrences in version_ge()
with 'shift ${2:+2}'.

Suggested-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200821203558.10338-1-sgarzare@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agoutil/meson.build: fix fdmon-io_uring build
Stefano Garzarella [Fri, 21 Aug 2020 15:48:53 +0000 (17:48 +0200)] 
util/meson.build: fix fdmon-io_uring build

libqemuutil.a build fails with this error:

  /usr/bin/ld: libqemuutil.a(util_fdmon-io_uring.c.o): in function `get_sqe':
  qemu/build/../util/fdmon-io_uring.c:83: undefined reference to `io_uring_get_sqe'
  /usr/bin/ld: qemu/build/../util/fdmon-io_uring.c:92: undefined reference to `io_uring_submit'
  /usr/bin/ld: qemu/build/../util/fdmon-io_uring.c:96: undefined reference to `io_uring_get_sqe'
  /usr/bin/ld: libqemuutil.a(util_fdmon-io_uring.c.o): in function `fdmon_io_uring_wait':
  qemu/build/../util/fdmon-io_uring.c:289: undefined reference to `io_uring_submit_and_wait'
  /usr/bin/ld: libqemuutil.a(util_fdmon-io_uring.c.o): in function `fdmon_io_uring_setup':
  qemu/build/../util/fdmon-io_uring.c:328: undefined reference to `io_uring_queue_init'
  /usr/bin/ld: libqemuutil.a(util_fdmon-io_uring.c.o): in function `fdmon_io_uring_destroy':
  qemu/build/../util/fdmon-io_uring.c:343: undefined reference to `io_uring_queue_exit'
  collect2: error: ld returned 1 exit status

This patch fix the issue adding 'linux_io_uring' dependency for
fdmon-io_uring.c

Fixes: a81df1b68b ("libqemuutil, qapi, trace: convert to meson")
Cc: pbonzini@redhat.com
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20200821154853.94379-1-sgarzare@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agotarget/s390x: fix meson.build issue
Paolo Bonzini [Fri, 21 Aug 2020 15:52:37 +0000 (11:52 -0400)] 
target/s390x: fix meson.build issue

files() is needed to avoid

../meson.build:977:2: ERROR: File tcg-stub.c does not exist.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agoMerge remote-tracking branch 'remotes/philmd-gitlab/tags/acceptance-testing-20200812...
Peter Maydell [Fri, 21 Aug 2020 13:51:43 +0000 (14:51 +0100)] 
Merge remote-tracking branch 'remotes/philmd-gitlab/tags/acceptance-testing-20200812' into staging

Acceptance tests patches

- Use stable URLs for the Debian and Ubuntu installer
  (Ubuntu has been updated last Wednesday, August 5, 2020).

CI jobs results:
. https://cirrus-ci.com/build/6385815351721984
. https://gitlab.com/philmd/qemu/-/pipelines/177054604

# gpg: Signature made Wed 12 Aug 2020 14:17:09 BST
# gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>" [full]
# Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE

* remotes/philmd-gitlab/tags/acceptance-testing-20200812:
  acceptance: use stable URLs for the Debian and Ubuntu installer
  tests/acceptance/boot_linux: Extract common URL from xlnx-versal test

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
8 months agoMerge remote-tracking branch 'remotes/bonzini-gitlab/tags/for-upstream' into staging
Peter Maydell [Fri, 21 Aug 2020 11:42:49 +0000 (12:42 +0100)] 
Merge remote-tracking branch 'remotes/bonzini-gitlab/tags/for-upstream' into staging

New build system, with "fake in-tree builds" support.

Missing:
* converting configure tests
* converting unit tests
* converting some remaining parts of the installation

# gpg: Signature made Fri 21 Aug 2020 11:33:35 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: (152 commits)
  docs: convert build system documentation to rST
  meson: update build-system documentation
  meson: avoid unstable module warning with Meson 0.56.0 or newer
  meson: convert po/
  meson: convert VNC and dependent libraries to meson
  meson: move SDL and SDL-image detection to meson
  meson: convert sample plugins
  meson: replace create-config with meson configure_file
  rules.mak: drop unneeded macros
  meson: convert check-block
  meson: build texi doc
  docs: automatically track manual dependencies
  meson: sphinx-build
  remove Makefile.target
  rules.mak: remove version.o
  meson: convert systemtap files
  configure: place compatibility symlinks in target directories
  meson: link emulators without Makefile.target
  meson: plugins
  meson: cpu-emu
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
8 months agodocs: convert build system documentation to rST
Paolo Bonzini [Tue, 11 Aug 2020 16:34:40 +0000 (18:34 +0200)] 
docs: convert build system documentation to rST

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: update build-system documentation
Paolo Bonzini [Tue, 4 Feb 2020 10:43:54 +0000 (11:43 +0100)] 
meson: update build-system documentation

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: avoid unstable module warning with Meson 0.56.0 or newer
Paolo Bonzini [Mon, 10 Aug 2020 16:04:43 +0000 (18:04 +0200)] 
meson: avoid unstable module warning with Meson 0.56.0 or newer

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert po/
Marc-André Lureau [Thu, 19 Sep 2019 17:02:09 +0000 (21:02 +0400)] 
meson: convert po/

Meson warns if xgettext is not found.  In the future we may want to add
a required argument to i18n.gettext(); in the meanwhile, I am adding a
--enable-gettext/--disable-gettext option and feature detection in
configure.  This preserves QEMU's default behavior of detecting system
features, without any warning, if neither --enable-* nor --disable-*
is requested.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert VNC and dependent libraries to meson
Paolo Bonzini [Thu, 6 Feb 2020 14:48:52 +0000 (15:48 +0100)] 
meson: convert VNC and dependent libraries to meson

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: move SDL and SDL-image detection to meson
Paolo Bonzini [Thu, 6 Feb 2020 13:17:15 +0000 (14:17 +0100)] 
meson: move SDL and SDL-image detection to meson

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert sample plugins
Paolo Bonzini [Tue, 4 Feb 2020 15:09:05 +0000 (16:09 +0100)] 
meson: convert sample plugins

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: replace create-config with meson configure_file
Paolo Bonzini [Tue, 4 Aug 2020 16:14:26 +0000 (18:14 +0200)] 
meson: replace create-config with meson configure_file

Move the create-config logic to meson.build; create a
configuration_data object and let meson handle the
quoting and output.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agorules.mak: drop unneeded macros
Paolo Bonzini [Thu, 12 Dec 2019 12:30:36 +0000 (13:30 +0100)] 
rules.mak: drop unneeded macros

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert check-block
Paolo Bonzini [Tue, 28 Jan 2020 13:49:18 +0000 (14:49 +0100)] 
meson: convert check-block

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: build texi doc
Paolo Bonzini [Wed, 5 Aug 2020 11:07:48 +0000 (13:07 +0200)] 
meson: build texi doc

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agodocs: automatically track manual dependencies
Paolo Bonzini [Tue, 11 Aug 2020 07:07:04 +0000 (09:07 +0200)] 
docs: automatically track manual dependencies

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: sphinx-build
Paolo Bonzini [Wed, 5 Aug 2020 13:49:10 +0000 (15:49 +0200)] 
meson: sphinx-build

For now, sphinx is run on every invocation of make.  The previous mechanism
using $(wildcard) is not reproducible in Meson and was also brittle; for
example some .rst.inc files were left out.  The next patch will introduce
a Sphinx extension to emit a depfile.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agoremove Makefile.target
Paolo Bonzini [Wed, 5 Aug 2020 11:05:13 +0000 (13:05 +0200)] 
remove Makefile.target

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agorules.mak: remove version.o
Marc-André Lureau [Wed, 4 Sep 2019 12:51:52 +0000 (16:51 +0400)] 
rules.mak: remove version.o

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert systemtap files
Marc-André Lureau [Tue, 20 Aug 2019 08:29:52 +0000 (12:29 +0400)] 
meson: convert systemtap files

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agoconfigure: place compatibility symlinks in target directories
Paolo Bonzini [Wed, 19 Aug 2020 19:36:59 +0000 (15:36 -0400)] 
configure: place compatibility symlinks in target directories

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: link emulators without Makefile.target
Paolo Bonzini [Mon, 3 Aug 2020 15:04:25 +0000 (17:04 +0200)] 
meson: link emulators without Makefile.target

The binaries move to the root directory, e.g. qemu-system-i386 or
qemu-arm.  This requires changes to qtests, CI, etc.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: plugins
Paolo Bonzini [Fri, 24 Jan 2020 12:08:01 +0000 (13:08 +0100)] 
meson: plugins

For now link arguments end up in Makefile.target, they will move to the
right place soon.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: cpu-emu
Marc-André Lureau [Sun, 18 Aug 2019 15:51:17 +0000 (19:51 +0400)] 
meson: cpu-emu

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: bsd-user
Marc-André Lureau [Sun, 18 Aug 2019 15:20:37 +0000 (19:20 +0400)] 
meson: bsd-user

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: linux-user
Marc-André Lureau [Sun, 18 Aug 2019 12:13:08 +0000 (16:13 +0400)] 
meson: linux-user

The most interesting or most complicated part here is the syscall_nr.h
generators.  In order to keep the generation logic all in meson.build,
I am adding to config_target the name of the .tbl file, and making the
generated file syscall<SUFFIX>_nr.h for input file syscall<SUFFIX>.tbl.

For architectures where the input file is not named syscall_nr.tbl,
syscall_nr.h has to be a source file; it's just a forwarder for x86
(i386/x86_64), while for MIPS64 it chooses between N32 and N64 ABIs.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: accel
Marc-André Lureau [Sun, 18 Aug 2019 12:13:08 +0000 (16:13 +0400)] 
meson: accel

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: target
Paolo Bonzini [Fri, 7 Aug 2020 10:10:23 +0000 (12:10 +0200)] 
meson: target

Similar to hw_arch, each architecture defines two sourceset which are placed in
dictionaries target_arch and target_softmmu_arch.  These are then picked up
from there when building the per-emulator static_library.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/arch*
Marc-André Lureau [Sat, 17 Aug 2019 09:55:58 +0000 (13:55 +0400)] 
meson: convert hw/arch*

Each architecture's sourceset is placed in an hw_arch dictionary, and picked up
from there when building the per-emulator static_library.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/9pfs, cleanup
Marc-André Lureau [Sat, 17 Aug 2019 08:04:43 +0000 (12:04 +0400)] 
meson: convert hw/9pfs, cleanup

hw/Makefile.objs is gone so there is more code that can be removed.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/acpi
Marc-André Lureau [Sat, 17 Aug 2019 07:40:51 +0000 (11:40 +0400)] 
meson: convert hw/acpi

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/adc
Marc-André Lureau [Sat, 17 Aug 2019 07:34:47 +0000 (11:34 +0400)] 
meson: convert hw/adc

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/audio
Marc-André Lureau [Sat, 17 Aug 2019 07:33:44 +0000 (11:33 +0400)] 
meson: convert hw/audio

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/block
Marc-André Lureau [Sat, 17 Aug 2019 07:30:59 +0000 (11:30 +0400)] 
meson: convert hw/block

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/char
Marc-André Lureau [Sat, 17 Aug 2019 07:25:08 +0000 (11:25 +0400)] 
meson: convert hw/char

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/cpu
Marc-André Lureau [Sat, 17 Aug 2019 07:21:13 +0000 (11:21 +0400)] 
meson: convert hw/cpu

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/display
Marc-André Lureau [Sat, 17 Aug 2019 07:03:19 +0000 (11:03 +0400)] 
meson: convert hw/display

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/dma
Marc-André Lureau [Fri, 16 Aug 2019 15:06:19 +0000 (19:06 +0400)] 
meson: convert hw/dma

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/gpio
Marc-André Lureau [Fri, 16 Aug 2019 15:03:55 +0000 (19:03 +0400)] 
meson: convert hw/gpio

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/hyperv
Marc-André Lureau [Fri, 16 Aug 2019 15:02:41 +0000 (19:02 +0400)] 
meson: convert hw/hyperv

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/i2c
Marc-André Lureau [Fri, 16 Aug 2019 15:00:37 +0000 (19:00 +0400)] 
meson: convert hw/i2c

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/ide
Marc-André Lureau [Fri, 16 Aug 2019 14:56:47 +0000 (18:56 +0400)] 
meson: convert hw/ide

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/input
Marc-André Lureau [Fri, 16 Aug 2019 14:39:54 +0000 (18:39 +0400)] 
meson: convert hw/input

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/intc
Marc-André Lureau [Fri, 16 Aug 2019 14:36:51 +0000 (18:36 +0400)] 
meson: convert hw/intc

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/ipack
Marc-André Lureau [Fri, 16 Aug 2019 14:23:55 +0000 (18:23 +0400)] 
meson: convert hw/ipack

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/ipmi
Marc-André Lureau [Fri, 16 Aug 2019 14:22:36 +0000 (18:22 +0400)] 
meson: convert hw/ipmi

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/isa
Marc-André Lureau [Fri, 16 Aug 2019 14:20:39 +0000 (18:20 +0400)] 
meson: convert hw/isa

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/misc
Marc-André Lureau [Fri, 16 Aug 2019 14:15:00 +0000 (18:15 +0400)] 
meson: convert hw/misc

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/net
Marc-André Lureau [Fri, 16 Aug 2019 13:48:00 +0000 (17:48 +0400)] 
meson: convert hw/net

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/rdma
Marc-André Lureau [Fri, 16 Aug 2019 13:47:43 +0000 (17:47 +0400)] 
meson: convert hw/rdma

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/nvram
Marc-André Lureau [Fri, 16 Aug 2019 13:35:29 +0000 (17:35 +0400)] 
meson: convert hw/nvram

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/pci
Marc-André Lureau [Fri, 16 Aug 2019 13:32:24 +0000 (17:32 +0400)] 
meson: convert hw/pci

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/pci-bridge
Marc-André Lureau [Fri, 16 Aug 2019 13:26:17 +0000 (17:26 +0400)] 
meson: convert hw/pci-bridge

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/pci-host
Marc-André Lureau [Fri, 16 Aug 2019 13:23:03 +0000 (17:23 +0400)] 
meson: convert hw/pci-host

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/pcmcia
Marc-André Lureau [Fri, 16 Aug 2019 13:19:34 +0000 (17:19 +0400)] 
meson: convert hw/pcmcia

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/scsi
Marc-André Lureau [Fri, 16 Aug 2019 13:16:48 +0000 (17:16 +0400)] 
meson: convert hw/scsi

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/sd
Marc-André Lureau [Fri, 16 Aug 2019 13:04:35 +0000 (17:04 +0400)] 
meson: convert hw/sd

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/ssi
Marc-André Lureau [Fri, 16 Aug 2019 13:02:22 +0000 (17:02 +0400)] 
meson: convert hw/ssi

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/rtc
Paolo Bonzini [Fri, 24 Jan 2020 11:35:13 +0000 (12:35 +0100)] 
meson: convert hw/rtc

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/timer
Paolo Bonzini [Fri, 24 Jan 2020 11:35:13 +0000 (12:35 +0100)] 
meson: convert hw/timer

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/tpm
Paolo Bonzini [Tue, 4 Aug 2020 12:03:59 +0000 (14:03 +0200)] 
meson: convert hw/tpm

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/usb
Paolo Bonzini [Thu, 6 Aug 2020 11:07:39 +0000 (13:07 +0200)] 
meson: convert hw/usb

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/vfio
Marc-André Lureau [Thu, 15 Aug 2019 13:31:07 +0000 (17:31 +0400)] 
meson: convert hw/vfio

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/virtio
Marc-André Lureau [Thu, 15 Aug 2019 13:23:36 +0000 (17:23 +0400)] 
meson: convert hw/virtio

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/watchdog
Marc-André Lureau [Thu, 15 Aug 2019 11:50:11 +0000 (15:50 +0400)] 
meson: convert hw/watchdog

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/mem
Marc-André Lureau [Thu, 15 Aug 2019 11:45:58 +0000 (15:45 +0400)] 
meson: convert hw/mem

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/smbios
Marc-André Lureau [Thu, 15 Aug 2019 11:39:54 +0000 (15:39 +0400)] 
meson: convert hw/smbios

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/nubus
Paolo Bonzini [Fri, 24 Jan 2020 11:50:57 +0000 (12:50 +0100)] 
meson: convert hw/nubus

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/semihosting
Paolo Bonzini [Fri, 24 Jan 2020 11:49:17 +0000 (12:49 +0100)] 
meson: convert hw/semihosting

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/core
Marc-André Lureau [Thu, 15 Aug 2019 11:24:58 +0000 (15:24 +0400)] 
meson: convert hw/core

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert hw/xen
Marc-André Lureau [Thu, 15 Aug 2019 11:15:32 +0000 (15:15 +0400)] 
meson: convert hw/xen

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert qapi-specific to meson
Marc-André Lureau [Thu, 15 Aug 2019 08:01:26 +0000 (12:01 +0400)] 
meson: convert qapi-specific to meson

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert disas directory to Meson
Marc-André Lureau [Fri, 26 Jul 2019 08:02:31 +0000 (12:02 +0400)] 
meson: convert disas directory to Meson

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert fsdev/
Marc-André Lureau [Thu, 25 Jul 2019 10:22:34 +0000 (14:22 +0400)] 
meson: convert fsdev/

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert backends directory to Meson
Marc-André Lureau [Wed, 24 Jul 2019 15:23:16 +0000 (19:23 +0400)] 
meson: convert backends directory to Meson

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert net directory to Meson
Marc-André Lureau [Mon, 22 Jul 2019 19:47:50 +0000 (23:47 +0400)] 
meson: convert net directory to Meson

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert migration directory to Meson
Marc-André Lureau [Wed, 24 Jul 2019 15:16:22 +0000 (19:16 +0400)] 
meson: convert migration directory to Meson

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert replay directory to Meson
Marc-André Lureau [Mon, 22 Jul 2019 19:40:45 +0000 (23:40 +0400)] 
meson: convert replay directory to Meson

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert qemu-storage-daemon
Paolo Bonzini [Tue, 4 Aug 2020 18:18:36 +0000 (20:18 +0200)] 
meson: convert qemu-storage-daemon

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert common QMP bits for qemu and qemu-storage-daemon
Paolo Bonzini [Tue, 4 Aug 2020 19:14:26 +0000 (21:14 +0200)] 
meson: convert common QMP bits for qemu and qemu-storage-daemon

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert dump/
Marc-André Lureau [Tue, 3 Sep 2019 12:59:33 +0000 (16:59 +0400)] 
meson: convert dump/

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert trace/
Marc-André Lureau [Tue, 3 Sep 2019 12:47:00 +0000 (16:47 +0400)] 
meson: convert trace/

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert most of softmmu/
Paolo Bonzini [Thu, 6 Aug 2020 11:40:26 +0000 (13:40 +0200)] 
meson: convert most of softmmu/

Leave out main.c, it's special due to fuzzing.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert root directory to Meson
Paolo Bonzini [Mon, 3 Aug 2020 14:22:28 +0000 (16:22 +0200)] 
meson: convert root directory to Meson

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert ui directory to Meson
Marc-André Lureau [Tue, 16 Jul 2019 19:21:02 +0000 (23:21 +0400)] 
meson: convert ui directory to Meson

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert audio directory to Meson
Paolo Bonzini [Mon, 17 Aug 2020 10:47:55 +0000 (12:47 +0200)] 
meson: convert audio directory to Meson

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert tests/qtest to meson
Paolo Bonzini [Tue, 4 Aug 2020 18:00:40 +0000 (20:00 +0200)] 
meson: convert tests/qtest to meson

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert chardev directory to Meson (emulator part)
Paolo Bonzini [Mon, 29 Jul 2019 13:40:07 +0000 (15:40 +0200)] 
meson: convert chardev directory to Meson (emulator part)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agoconfigure, Makefile; remove TOOLS and HELPERS-y variable
Paolo Bonzini [Thu, 18 Jul 2019 11:21:28 +0000 (13:21 +0200)] 
configure, Makefile; remove TOOLS and HELPERS-y variable

Everything involving tools is now done by meson.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: qemu-pr-helper
Marc-André Lureau [Tue, 16 Jul 2019 17:54:15 +0000 (21:54 +0400)] 
meson: qemu-pr-helper

The executable moves back from libexecdir to bindir, when it was
in 5.0 and earlier.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: qemu-{img,io,nbd}
Marc-André Lureau [Tue, 16 Jul 2019 17:37:25 +0000 (21:37 +0400)] 
meson: qemu-{img,io,nbd}

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert block
Marc-André Lureau [Thu, 29 Aug 2019 18:34:43 +0000 (22:34 +0400)] 
meson: convert block

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert chardev directory to Meson (tools part)
Marc-André Lureau [Mon, 15 Jul 2019 19:18:07 +0000 (23:18 +0400)] 
meson: convert chardev directory to Meson (tools part)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: add modules infrastructure
Marc-André Lureau [Thu, 29 Aug 2019 18:07:01 +0000 (22:07 +0400)] 
meson: add modules infrastructure

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: infrastructure for building emulators
Paolo Bonzini [Mon, 3 Feb 2020 10:42:03 +0000 (11:42 +0100)] 
meson: infrastructure for building emulators

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert target/s390x/gen-features.h
Marc-André Lureau [Sat, 17 Aug 2019 10:55:32 +0000 (14:55 +0400)] 
meson: convert target/s390x/gen-features.h

Needed by linux-user/s390x/cpu_loop.c; this removes the only use of HOST_CC.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert io directory to Meson
Marc-André Lureau [Tue, 16 Jul 2019 15:33:55 +0000 (19:33 +0400)] 
meson: convert io directory to Meson

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 months agomeson: convert crypto directory to Meson
Marc-André Lureau [Tue, 16 Jul 2019 15:28:54 +0000 (19:28 +0400)] 
meson: convert crypto directory to Meson

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>