qemu.git
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 months agomeson: convert authz directory to Meson
Marc-André Lureau [Mon, 15 Jul 2019 18:54:34 +0000 (22:54 +0400)] 
meson: convert authz directory to Meson

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

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: convert check-qapi-schema
Paolo Bonzini [Tue, 28 Jan 2020 17:05:14 +0000 (18:05 +0100)] 
meson: convert check-qapi-schema

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: convert tests/fp and check-softfloat
Paolo Bonzini [Thu, 6 Aug 2020 12:08:31 +0000 (14:08 +0200)] 
meson: convert tests/fp and check-softfloat

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: convert check-decodetree
Paolo Bonzini [Tue, 28 Jan 2020 15:41:44 +0000 (16:41 +0100)] 
meson: convert check-decodetree

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: handle edk2 bios and descriptors
Marc-André Lureau [Mon, 15 Jul 2019 17:22:31 +0000 (21:22 +0400)] 
meson: handle edk2 bios and descriptors

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>
11 months agomeson: generate hxtool files
Marc-André Lureau [Mon, 15 Jul 2019 14:06:04 +0000 (18:06 +0400)] 
meson: generate hxtool files

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: generate shader headers
Marc-André Lureau [Mon, 15 Jul 2019 13:36:47 +0000 (17:36 +0400)] 
meson: generate shader headers

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: generate qemu-version.h
Marc-André Lureau [Mon, 15 Jul 2019 13:10:19 +0000 (17:10 +0400)] 
meson: generate qemu-version.h

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: keymap-gen
Marc-André Lureau [Mon, 15 Jul 2019 12:00:36 +0000 (16:00 +0400)] 
meson: keymap-gen

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: add virtfs-proxy-helper
Marc-André Lureau [Mon, 15 Jul 2019 11:04:49 +0000 (15:04 +0400)] 
meson: add virtfs-proxy-helper

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: add qemu-edid
Marc-André Lureau [Mon, 15 Jul 2019 10:50:58 +0000 (14:50 +0400)] 
meson: add qemu-edid

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>
11 months agomeson: add qemu-keymap
Marc-André Lureau [Mon, 15 Jul 2019 10:48:31 +0000 (14:48 +0400)] 
meson: add qemu-keymap

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: add qemu-bridge-helper
Marc-André Lureau [Mon, 15 Jul 2019 10:39:25 +0000 (14:39 +0400)] 
meson: add qemu-bridge-helper

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>
11 months agomeson: convert dummy Windows qga/qemu-ga target
Paolo Bonzini [Tue, 28 Jan 2020 14:06:16 +0000 (15:06 +0100)] 
meson: convert dummy Windows qga/qemu-ga target

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: add msi generation
Marc-André Lureau [Mon, 15 Jul 2019 09:06:20 +0000 (13:06 +0400)] 
meson: add msi generation

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: convert vss-win32
Marc-André Lureau [Mon, 15 Jul 2019 07:39:13 +0000 (11:39 +0400)] 
meson: convert vss-win32

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: convert qemu-ga
Paolo Bonzini [Thu, 18 Jul 2019 11:19:02 +0000 (13:19 +0200)] 
meson: convert qemu-ga

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: add solaris and Haiku libraries
Paolo Bonzini [Sun, 9 Aug 2020 21:47:45 +0000 (23:47 +0200)] 
meson: add solaris and Haiku libraries

There is no probing in configure, so no need to pass them as
variables to meson.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: add macos dependencies
Marc-André Lureau [Tue, 20 Aug 2019 15:48:59 +0000 (19:48 +0400)] 
meson: add macos dependencies

There is no probing in configure, so no need to pass them as
variables to meson. Do a regular meson dependency() instead.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agocontrib/elf2dmp: convert to meson
Marc-André Lureau [Fri, 12 Jul 2019 19:47:06 +0000 (23:47 +0400)] 
contrib/elf2dmp: convert to meson

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agocontrib/ivshmem: convert to meson
Marc-André Lureau [Fri, 12 Jul 2019 19:16:54 +0000 (23:16 +0400)] 
contrib/ivshmem: convert to meson

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agocontrib/vhost-user-gpu: convert to meson
Marc-André Lureau [Fri, 12 Jul 2019 18:23:46 +0000 (22:23 +0400)] 
contrib/vhost-user-gpu: convert to meson

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agocontrib/vhost-user-input: convert to meson
Marc-André Lureau [Fri, 12 Jul 2019 18:11:20 +0000 (22:11 +0400)] 
contrib/vhost-user-input: convert to meson

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agocontrib/rdmacm-mux: convert to Meson
Paolo Bonzini [Mon, 10 Jun 2019 10:27:52 +0000 (12:27 +0200)] 
contrib/rdmacm-mux: convert to Meson

