qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 0/6] cutils: Introduce bundle mechanism
@ 2022-06-15 17:33 Akihiko Odaki
  2022-06-15 17:33 ` [PATCH v7 1/6] qga: Relocate a path emitted in the help text Akihiko Odaki
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Akihiko Odaki @ 2022-06-15 17:33 UTC (permalink / raw)
  Cc: Peter Maydell, Jason Wang, qemu-devel, Programmingkid,
	Philippe Mathieu-Daudé, Gerd Hoffmann,
	Daniel P . Berrangé, Paolo Bonzini, Akihiko Odaki

Developers often run QEMU without installing. The bundle mechanism
allows to look up files which should be present in installation even in
such a situation.

It is a general mechanism and can find any files located relative
to the installation tree. The build tree must have a new directory,
qemu-bundle, to represent what files the installation tree would
have for reference by the executables.

v7: Properly fix --firmwarepath (Daniel P. Berrangé)

v6: Reuse get_relocated_path() in find_bundle() (Paolo Bonzini)

v5:
* Prefer qemu-bundle if it exists. (Daniel P. Berrangé)
* Check install_blobs option before installing BIOSes (Paolo Bonzini)
* Add common code to set up qemu-bundle to the top level meson.build
  (Paolo Bonzini)

v4:
* Add Daniel P. Berrangé to CC. Hopefully this helps merging his patch:
  https://mail.gnu.org/archive/html/qemu-devel/2022-06/msg02276.html
* Rebased to the latest QEMU.

v3:
* Note that the bundle mechanism is for any files located relative to the
  installation tree including but not limited to datadir. (Peter Maydell)
* Fix "bridge" typo (Philippe Mathieu-Daudé)

v2: Rebased to the latest QEMU.

Akihiko Odaki (6):
  qga: Relocate a path emitted in the help text
  Remove prefixes from path configuration macros
  cutils: Introduce bundle mechanism
  datadir: Use bundle mechanism
  ui/icons: Use bundle mechanism
  net: Use bundle mechanism

 .travis.yml                 |  2 +-
 include/qemu/cutils.h       | 21 ++++++++++++++-
 meson.build                 | 37 +++++++++++++++++---------
 net/tap.c                   |  2 +-
 pc-bios/keymaps/meson.build |  2 ++
 pc-bios/meson.build         | 19 +++++++------
 qemu-options.hx             | 11 ++++----
 qga/main.c                  |  2 +-
 scripts/oss-fuzz/build.sh   |  2 +-
 softmmu/datadir.c           | 41 +++++++++++-----------------
 tests/qtest/fuzz/fuzz.c     | 15 -----------
 tests/vm/fedora             |  2 +-
 tests/vm/freebsd            |  2 +-
 tests/vm/netbsd             |  2 +-
 tests/vm/openbsd            |  2 +-
 ui/cocoa.m                  |  2 +-
 ui/gtk.c                    |  2 +-
 ui/icons/meson.build        | 32 ++++++++++++++++------
 ui/sdl2.c                   |  4 +--
 util/cutils.c               | 53 ++++++++++++++++++-------------------
 20 files changed, 138 insertions(+), 117 deletions(-)

-- 
2.32.1 (Apple Git-133)



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-06-20 13:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-15 17:33 [PATCH v7 0/6] cutils: Introduce bundle mechanism Akihiko Odaki
2022-06-15 17:33 ` [PATCH v7 1/6] qga: Relocate a path emitted in the help text Akihiko Odaki
2022-06-20 13:06   ` Konstantin Kostiuk
2022-06-20 13:11   ` Marc-André Lureau
2022-06-20 13:12     ` Marc-André Lureau
2022-06-15 17:33 ` [PATCH v7 2/6] Remove prefixes from path configuration macros Akihiko Odaki
2022-06-15 17:33 ` [PATCH v7 3/6] cutils: Introduce bundle mechanism Akihiko Odaki
2022-06-15 17:33 ` [PATCH v7 4/6] datadir: Use " Akihiko Odaki
2022-06-15 17:33 ` [PATCH v7 5/6] ui/icons: " Akihiko Odaki
2022-06-15 17:33 ` [PATCH v7 6/6] net: " Akihiko Odaki
2022-06-15 19:28 ` [PATCH v7 0/6] cutils: Introduce " Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).