[PATCH v2 00/34] Misc meson conversions for QEMU 7.1

Paolo Bonzini posted 34 patches 2 years ago
Kconfig.host                    |    3 -
backends/meson.build            |   10 +-
configure                       | 1010 ++-----------------------------
contrib/rdmacm-mux/meson.build  |    4 +-
crypto/meson.build              |    4 +-
docs/meson.build                |    2 +-
hw/net/meson.build              |    8 +-
hw/scsi/Kconfig                 |    5 +
hw/virtio/Kconfig               |   18 +-
hw/virtio/meson.build           |   34 +-
hw/xen/meson.build              |   20 +-
include/hw/virtio/virtio-scsi.h |    2 -
meson.build                     |  405 ++++++++++---
meson_options.txt               |   40 +-
migration/meson.build           |    2 +-
net/meson.build                 |   12 +-
qga/meson.build                 |    2 +-
scripts/meson-buildoptions.py   |   86 ++-
scripts/meson-buildoptions.sh   |   93 ++-
scripts/qemu-stamp.py           |   24 +
scripts/xen-detect.c            |  203 +++++++
tests/meson.build               |    2 +-
tests/qtest/meson.build         |    9 +-
tools/meson.build               |    2 +-
ui/meson.build                  |   24 +-
util/meson.build                |    2 +-
26 files changed, 872 insertions(+), 1154 deletions(-)
create mode 100644 scripts/qemu-stamp.py
create mode 100644 scripts/xen-detect.c
[PATCH v2 00/34] Misc meson conversions for QEMU 7.1
Posted by Paolo Bonzini 2 years ago
The more interesting bits here are:

* move all remaining dependencies except glib to Meson (glib depends on
  https://github.com/mesonbuild/meson/pull/10206/)

* many more options are parsed from introspection data, including
  string options

* make all -D options optional on the meson command line

v1->v2:
- remove CONFIG_XEN_PCI_PASSTHROUGH symbol [patch 12]
- fix get_option('optimization') comparison to use a string [patch 17]
- fix RO/RW typo [patch 20]

Other patches are exactly the same.

Based-on: <20220422100825.3692002-1-mjt@msgid.tls.msk.ru>

Paolo Bonzini (34):
  meson: show final set of compiler flags
  configure: remove dead code
  qga: wixl: get path to sysroot from pkg-config as intended
  configure: pc-bios/qemu-icon.bmp does not exist
  configure: gcov should not exclude fortify-source
  configure: move --enable/--disable-debug-info to second option parsing
    pass
  configure, meson: move OpenGL check to meson
  meson, configure: move RDMA options to meson
  meson, configure: move keyctl test to meson
  meson, configure: move usbfs test to meson
  meson, configure: move libgio test to meson
  meson: remove CONFIG_XEN_PCI_PASSTHROUGH from config-target.h
  meson, configure: move --enable-module-upgrades to meson
  meson, configure: move Xen detection to meson
  meson-buildoptions: add support for string options
  configure, meson: move iasl detection to meson
  configure: move Windows flags detection to meson
  configure: switch string options to automatic parsing
  meson, configure: move --tls-priority to meson
  meson, configure: move bdrv whitelists to meson
  meson, configure: move --with-pkgversion, CONFIG_STAMP to meson
  meson, configure: move --interp-prefix to meson
  meson: always combine directories with prefix
  configure: switch directory options to automatic parsing
  meson: pass more options directly as -D
  configure: omit options with default values from meson command line
  meson, virtio: place all virtio-pci devices under virtio_pci_ss
  configure: simplify vhost-net-{user, vdpa} configuration
  build: move vhost-vsock configuration to Kconfig
  build: move vhost-scsi configuration to Kconfig
  build: move vhost-user-fs configuration to Kconfig
  meson: create have_vhost_* variables
  meson: use have_vhost_* variables to pick sources
  configure, meson: move vhost options to Meson

 Kconfig.host                    |    3 -
 backends/meson.build            |   10 +-
 configure                       | 1010 ++-----------------------------
 contrib/rdmacm-mux/meson.build  |    4 +-
 crypto/meson.build              |    4 +-
 docs/meson.build                |    2 +-
 hw/net/meson.build              |    8 +-
 hw/scsi/Kconfig                 |    5 +
 hw/virtio/Kconfig               |   18 +-
 hw/virtio/meson.build           |   34 +-
 hw/xen/meson.build              |   20 +-
 include/hw/virtio/virtio-scsi.h |    2 -
 meson.build                     |  405 ++++++++++---
 meson_options.txt               |   40 +-
 migration/meson.build           |    2 +-
 net/meson.build                 |   12 +-
 qga/meson.build                 |    2 +-
 scripts/meson-buildoptions.py   |   86 ++-
 scripts/meson-buildoptions.sh   |   93 ++-
 scripts/qemu-stamp.py           |   24 +
 scripts/xen-detect.c            |  203 +++++++
 tests/meson.build               |    2 +-
 tests/qtest/meson.build         |    9 +-
 tools/meson.build               |    2 +-
 ui/meson.build                  |   24 +-
 util/meson.build                |    2 +-
 26 files changed, 872 insertions(+), 1154 deletions(-)
 create mode 100644 scripts/qemu-stamp.py
 create mode 100644 scripts/xen-detect.c

-- 
2.35.1