We can use config-host.mak to decide whether the tool has to be built,
apart from that the conversion is straightforward.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agocontrib/vhost-user-scsi: convert to Meson
Paolo Bonzini [Mon, 10 Jun 2019 10:21:14 +0000 (12:21 +0200)] 
contrib/vhost-user-scsi: convert to Meson

The libiscsi pkg-config information is extracted from config-host.mak and
used to link vhost-user-blk.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agovhost-user-scsi: add compatibility for libiscsi 1.9.0
Paolo Bonzini [Mon, 10 Aug 2020 19:15:19 +0000 (21:15 +0200)] 
vhost-user-scsi: add compatibility for libiscsi 1.9.0

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agocontrib/vhost-user-blk: convert to Meson
Paolo Bonzini [Mon, 10 Jun 2019 10:18:02 +0000 (12:18 +0200)] 
contrib/vhost-user-blk: convert to Meson

The GLib pkg-config information is extracted from config-host.mak and
used to link vhost-user-blk.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agotools/virtiofsd: convert to Meson
Paolo Bonzini [Wed, 5 Feb 2020 08:45:39 +0000 (09:45 +0100)] 
tools/virtiofsd: convert to Meson

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agocontrib/libvhost-user: convert to Meson
Paolo Bonzini [Wed, 5 Feb 2020 08:44:24 +0000 (09:44 +0100)] 
contrib/libvhost-user: convert to Meson

Since libqemuutil.a has been converted to Meson, the conversion is
straightforward.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: add version.o
Marc-André Lureau [Wed, 17 Jul 2019 20:31:05 +0000 (00:31 +0400)] 
meson: add version.o

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: add remaining generated tcg trace helpers
Marc-André Lureau [Mon, 15 Jul 2019 14:48:06 +0000 (18:48 +0400)] 
meson: add remaining generated tcg trace helpers

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agolibqemuutil, qapi, trace: convert to meson
Paolo Bonzini [Wed, 19 Aug 2020 12:44:56 +0000 (08:44 -0400)] 
libqemuutil, qapi, trace: convert to meson

This shows how to do some "computations" in meson.build using its array
and dictionary data structures, and also a basic usage of the sourceset
module for conditional compilation.

Notice the new "if have_system" part of util/meson.build, which fixes
a bug in the old build system was buggy: util/dbus.c was built even for
non-softmmu builds, but the dependency on -lgio was lost when the linking
was done through libqemuutil.a.  Because all of its users required gio
otherwise, the bug was hidden.  Meson instead propagates libqemuutil's
dependencies down to its users, and shows the problem.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: add testsuite Makefile generator
Paolo Bonzini [Tue, 28 Jan 2020 13:48:54 +0000 (14:48 +0100)] 
meson: add testsuite Makefile generator

Rules to execute tests are generated by a simple Python program
that integrates into the existing "make check" mechanism.  This
provides familiarity for developers, and also allows piecewise
conversion of the testsuite Makefiles to meson.

The generated rules are based on QEMU's existing test harness
Makefile and TAP parser.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: add sparse support
Paolo Bonzini [Mon, 3 Feb 2020 13:45:33 +0000 (14:45 +0100)] 
meson: add sparse support

Do not use cgcc; instead, extract compilation commands from compile_commands.json
and invoke sparse directly.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: use coverage option
Marc-André Lureau [Fri, 4 Oct 2019 13:35:16 +0000 (17:35 +0400)] 
meson: use coverage option

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: enable pie
Marc-André Lureau [Tue, 17 Sep 2019 11:39:36 +0000 (15:39 +0400)] 
meson: enable pie

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agomeson: move summary to meson.build
Paolo Bonzini [Mon, 3 Feb 2020 12:28:38 +0000 (13:28 +0100)] 
meson: move summary to meson.build

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agobuild-sys: add meson submodule
Marc-André Lureau [Wed, 21 Aug 2019 07:21:16 +0000 (11:21 +0400)] 
build-sys: add meson submodule

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agobuild-sys hack: link with whole .fa archives
Marc-André Lureau [Tue, 16 Jul 2019 08:30:43 +0000 (12:30 +0400)] 
build-sys hack: link with whole .fa archives

In order to link the *-obj-y files into tests, we will make static
libraries of them in Meson, and then link them as whole archives
into the tests.  To separate regular static libraries from link-whole
libraries, give them a different file extension.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agoconfigure: generate Meson cross file
Marc-André Lureau [Fri, 12 Jul 2019 21:47:54 +0000 (01:47 +0400)] 
configure: generate Meson cross file

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
11 months agoconfigure: integrate Meson in the build system
Paolo Bonzini [Mon, 10 Jun 2019 10:05:14 +0000 (12:05 +0200)] 
configure: integrate Meson in the build system

The Meson build system is integrated in the existing configure/make steps
by invoking Meson from the configure script and converting Meson's build.ninja
rules to an included Makefile.

build.ninja already provides tags/ctags/cscope rules, so they are removed.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>