Re: QEMU latest release riscv32-softmmu not working

2020-08-14 Thread Philippe Mathieu-Daudé
Hi Arman, On 8/13/20 10:20 PM, arman avetisyan wrote: > Hi QEMU Team, having issue running riscv32-softmmu Cc'ing this to the QEMU RISCV mailing list. > > After running riscv32-softmmu supplying custom linux build it crashes > and complains about rom segments overlaping > > $ qemu-system-riscv

Re: [PULL 3/3] configure: Allow to build tools without pixman

2020-08-14 Thread Philippe Mathieu-Daudé
On 8/13/20 9:07 PM, Thomas Huth wrote: > On 12/08/2020 18.26, Philippe Mathieu-Daudé wrote: >> Hi, >> >> On 7/24/20 6:42 PM, Gerd Hoffmann wrote: >>> From: Thomas Huth >>> >>> If pixman is not installed, it is currently not possible to run: >>> >>> .../configure --disable-system --enable-tools >

Re: [PATCH] configure: Require pixman for vhost-user-gpu.

2020-08-14 Thread Philippe Mathieu-Daudé
On 8/3/20 8:09 AM, Thomas Huth wrote: > On 02/08/2020 00.44, Rafael Kitover wrote: >> Use the test from Makefile to check if vhost-user-gpu is being built, >> and if so require pixman. > > Fixes: 9b52b17ba5 ("configure: Allow to build tools without pixman") > > ... sorry, I missed that there is i

Re: [PATCH v5 00/14] QEMU cpus.c refactoring part2

2020-08-14 Thread Philippe Mathieu-Daudé
On 8/13/20 6:06 PM, Claudio Fontana wrote: > Any current infra work that could cause this failure? > > I do not have problems when testing this set of commands locally, > for me it's all green. Marc-André tried to debug this, but is having hard time reproducing. > > Thanks, > > Claudio > > On

[PATCH 0/7] block: Use definitions instead of magic values

2020-08-14 Thread Philippe Mathieu-Daudé
Trivial block patches: - Fix a typo - Replace '1 << 30' by '1 * GiB' in null-co - Replace 512 by BDRV_SECTOR_SIZE when appropriate. Philippe Mathieu-Daudé (7): block/null: Make more explicit the driver default size is 1GiB hw/ide/core: Trivial typo fix hw/ide/core: Replace magic '512' value

[PATCH 2/7] hw/ide/core: Trivial typo fix

