[PATCH v3 0/4] cutils: Introduce bundle mechanism

Akihiko Odaki posted 4 patches 2 years, 2 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
configure             | 13 +++++++++++++
include/net/net.h     |  2 +-
include/qemu/cutils.h | 19 +++++++++++++++++++
meson.build           |  6 +++---
net/tap.c             |  6 +++++-
qemu-options.hx       |  4 ++--
softmmu/datadir.c     | 35 ++++++++++++-----------------------
ui/cocoa.m            | 20 +++++++++++---------
ui/gtk.c              |  8 +++++---
ui/sdl2.c             | 18 +++++++++++-------
util/cutils.c         | 33 +++++++++++++++++++++++++++++++++
11 files changed, 115 insertions(+), 49 deletions(-)
[PATCH v3 0/4] cutils: Introduce bundle mechanism
Posted by Akihiko Odaki 2 years, 2 months ago
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.

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 (4):
  cutils: Introduce bundle mechanism
  datadir: Use bundle mechanism
  ui/icons: Use bundle mechanism
  net: Use bundle mechanism

 configure             | 13 +++++++++++++
 include/net/net.h     |  2 +-
 include/qemu/cutils.h | 19 +++++++++++++++++++
 meson.build           |  6 +++---
 net/tap.c             |  6 +++++-
 qemu-options.hx       |  4 ++--
 softmmu/datadir.c     | 35 ++++++++++++-----------------------
 ui/cocoa.m            | 20 +++++++++++---------
 ui/gtk.c              |  8 +++++---
 ui/sdl2.c             | 18 +++++++++++-------
 util/cutils.c         | 33 +++++++++++++++++++++++++++++++++
 11 files changed, 115 insertions(+), 49 deletions(-)

-- 
2.32.0 (Apple Git-132)