All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/8] libvhost-user: make it a subproject (was: "lower dependency on QEMU headers")
@ 2020-11-25 10:06 marcandre.lureau
  2020-11-25 10:06 ` [PATCH v2 1/8] libvhost-user: replace qemu/bswap.h with glibc endian.h marcandre.lureau
                   ` (7 more replies)
  0 siblings, 8 replies; 19+ messages in thread
From: marcandre.lureau @ 2020-11-25 10:06 UTC (permalink / raw)
  To: qemu-devel
  Cc: Marc-André Lureau, Dr. David Alan Gilbert, Stefan Hajnoczi,
	Michael S. Tsirkin

From: Marc-André Lureau <marcandre.lureau@redhat.com>

Hi,

libvhost-user is meant to be free of glib dependency, and easily
copyable/reusable outside of QEMU. Clean-up some dependencies that crept in
recently (the one remaining is qemu/atomic.h, from which a subset is used)

v2:
- fix memfd flags argument (spotted by D. Gilbert)
- new patches to remove dependency from QEMU headers
- make it a standalone meson subproject
- check subproject build in gitlab CI (suggested by S. Hajnoczi)
- add some r-b tags

Marc-André Lureau (8):
  libvhost-user: replace qemu/bswap.h with glibc endian.h
  libvhost-user: replace qemu/memfd.h usage
  libvhost-user: remove qemu/compiler.h usage
  libvhost-user: drop qemu/osdep.h dependency
  libvhost-user: make it a meson subproject
  libvhost-user: check memfd API
  libvhost-user: add a simple link test without glib
  .gitlab-ci: add build-libvhost-user

 meson.build                                   |   7 +-
 contrib/vhost-user-gpu/vugpu.h                |   2 +-
 include/qemu/vhost-user-server.h              |   2 +-
 .../libvhost-user/libvhost-user-glib.h        |   0
 .../libvhost-user/libvhost-user.h             |   0
 block/export/vhost-user-blk-server.c          |   2 +-
 contrib/vhost-user-blk/vhost-user-blk.c       |   3 +-
 contrib/vhost-user-input/main.c               |   3 +-
 contrib/vhost-user-scsi/vhost-user-scsi.c     |   2 +-
 .../libvhost-user/libvhost-user-glib.c        |  10 +-
 .../libvhost-user/libvhost-user.c             | 126 +++++++++++-------
 subprojects/libvhost-user/link-test.c         |  45 +++++++
 tests/vhost-user-bridge.c                     |   2 +-
 tools/virtiofsd/fuse_virtio.c                 |   2 +-
 .gitlab-ci.yml                                |  11 ++
 contrib/libvhost-user/meson.build             |   4 -
 contrib/vhost-user-blk/meson.build            |   3 +-
 contrib/vhost-user-gpu/meson.build            |   3 +-
 contrib/vhost-user-input/meson.build          |   3 +-
 contrib/vhost-user-scsi/meson.build           |   3 +-
 subprojects/libvhost-user/meson.build         |  36 +++++
 tests/meson.build                             |   3 +-
 tools/virtiofsd/meson.build                   |   3 +-
 23 files changed, 201 insertions(+), 74 deletions(-)
 rename {contrib => subprojects}/libvhost-user/libvhost-user-glib.h (100%)
 rename {contrib => subprojects}/libvhost-user/libvhost-user.h (100%)
 rename {contrib => subprojects}/libvhost-user/libvhost-user-glib.c (93%)
 rename {contrib => subprojects}/libvhost-user/libvhost-user.c (96%)
 create mode 100644 subprojects/libvhost-user/link-test.c
 delete mode 100644 contrib/libvhost-user/meson.build
 create mode 100644 subprojects/libvhost-user/meson.build

-- 
2.29.0




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

end of thread, other threads:[~2020-12-09 18:29 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-25 10:06 [PATCH v2 0/8] libvhost-user: make it a subproject (was: "lower dependency on QEMU headers") marcandre.lureau
2020-11-25 10:06 ` [PATCH v2 1/8] libvhost-user: replace qemu/bswap.h with glibc endian.h marcandre.lureau
2020-12-02 14:20   ` Stefan Hajnoczi
2020-11-25 10:06 ` [PATCH v2 2/8] libvhost-user: replace qemu/memfd.h usage marcandre.lureau
2020-12-02 14:20   ` Stefan Hajnoczi
2020-11-25 10:06 ` [PATCH v2 3/8] libvhost-user: remove qemu/compiler.h usage marcandre.lureau
2020-12-02 14:20   ` Stefan Hajnoczi
2020-11-25 10:06 ` [PATCH v2 4/8] libvhost-user: drop qemu/osdep.h dependency marcandre.lureau
2020-12-02 14:20   ` Stefan Hajnoczi
2020-11-25 10:06 ` [PATCH v2 5/8] libvhost-user: make it a meson subproject marcandre.lureau
2020-12-02 14:25   ` Stefan Hajnoczi
2020-11-25 10:06 ` [PATCH v2 6/8] libvhost-user: check memfd API marcandre.lureau
2020-12-02 14:27   ` Stefan Hajnoczi
2020-12-09 18:08     ` Michael S. Tsirkin
2020-11-25 10:06 ` [PATCH v2 7/8] libvhost-user: add a simple link test without glib marcandre.lureau
2020-12-02 14:28   ` Stefan Hajnoczi
2020-11-25 10:06 ` [PATCH v2 8/8] .gitlab-ci: add build-libvhost-user marcandre.lureau
2020-12-02 14:28   ` Stefan Hajnoczi
2020-12-02 14:49   ` Philippe Mathieu-Daudé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.