OSDN Git Service

qmiga/qemu.git
3 years agosoftfloat: pass float_status pointer to pickNaN
Max Filippov [Wed, 1 Jul 2020 02:35:57 +0000 (19:35 -0700)]
softfloat: pass float_status pointer to pickNaN

Pass float_status structure pointer to the pickNaN so that
machine-specific settings are available to NaN selection code.
Add use_first_nan property to float_status and use it in Xtensa-specific
pickNaN.

Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: "Alex Bennée" <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
3 years agosoftfloat: make NO_SIGNALING_NANS runtime property
Max Filippov [Wed, 1 Jul 2020 02:35:49 +0000 (19:35 -0700)]
softfloat: make NO_SIGNALING_NANS runtime property

target/xtensa, the only user of NO_SIGNALING_NANS macro has FPU
implementations with and without the corresponding property. With
NO_SIGNALING_NANS being a macro they cannot be a part of the same QEMU
executable.
Replace macro with new property in float_status to allow cores with
different FPU implementations coexist.

Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: "Alex Bennée" <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
3 years agotarget/xtensa: implement NMI support
Max Filippov [Mon, 6 Jul 2020 00:31:59 +0000 (17:31 -0700)]
target/xtensa: implement NMI support

When NMI is configured it is taken regardless of INTENABLE SR contents,
PS.INTLEVEL or PS.EXCM. It is cleared automatically once it's taken.

Add nmi_level to XtensaConfig, puth there NMI level from the overlay or
XCHAL_NUM_INTLEVELS + 1 when NMI is not configured. Add NMI mask to
INTENABLE SR and limit CINTLEVEL to nmi_level - 1 when determining
pending IRQ level in check_interrupt(). Always take and clear pending
interrupt at nmi_level in the handle_interrupt().

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
3 years agotarget/xtensa: make opcode properties more dynamic
Max Filippov [Mon, 4 May 2020 21:08:40 +0000 (14:08 -0700)]
target/xtensa: make opcode properties more dynamic

There's XtensaOpcodeOps::test_ill that is used to check whether opcode
generates illegal opcode exception or not. The illegal opcode exception
is not special and so this callback can be generalized to provide any
XTENSA_OP_* flags that are not completely static.
Introduce XtensaOpcodeOps::test_exceptions and convert all test_ill
users to test_exceptions.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
3 years agoMerge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging
Peter Maydell [Fri, 21 Aug 2020 16:26:52 +0000 (17:26 +0100)]
Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging

Pull request

# gpg: Signature made Mon 17 Aug 2020 15:34:34 BST
# gpg:                using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" [full]
# gpg:                 aka "Stefan Hajnoczi <stefanha@gmail.com>" [full]
# Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8

* remotes/stefanha/tags/block-pull-request:
  aio-posix: keep aio_notify_me disabled during polling
  async: always set ctx->notified in aio_notify()
  async: rename event_notifier_dummy_cb/poll()

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>