[PATCH v1 0/7] Fix build without XDR library

Michal Privoznik mprivozn at redhat.com
Wed Dec 8 15:29:02 UTC 2021


It's not much that's left when no XDR library is found, but some users
might want just stateless drivers.

BTW: there is still one pending issue - if no XDR library is found then
remote driver is turned off which in turn means libvirtd is turned off.
Until here it makes sense. But what I don't understand is why qemu
driver depends on libvirtd, since it has embed mode. Transitively, why
any driver depends on libvird?

Michal Prívozník (7):
  libvirt-stream: Don't require RPC module
  rpc: Separate out socket code into another static lib
  rpc: Build only when XDR is available
  logging: Build log manager only when RPC is available
  admin: Build only when RPC is available
  meson: Require XDR for wireshark
  meson: Detect XDR only when needed

 examples/c/admin/meson.build |  36 +++++-----
 meson.build                  |  47 ++++++------
 src/admin/meson.build        |  36 +++++-----
 src/libvirt-stream.c         |   6 +-
 src/libvirt_logging.syms     |  18 +++++
 src/libvirt_private.syms     |   9 ---
 src/libvirt_remote.syms      |  56 ---------------
 src/libvirt_socket.syms      |  65 +++++++++++++++++
 src/logging/meson.build      |  31 ++++----
 src/meson.build              |  98 ++++++++++++-------------
 src/rpc/meson.build          | 136 ++++++++++++++++++++---------------
 tools/meson.build            |  44 ++++++------
 12 files changed, 322 insertions(+), 260 deletions(-)
 create mode 100644 src/libvirt_logging.syms
 create mode 100644 src/libvirt_socket.syms

-- 
2.32.0




More information about the libvir-list mailing list