2020-08-14 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- hw/ide/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ide/core.c b/hw/ide/core.c index d997a78e47..f76f7e5234 100644 --- a/hw/ide/core.c +++ b/hw/ide/core.c @@ -709,7 +709,7 @@ void ide_cancel_dma_sync(IDEState *s) /*

[PATCH 1/7] block/null: Make more explicit the driver default size is 1GiB

2020-08-14 Thread Philippe Mathieu-Daudé
As it is not obvious the default size for the null block driver is 1 GiB, replace the obfuscated '1 << 30' magic value by a definition using IEC binary prefixes. Signed-off-by: Philippe Mathieu-Daudé --- block/null.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/block/nu

[PATCH 5/7] hw/ide/atapi: Replace magic '512' value by BDRV_SECTOR_SIZE

2020-08-14 Thread Philippe Mathieu-Daudé
Use self-explicit definitions instead of magic '512' value. Signed-off-by: Philippe Mathieu-Daudé --- hw/ide/atapi.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/ide/atapi.c b/hw/ide/atapi.c index 17a9d635d8..14a2b0bb2f 100644 --- a/hw/ide/atapi.c +++ b/hw/ide/a

[PATCH 4/7] hw/ide/ahci: Replace magic '512' value by BDRV_SECTOR_SIZE

2020-08-14 Thread Philippe Mathieu-Daudé
Use self-explicit definitions instead of magic '512' value. Signed-off-by: Philippe Mathieu-Daudé --- hw/ide/ahci.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c index 009120f88b..b696c6291a 100644 --- a/hw/ide/ahci.c +++ b/hw/ide/ahci.c @

[PATCH 3/7] hw/ide/core: Replace magic '512' value by BDRV_SECTOR_SIZE

2020-08-14 Thread Philippe Mathieu-Daudé
Use self-explicit definitions instead of magic '512' value. Signed-off-by: Philippe Mathieu-Daudé --- hw/ide/core.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/hw/ide/core.c b/hw/ide/core.c index f76f7e5234..bcb2aa85fc 100644 --- a/hw/ide/core.c

[PATCH 6/7] hw/ide/pci: Replace magic '512' value by BDRV_SECTOR_SIZE

2020-08-14 Thread Philippe Mathieu-Daudé
Use self-explicit definitions instead of magic '512' value. Signed-off-by: Philippe Mathieu-Daudé --- hw/ide/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ide/pci.c b/hw/ide/pci.c index 5e85c4ad17..b50091b615 100644 --- a/hw/ide/pci.c +++ b/hw/ide/pci.c @@ -138,7 +

[PATCH 7/7] hw/scsi/scsi-disk: Replace magic '512' value by BDRV_SECTOR_SIZE

2020-08-14 Thread Philippe Mathieu-Daudé
Use self-explicit definitions instead of magic '512' value. Signed-off-by: Philippe Mathieu-Daudé --- hw/scsi/scsi-disk.c | 44 +++- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/hw/scsi/scsi-disk.c b/hw/scsi/scsi-disk.c index 8ce68a9dd6.

Re: QEMU latest release riscv32-softmmu not working

2020-08-14 Thread Chih-Min Chao
On Fri, Aug 14, 2020 at 3:31 PM Philippe Mathieu-Daudé wrote: > Hi Arman, > > On 8/13/20 10:20 PM, arman avetisyan wrote: > > Hi QEMU Team, having issue running riscv32-softmmu > > Cc'ing this to the QEMU RISCV mailing list. > > > > > After running riscv32-softmmu supplying custom linux build it

Re: [PATCH 2/3] softfloat: add APIs to handle alternative sNaN propagation

2020-08-14 Thread Chih-Min Chao
On Fri, Aug 14, 2020 at 1:21 AM Richard Henderson < richard.hender...@linaro.org> wrote: > On 7/30/20 2:52 AM, Chih-Min Chao wrote: > > For "fmax/fmin ft0, ft1, ft2" and if one of the inputs is sNaN, > > The original logic > > return NaN and set invalid flag if ft1 == sNaN || ft2 == sNan > >

Re: [PATCH v2] block/vhdx: Support vhdx image only with 512 bytes logical sector size

2020-08-14 Thread Swapnil Ingle
Ping On 07.08.20, 12:03, "Swapnil Ingle" wrote: block/vhdx uses qemu block layer where sector size is always 512 bytes. This may have issues with 4K logical sector sized vhdx image. For e.g qemu-img convert on such images fails with following assert: $qemu-img convert -f vhdx

[PATCH 002/150] optionrom: simplify Makefile

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Make it independent from the rules.mak, and clean up to use pattern rules. Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- pc-bios/optionrom/Makefile | 67 +++--- 1 file changed, 41 insertions(+), 26 deletions(-) diff

[PATCH 001/150] oss-fuzz/build: remove LIB_FUZZING_ENGINE

2020-08-14 Thread Paolo Bonzini
Meson build scripts will only include qemu-fuzz-TARGET rules if configured with --enable-fuzzing, and that takes care of adding -fsanitize=fuzzer. Therefore we can just specify the configure option and stop modifying the CFLAGS and CONFIG_FUZZ options in the "make" invocation. Signed-off-by: Paolo

[PATCH 003/150] pc-bios/s390-ccw: do not use rules.mak

2020-08-14 Thread Paolo Bonzini
From: Thomas Huth Signed-off-by: Paolo Bonzini --- pc-bios/s390-ccw/Makefile | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/pc-bios/s390-ccw/Makefile b/pc-bios/s390-ccw/Makefile index 50bc880272..cc0f77baa6 100644 --- a/pc-bios/s390-ccw/Makefile +++ b/pc-

[PATCH 010/150] tests/docker: add test script for static linux-user builds

2020-08-14 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- tests/docker/test-static | 24 1 file changed, 24 insertions(+) create mode 100755 tests/docker/test-static diff --git a/tests/docker/test-static b/tests/docker/test-static new file mode 100755 index 00..372ef6fac7 --- /dev/null

[PATCH 006/150] meson: rename .inc.h files to .h.inc

2020-08-14 Thread Paolo Bonzini
Make it consistent with '.c.inc' and '.rst.inc'. Signed-off-by: Paolo Bonzini --- include/exec/cpu-all.h | 10 +- include/exec/memory.h| 12 ++-- .../exec/{memory_ldst.inc.h => memory_ldst.h.inc}| 0 ...ry_ldst_ca

[PATCH 009/150] tests/vm: check for Python YAML parser in the Makefile

2020-08-14 Thread Paolo Bonzini
No need to do it in the configure file if it is only used for a help message. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini --- configure | 9 - tests/vm/Makefile.include | 4 +++- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/configu

[PATCH 014/150] configure: prepare CFLAGS/CXXFLAGS/LDFLAGS for Meson

2020-08-14 Thread Paolo Bonzini
Split between CFLAGS/QEMU_CFLAGS and CXXFLAGS/QEMU_CXXFLAGS so that we will use CFLAGS and CXXFLAGS for flags that we do not want to pass to add_project_arguments. Signed-off-by: Paolo Bonzini --- configure | 78 --- rules.mak | 4

[PATCH v2 000/150] Meson integration for 5.2

2020-08-14 Thread Paolo Bonzini
News since v1: * automatically generate dependencies for sphinx manuals [Peter] * fixes for ARM KVM build [Peter] * work around old libiscsi in vhost-user-scsi.c [Peter] * hack to support default c:/Program Files/QEMU prefix on mingw cross compilation [Peter] * added --enable-gettext/--disable-get

[PATCH 007/150] build-sys hack: ensure target directory is there

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau By removing some unnest-vars calls, we miss some directory creation that may be required by some/dir/object.d. This will go away once everything is converted to Meson. Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- rules.mak | 1 + 1 file changed, 1

[PATCH 008/150] tests/vm: do not pollute configure with --efi-aarch64

2020-08-14 Thread Paolo Bonzini
Just make EFI_AARCH64 a variable in the makefile that defaults to the efi firmware included with QEMU. It can be redefined on the "make" command line. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini --- configure | 19 --- tests/vm/Makefile.incl

[PATCH 004/150] trace: switch position of headers to what Meson requires

2020-08-14 Thread Paolo Bonzini
Meson doesn't enjoy the same flexibility we have with Make in choosing the include path. In particular the tracing headers are using $(build_root)/$( --- .gitignore | 1 - Makefile | 46 ++-- Makefile.objs

[PATCH 012/150] configure: do not include $(...) variables in config-host.mak

2020-08-14 Thread Paolo Bonzini
This ensures that Meson will be able to reuse the results of the tests that are performed in the configure script. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini --- configure | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git

[PATCH 011/150] nsis: use "make DESTDIR=" instead of "make prefix="

2020-08-14 Thread Paolo Bonzini
The next patch will prevent modifying the prefix on "make install". Adjust the creation of the installer. Signed-off-by: Paolo Bonzini --- Makefile | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 5596482dbd..ec12101a84 100644 --- a/Make

[PATCH 019/150] build-sys: add meson submodule

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- .gitmodules | 3 ++ configure | 73 ++- meson | 1 + scripts/archive-source.sh | 3 +- 4 files changed, 71 insertio

[PATCH 013/150] configure: expand path variables for meson configure

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- configure | 35 --- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/configure b/configure index 606c327cca..373bb22287 100755 --- a/configure +++ b/configur

[PATCH 005/150] meson: rename included C source files to .c.inc

2020-08-14 Thread Paolo Bonzini
With Makefiles that have automatically generated dependencies, you generated includes are set as dependencies of the Makefile, so that they are built before everything else and they are available when first building the .c files. Alternatively you can use a fine-grained dependency, e.g. t

[PATCH 015/150] tests/vm: include setuptools

2020-08-14 Thread Paolo Bonzini
They are a dependency of Meson, so install them. Signed-off-by: Paolo Bonzini --- tests/vm/freebsd | 1 + tests/vm/netbsd | 1 + tests/vm/openbsd | 1 + 3 files changed, 3 insertions(+) diff --git a/tests/vm/freebsd b/tests/vm/freebsd index 29252fa4a6..b34b14fc53 100755 --- a/tests/vm/freebsd

[PATCH 022/150] meson: use coverage option

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile | 14 -- Makefile.target| 16 configure | 9 ++--- docs/devel/testing.rst | 7 +++ meson.build| 2 +- 5 file

[PATCH 020/150] meson: move summary to meson.build

2020-08-14 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- configure | 237 -- meson.build | 243 2 files changed, 243 insertions(+), 237 deletions(-) diff --git a/configure b/configure index 213d8d..e8c1ed5aba 1007

[PATCH 026/150] meson: add remaining generated tcg trace helpers

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile | 51 --- trace/meson.build | 14 + 2 files changed, 14 insertions(+), 51 deletions(-) diff --git a/Makefile b/Makefile index 4a0

[PATCH 024/150] meson: add testsuite Makefile generator

2020-08-14 Thread Paolo Bonzini
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 harne

[PATCH 031/150] vhost-user-scsi: add compatibility for libiscsi 1.9.0

2020-08-14 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- contrib/vhost-user-scsi/vhost-user-scsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/vhost-user-scsi/vhost-user-scsi.c b/contrib/vhost-user-scsi/vhost-user-scsi.c index 7a1db164c8..3c912384e9 100644 --- a/contrib/vhost-user-scsi/vhost-user-scsi

[PATCH 018/150] build-sys hack: link with whole .fa archives

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau 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-A

[PATCH 016/150] configure: integrate Meson in the build system

2020-08-14 Thread Paolo Bonzini
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 --- Mak

[PATCH 028/150] contrib/libvhost-user: convert to Meson

2020-08-14 Thread Paolo Bonzini
Since libqemuutil.a has been converted to Meson, the conversion is straightforward. Signed-off-by: Paolo Bonzini --- Makefile| 16 +--- Makefile.objs | 1 - contrib/libvhost-user/Makefile.objs | 1 - contrib/libvhost-user/meson.buil

[PATCH 017/150] configure: generate Meson cross file

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- configure | 68 +++ 1 file changed, 59 insertions(+), 9 deletions(-) diff --git a/configure b/configure index f99baba99e..c9f36153dd 100755 --- a/confi

[PATCH 034/150] contrib/vhost-user-input: convert to meson

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile | 11 --- Makefile.objs | 1 - contrib/vhost-user-input/Makefile.objs | 1 - contrib/vhost-user-input/meson.build | 5 + me

[PATCH 027/150] meson: add version.o

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- meson.build | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 6550262b9b..f16add33ca 100644 --- a/meson.build +++ b/meson.build @@ -45,8 +45,14 @@

[PATCH 021/150] meson: enable pie

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index e8c1ed5aba..50ecafa658 100755 --- a/configure +++ b/configure @@ -8464,6 +8464,7 @@ NINJA=$PWD/ninjatool $meson se

[PATCH 033/150] contrib/rdmacm-mux: convert to Meson

2020-08-14 Thread Paolo Bonzini
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 --- Makefile | 5 - Makefile.objs| 1 - contrib/rdmacm-mux/Makefile.objs | 3 --- contrib/rdmacm-

[PATCH 023/150] meson: add sparse support

2020-08-14 Thread Paolo Bonzini
Do not use cgcc; instead, extract compilation commands from compile_commands.json and invoke sparse directly. Signed-off-by: Paolo Bonzini --- Makefile| 1 + configure | 8 ++-- meson.build | 7 +++ scripts/check_sparse.py | 25 ++

[PATCH 030/150] contrib/vhost-user-blk: convert to Meson

2020-08-14 Thread Paolo Bonzini
The GLib pkg-config information is extracted from config-host.mak and used to link vhost-user-blk. Signed-off-by: Paolo Bonzini --- Makefile | 3 --- Makefile.objs| 1 - contrib/vhost-user-blk/Makefile.objs | 1 - contrib/vhost-user-blk/meson.b

[PATCH 032/150] contrib/vhost-user-scsi: convert to Meson

2020-08-14 Thread Paolo Bonzini
The libiscsi pkg-config information is extracted from config-host.mak and used to link vhost-user-blk. Signed-off-by: Paolo Bonzini --- Makefile | 3 --- Makefile.objs | 3 --- contrib/vhost-user-scsi/Makefile.objs | 1 - contrib/vhost-user-sc

[PATCH 049/150] meson: generate qemu-version.h

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile| 27 +-- meson.build | 14 -- scripts/qemu-version.sh | 25 + 3 files changed, 38 insertions(+), 28 deletio

[PATCH 043/150] meson: convert dummy Windows qga/qemu-ga target

2020-08-14 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- Makefile | 5 - qga/meson.build | 4 qga/vss-win32/meson.build | 2 ++ 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index f8e5ebaff9..a61c66096e 100644 --- a/Makefile +++ b/Makefile @@ -441,

[PATCH 029/150] tools/virtiofsd: convert to Meson

2020-08-14 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- Makefile | 12 Makefile.objs | 1 - configure | 1 + meson.build | 11 +++ tools/meson.build

[PATCH 025/150] libqemuutil, qapi, trace: convert to meson

2020-08-14 Thread Paolo Bonzini
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. Signed-off-by: Paolo Bonzini --- Makefile| 228 +--- Makefile.ob

[PATCH 047/150] meson: add virtfs-proxy-helper

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile | 2 -- configure | 7 +-- fsdev/meson.build | 8 meson.build | 6 ++ 4 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 fsdev/meson.bui

[PATCH 036/150] contrib/ivshmem: convert to meson

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile | 9 - Makefile.objs| 2 -- configure| 3 --- contrib/ivshmem-client/Makefile.objs | 1 - contrib/ivshmem-c

[PATCH 039/150] meson: add solaris and Haiku libraries

2020-08-14 Thread Paolo Bonzini
There is no probing in configure, so no need to pass them as variables to meson. Signed-off-by: Paolo Bonzini --- meson.build | 8 1 file changed, 8 insertions(+) diff --git a/meson.build b/meson.build index be0a9975bf..2d23c01753 100644 --- a/meson.build +++ b/meson.build @@ -62,6 +62

[PATCH 035/150] contrib/vhost-user-gpu: convert to meson

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile | 18 +- Makefile.objs| 1 - contrib/vhost-user-gpu/Makefile.objs | 10 -- contrib/vhost-user-gpu/meson.build | 13 +

[PATCH 037/150] contrib/elf2dmp: convert to meson

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile | 4 Makefile.objs | 6 -- configure | 3 --- contrib/elf2dmp/Makefile.objs | 4 contrib/elf2dmp/meson.build | 5 + me

[PATCH 065/150] meson: qemu-{img,io,nbd}

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile| 5 - configure | 3 +-- meson.build | 14 -- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 4abc29cd59..e67fe52ed3 100644 --- a

[PATCH 056/150] meson: convert qom directory to Meson (tools part)

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile | 2 +- Makefile.objs | 2 +- Makefile.target | 3 ++- meson.build | 1 + qom/Makefile.objs | 3 --- qom/meson.build | 15 +++ 6 files changed, 20 insertio

[PATCH 040/150] meson: convert qemu-ga

2020-08-14 Thread Paolo Bonzini
Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile | 53 +-- Makefile.objs | 1 - configure | 14 +++ meson.build | 8 ++ qga/Makefile.objs | 9 --- q

[PATCH 042/150] meson: add msi generation

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile | 18 -- qga/meson.build | 25 + qga/vss-win32/meson.build | 3 ++- 3 files changed, 27 insertions(+), 19 deletions(-) diff --

[PATCH 038/150] meson: add macos dependencies

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau 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 Signed-off-by: Paolo Bonzini --- meson.build | 9 + 1 file changed, 9 insertions(+) diff --git a/meson.bu

[PATCH 041/150] meson: convert vss-win32

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile| 1 - Makefile.objs | 8 qga/Makefile.objs | 1 - qga/meson.build | 6 ++ qga/vss-win32/Makefile.objs | 23 ---

[PATCH 064/150] meson: convert block

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile| 8 --- Makefile.objs | 32 --- Makefile.target | 3 +- block.c | 2 +- block/Makefile.objs | 75

[PATCH 077/150] meson: convert qemu-storage-daemon

2020-08-14 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- Makefile| 5 - Makefile.objs | 10 -- meson.build | 2 +- storage-daemon/Makefile.objs| 3 --- storage-

[PATCH 048/150] meson: keymap-gen

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile | 38 -- meson.build| 1 + ui/meson.build | 34 ++ 3 files changed, 35 insertions(+), 38 deletions(-) create mode 1

[PATCH 053/150] meson: convert check-decodetree

2020-08-14 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- meson.build| 2 ++ tests/Makefile.include | 8 +--- tests/meson.build | 4 3 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 tests/meson.build diff --git a/meson.build b/meson.build index e5617df1b3..b884a4fcb7 100644

[PATCH 046/150] meson: add qemu-edid

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini --- Makefile| 2 -- configure | 2 +- meson.build | 4 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ec3c0a7371..a768

[PATCH 044/150] meson: add qemu-bridge-helper

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini --- Makefile| 4 meson.build | 9 - 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index a61c66096e..b66b443037 100644

[PATCH 070/150] meson: convert audio directory to Meson

2020-08-14 Thread Paolo Bonzini
Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile.objs | 7 +-- Makefile.target | 3 ++- audio/Makefile.objs | 35 --- audio/meson.build | 32 configure | 16 me

[PATCH 051/150] meson: generate hxtool files

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile| 8 +--- Makefile.target | 6 -- meson.build | 22 ++ scripts/hxtool | 2 +- 4 files changed, 24 insertions(+), 14 deletions(-) mode change 100644 =>

[PATCH 045/150] meson: add qemu-keymap

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile| 5 - configure | 4 +--- meson.build | 10 ++ 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index b66b443037..ec3c0a7371 100644 --- a/Ma

[PATCH 050/150] meson: generate shader headers

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile | 19 --- meson.build | 1 + ui/meson.build| 2 ++ ui/shader/meson.build | 15 +++ 4 files changed, 18 insertions(+), 19 deletions(-)

[PATCH 057/150] meson: convert authz directory to Meson

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile| 1 - Makefile.objs | 3 ++- Makefile.target | 2 +- authz/Makefile.objs | 7 --- authz/meson.build | 19 +++ meson.build | 5 + 6 fil

[PATCH 055/150] meson: convert check-qapi-schema

2020-08-14 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- tests/Makefile.include| 218 +--- tests/meson.build | 2 + tests/qapi-schema/meson.build | 225 ++ 3 files changed, 229 insertions(+), 216 deletions(-) create mode 100644 tests/qapi

[PATCH 080/150] meson: convert net directory to Meson

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile.objs | 3 +-- Makefile.target | 1 + meson.build | 10 ++ net/Makefile.objs | 32 net/can/Makefile.objs | 2 -- net/can/mes

[PATCH 084/150] meson: convert qapi-specific to meson

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile.objs | 2 -- Makefile.target| 1 - qapi/Makefile.objs | 15 --- qapi/meson.build | 10 +++--- 4 files changed, 7 insertions(+), 21 deletions(-) delete mode 100644 qa

[PATCH 063/150] meson: convert chardev directory to Meson (tools part)

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini --- Makefile | 1 - Makefile.objs | 4 ++-- Makefile.target | 2 +- chardev/Makefile.objs | 19 --- chardev/meson.build | 3

[PATCH 052/150] meson: handle edk2 bios and descriptors

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini --- Makefile| 29 - meson.build | 1 + pc-bios/descriptors/meson.build | 14 ++ pc-bio

[PATCH 060/150] meson: convert target/s390x/gen-features.h

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Needed by linux-user/s390x/cpu_loop.c; this removes the only use of HOST_CC. Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile| 2 ++ configure | 1 - meson.build | 1 + target/meson.buil

[PATCH 062/150] meson: add modules infrastructure

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile| 10 + Makefile.target | 6 ++ meson.build | 52 + rules.mak | 10 - scripts/undefsym.sh | 20 ++

[PATCH 086/150] meson: convert hw/core

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- hw/Makefile.objs | 1 - hw/core/Makefile.objs | 34 - hw/core/meson.build| 49 ++ hw/meson.build | 1 + tests/Makef

[PATCH 058/150] meson: convert crypto directory to Meson

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile | 1 - Makefile.objs| 2 +- Makefile.target | 2 +- crypto/Makefile.objs | 37 --- crypto/meson.build | 52 ++

[PATCH 068/150] meson: convert chardev directory to Meson (emulator part)

2020-08-14 Thread Paolo Bonzini
Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile.objs | 2 -- Makefile.target | 2 ++ chardev/Makefile.objs | 10 -- chardev/meson.build | 11 +++ configure | 2 ++ meson.build | 14 ++ 6 files changed

[PATCH 054/150] meson: convert tests/fp and check-softfloat

2020-08-14 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- configure | 2 +- tests/Makefile.include | 160 +-- tests/fp/Makefile | 600 -- tests/fp/meson.build | 636 + tests/meson.build | 4 + 5 files changed,

[PATCH 061/150] meson: infrastructure for building emulators

2020-08-14 Thread Paolo Bonzini
Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile | 74 ++ Makefile.target| 19 +++-- configure | 6 -- hw/i386/fw_cfg.c | 2 +- hw/i386/pc.c | 2 +- hw/i386/pc_piix.c | 2 +- hw/i386/x86.c

[PATCH 072/150] meson: convert root directory to Meson

2020-08-14 Thread Paolo Bonzini
Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile.objs | 21 ++--- Makefile.target | 2 +- configure | 2 ++ meson.build | 33 + 4 files changed, 38 insertions(+), 20 deletions(-) diff --git a/Makefile.objs b

[PATCH 090/150] meson: convert hw/mem

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- hw/Makefile.objs | 1 - hw/mem/Kconfig | 1 + hw/mem/Makefile.objs | 3 --- hw/mem/meson.build | 6 ++ hw/meson.build | 1 + 5 files changed, 8 insertions(+), 4 deletions(-) delete

[PATCH 094/150] meson: convert hw/usb

2020-08-14 Thread Paolo Bonzini
Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile.target | 1 + hw/Makefile.objs | 1 - hw/meson.build | 1 + hw/usb/Makefile.objs | 71 hw/usb/meson.build | 69 ++ m

[PATCH 059/150] meson: convert io directory to Meson

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile | 1 - Makefile.objs| 2 +- Makefile.target | 2 +- io/Makefile.objs | 12 io/meson.build | 25 + meson.build | 1 + 6 files changed,

[PATCH 076/150] meson: convert common QMP bits for qemu and qemu-storage-daemon

2020-08-14 Thread Paolo Bonzini
Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile.objs | 8 +--- Makefile.target | 1 - meson.build | 10 ++ monitor/Makefile.objs | 6 -- monitor/meson.build | 9 + qom/Makefile.objs | 2 -- qom/meson.build

[PATCH 067/150] configure, Makefile; remove TOOLS and HELPERS-y variable

2020-08-14 Thread Paolo Bonzini
Everything involving tools is now done by meson. Signed-off-by: Paolo Bonzini --- Makefile | 22 ++ configure | 7 --- 2 files changed, 2 insertions(+), 27 deletions(-) diff --git a/Makefile b/Makefile index 414c631aee..4ce2f4b2de 100644 --- a/Makefile +++ b/Makefile @

[PATCH 066/150] meson: qemu-pr-helper

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile| 7 +-- configure | 3 --- meson.build | 10 ++ 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index e67fe52ed3..414c631aee 100644 --- a/M

[PATCH 071/150] meson: convert ui directory to Meson

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile.objs| 8 +++-- Makefile.target | 8 ++--- configure| 6 meson.build | 50 + ui/Makefile.objs | 73 --

[PATCH 069/150] meson: convert tests/qtest to meson

2020-08-14 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- meson.build | 3 + tests/Makefile.include| 47 +-- tests/meson.build | 1 + tests/qtest/Makefile.include | 332 -- tests/qtest/ac97-test.c

[PATCH 108/150] meson: convert hw/misc

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- hw/Makefile.objs| 1 - hw/meson.build | 1 + hw/misc/Makefile.objs | 95 --- hw/misc/macio/Makefile.objs | 5 -- hw/misc/macio/meson.build

[PATCH 111/150] meson: convert hw/ipack

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- hw/Makefile.objs | 1 - hw/ipack/Makefile.objs | 2 -- hw/ipack/meson.build | 1 + hw/meson.build | 1 + 4 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 hw/ipack/Makef

[PATCH 075/150] meson: convert dump/

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile.objs | 3 +-- Makefile.target| 1 - configure | 4 dump/Makefile.objs | 3 --- dump/meson.build | 4 meson.build| 9 + 6 files changed, 18 insertions

[PATCH 078/150] meson: convert replay directory to Meson

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile.objs| 1 - meson.build | 1 + replay/Makefile.objs | 10 -- replay/meson.build | 12 4 files changed, 13 insertions(+), 11 deletions(-) delete mode 1006

[PATCH 081/150] meson: convert backends directory to Meson

2020-08-14 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- Makefile.objs | 2 -- backends/Makefile.objs | 23 --- backends/meson.build | 19 +++ backends/tpm/Makefile.objs | 4 backends/tpm/meson.b

  1   2   3   4   >