Holger Schranz
2018-Aug-08 08:58 UTC
Re: [libvirt-users] LIBVIRT-4.6.0 can't work with QEMU 3.0.0
Daniel P. Berrangé
2018-Aug-08 09:06 UTC
Re: [libvirt-users] LIBVIRT-4.6.0 can't work with QEMU 3.0.0
On Wed, Aug 08, 2018 at 10:58:50AM +0200, Holger Schranz wrote:> checking for JANSSON... noThis is the problem. In 4.6.0 we just switched to using JANSSOn instead of yajl for JSON parsing. Your host doesn't have the development headers installed for jansson....> configure: > configure: Configuration summary > configure: ====================> configure: > configure: Drivers > configure: > configure: QEMU: noso the QEMU driver was not built. There's a bunch of other "no" in the summary below you should consider whether you need any of them,> configure: UML: yes > configure: OpenVZ: yes > configure: VMware: yes > configure: VBox: yes > configure: XenAPI: no > configure: libxl: no > configure: LXC: yes > configure: PHYP: no > configure: ESX: yes > configure: Hyper-V: no > configure: vz: no > configure: Bhyve: no > configure: Test: yes > configure: Remote: yes > configure: Network: yes > configure: Libvirtd: yes > configure: Interface: yes > configure: > configure: Storage Drivers > configure: > configure: Dir: yes > configure: FS: yes > configure: NetFS: yes > configure: LVM: yes > configure: iSCSI: yes > configure: SCSI: yes > configure: mpath: yes > configure: Disk: no > configure: RBD: no > configure: Sheepdog: no > configure: Gluster: no > configure: ZFS: no > configure: Virtuozzo storage: no > configure: > configure: Security Drivers > configure: > configure: SELinux: yes > configure: AppArmor: no > configure: > configure: Driver Loadable Modules > configure: > configure: driver_modules: yes (CFLAGS='' LIBS='-ldl') > configure: > configure: Libraries > configure: > configure: acl: no > configure: apparmor: no > configure: attr: yes (CFLAGS='' LIBS='-lattr') > configure: audit: no > configure: avahi: yes (CFLAGS='-D_REENTRANT ' LIBS='-lavahi-common -lavahi-client ') > configure: bash_completion: yes (CFLAGS='' LIBS='') > configure: blkid: yes (CFLAGS='-I/usr/include/blkid -I/usr/include/uuid ' LIBS='-lblkid ') > configure: capng: no > configure: curl: yes (CFLAGS='-DCURL_DISABLE_TYPECHECK ' LIBS='-lcurl ') > configure: dbus: yes (CFLAGS='-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include ' LIBS='-ldbus-1 ') > configure: dlopen: yes (CFLAGS='' LIBS='-ldl') > configure: firewalld: yes (CFLAGS='' LIBS='') > configure: fuse: no > configure: glusterfs: no > configure: gnutls: yes (CFLAGS='-I/usr/include/p11-kit-1 ' LIBS='-lgnutls ') > configure: hal: no > configure: jansson: no > configure: libnl: yes (CFLAGS='' LIBS='-lnl ') > configure: libpcap: no > configure: libssh: no > configure: libxl: no > configure: libxml: yes (CFLAGS='-I/usr/include/libxml2 ' LIBS='-lxml2 ') > configure: macvtap: yes (CFLAGS='' LIBS='') > configure: netcf: no > configure: NLS: yes > configure: nss: no > configure: numactl: no > configure: openwsman: no > configure: pciaccess: yes (CFLAGS='' LIBS='-lpciaccess ') > configure: pm_utils: no > configure: polkit: yes > configure: rbd: no > configure: readline: yes (CFLAGS='-D_FUNCTION_DEF ' LIBS='-lreadline') > configure: sanlock: no > configure: sasl: yes (CFLAGS='' LIBS='-lsasl2') > configure: selinux: yes (CFLAGS='' LIBS='-lselinux') > configure: ssh2: no > configure: udev: yes (CFLAGS='' LIBS='-ludev ') > configure: virtualport: yes (CFLAGS='' LIBS='') > configure: xdr: yes (CFLAGS='' LIBS='') > configure: xenapi: no > configure: yajl: no > configure: > configure: Windows > configure: > configure: Cygwin: no > configure: MinGW: no > configure: MSVC: no > configure: windres: no > configure: > configure: Test suite > configure: > configure: Coverage: no > configure: Alloc OOM: no > configure: > configure: Miscellaneous > configure: > configure: Debug: yes > configure: Use -Werror: no > configure: Warning Flags: -fno-common -W -Waddress -Waggressive-loop-optimizations -Wall -Wattributes -Wbad-function-cast -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp -Wdeprecated-declarations -Wdiv-by-zero -Wdouble-promotion -Wempty-body -Wendif-labels -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-security -Wformat-y2k -Wformat-zero-length -Wfree-nonheap-object -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Winline -Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wlogical-op -Wmain -Wmaybe-uninitialized -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull -Wold-style-declaration -Wold-style-definition -Woverflow -Woverride-init -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wpsabi -Wreturn-local-addr -Wreturn-type -Wsequence-point -Wshadow -Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wswitch -Wsync-nand -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvolatile-register-var -Wwrite-strings -Wnormalized=nfc -Wno-sign-compare -Wjump-misses-init -Wswitch-enum -Wno-format-nonliteral -fexceptions -fasynchronous-unwind-tables -fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -fstack-protector-all > configure: DTrace: no > configure: numad: no > configure: Init script: systemd > configure: Char device locks: /var/lock > configure: Default Editor: vi > configure: Loader/NVRAM: > configure: virt-login-shell: yes > configure: virt-host-validate: yes > configure: TLS priority: NORMAL > configure: > configure: Developer Tools > configure: > configure: wireshark_dissector: no > configure: > configure: Privileges > configure: > configure: QEMU: root:root > configure:Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Holger Schranz
2018-Aug-08 09:10 UTC
Re: [libvirt-users] LIBVIRT-4.6.0 can't work with QEMU 3.0.0
Hi Daniel, thank you very much. I will update the configuration and the environment. Best regards Holger Am 08.08.2018 um 11:06 schrieb Daniel P. Berrangé:> On Wed, Aug 08, 2018 at 10:58:50AM +0200, Holger Schranz wrote: > >> checking for JANSSON... no > This is the problem. In 4.6.0 we just switched to using JANSSOn instead > of yajl for JSON parsing. Your host doesn't have the development headers > installed for jansson.... > > >> configure: >> configure: Configuration summary >> configure: ====================>> configure: >> configure: Drivers >> configure: >> configure: QEMU: no > so the QEMU driver was not built. > > There's a bunch of other "no" in the summary below you should consider > whether you need any of them, > >> configure: UML: yes >> configure: OpenVZ: yes >> configure: VMware: yes >> configure: VBox: yes >> configure: XenAPI: no >> configure: libxl: no >> configure: LXC: yes >> configure: PHYP: no >> configure: ESX: yes >> configure: Hyper-V: no >> configure: vz: no >> configure: Bhyve: no >> configure: Test: yes >> configure: Remote: yes >> configure: Network: yes >> configure: Libvirtd: yes >> configure: Interface: yes >> configure: >> configure: Storage Drivers >> configure: >> configure: Dir: yes >> configure: FS: yes >> configure: NetFS: yes >> configure: LVM: yes >> configure: iSCSI: yes >> configure: SCSI: yes >> configure: mpath: yes >> configure: Disk: no >> configure: RBD: no >> configure: Sheepdog: no >> configure: Gluster: no >> configure: ZFS: no >> configure: Virtuozzo storage: no >> configure: >> configure: Security Drivers >> configure: >> configure: SELinux: yes >> configure: AppArmor: no >> configure: >> configure: Driver Loadable Modules >> configure: >> configure: driver_modules: yes (CFLAGS='' LIBS='-ldl') >> configure: >> configure: Libraries >> configure: >> configure: acl: no >> configure: apparmor: no >> configure: attr: yes (CFLAGS='' LIBS='-lattr') >> configure: audit: no >> configure: avahi: yes (CFLAGS='-D_REENTRANT ' LIBS='-lavahi-common -lavahi-client ') >> configure: bash_completion: yes (CFLAGS='' LIBS='') >> configure: blkid: yes (CFLAGS='-I/usr/include/blkid -I/usr/include/uuid ' LIBS='-lblkid ') >> configure: capng: no >> configure: curl: yes (CFLAGS='-DCURL_DISABLE_TYPECHECK ' LIBS='-lcurl ') >> configure: dbus: yes (CFLAGS='-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include ' LIBS='-ldbus-1 ') >> configure: dlopen: yes (CFLAGS='' LIBS='-ldl') >> configure: firewalld: yes (CFLAGS='' LIBS='') >> configure: fuse: no >> configure: glusterfs: no >> configure: gnutls: yes (CFLAGS='-I/usr/include/p11-kit-1 ' LIBS='-lgnutls ') >> configure: hal: no >> configure: jansson: no >> configure: libnl: yes (CFLAGS='' LIBS='-lnl ') >> configure: libpcap: no >> configure: libssh: no >> configure: libxl: no >> configure: libxml: yes (CFLAGS='-I/usr/include/libxml2 ' LIBS='-lxml2 ') >> configure: macvtap: yes (CFLAGS='' LIBS='') >> configure: netcf: no >> configure: NLS: yes >> configure: nss: no >> configure: numactl: no >> configure: openwsman: no >> configure: pciaccess: yes (CFLAGS='' LIBS='-lpciaccess ') >> configure: pm_utils: no >> configure: polkit: yes >> configure: rbd: no >> configure: readline: yes (CFLAGS='-D_FUNCTION_DEF ' LIBS='-lreadline') >> configure: sanlock: no >> configure: sasl: yes (CFLAGS='' LIBS='-lsasl2') >> configure: selinux: yes (CFLAGS='' LIBS='-lselinux') >> configure: ssh2: no >> configure: udev: yes (CFLAGS='' LIBS='-ludev ') >> configure: virtualport: yes (CFLAGS='' LIBS='') >> configure: xdr: yes (CFLAGS='' LIBS='') >> configure: xenapi: no >> configure: yajl: no >> configure: >> configure: Windows >> configure: >> configure: Cygwin: no >> configure: MinGW: no >> configure: MSVC: no >> configure: windres: no >> configure: >> configure: Test suite >> configure: >> configure: Coverage: no >> configure: Alloc OOM: no >> configure: >> configure: Miscellaneous >> configure: >> configure: Debug: yes >> configure: Use -Werror: no >> configure: Warning Flags: -fno-common -W -Waddress -Waggressive-loop-optimizations -Wall -Wattributes -Wbad-function-cast -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp -Wdeprecated-declarations -Wdiv-by-zero -Wdouble-promotion -Wempty-body -Wendif-labels -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-security -Wformat-y2k -Wformat-zero-length -Wfree-nonheap-object -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Winline -Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wlogical-op -Wmain -Wmaybe-uninitialized -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull -Wold-style-declaration -Wold-style-definition -Woverflow -Woverride-init -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wpsabi -Wreturn-local-addr -Wreturn-type -Wsequence-point -Wshadow -Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wswitch -Wsync-nand -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvolatile-register-var -Wwrite-strings -Wnormalized=nfc -Wno-sign-compare -Wjump-misses-init -Wswitch-enum -Wno-format-nonliteral -fexceptions -fasynchronous-unwind-tables -fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -fstack-protector-all >> configure: DTrace: no >> configure: numad: no >> configure: Init script: systemd >> configure: Char device locks: /var/lock >> configure: Default Editor: vi >> configure: Loader/NVRAM: >> configure: virt-login-shell: yes >> configure: virt-host-validate: yes >> configure: TLS priority: NORMAL >> configure: >> configure: Developer Tools >> configure: >> configure: wireshark_dissector: no >> configure: >> configure: Privileges >> configure: >> configure: QEMU: root:root >> configure: > Regards, > Daniel--- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus
Peter Krempa
2018-Aug-08 12:02 UTC
Re: [libvirt-users] LIBVIRT-4.6.0 can't work with QEMU 3.0.0
On Wed, Aug 08, 2018 at 10:06:12 +0100, Daniel Berrange wrote:> On Wed, Aug 08, 2018 at 10:58:50AM +0200, Holger Schranz wrote: > > > checking for JANSSON... no > > This is the problem. In 4.6.0 we just switched to using JANSSOn instead > of yajl for JSON parsing. Your host doesn't have the development headers > installed for jansson.... > > > > configure: > > configure: Configuration summary > > configure: ====================> > configure: > > configure: Drivers > > configure: > > configure: QEMU: no > > so the QEMU driver was not built. > > There's a bunch of other "no" in the summary below you should consider > whether you need any of them,This is most probably caused by not having the 'jansson' library installed. [...]> > configure: jansson: noThe new approach is to disable the qemu driver if we don't have JSON support since it would not work with qemu anyways.
Maybe Matching Threads
- Re: LIBVIRT-4.6.0 can't work with QEMU 3.0.0
- Re: [BUG] Not exiting media forced a promptly close of libvirt 3.10
- Re: Urgent: virsh - change-media run into a promptly close of libvirt
- Re: LIBVIRT-4.6.0 can't work with QEMU 3.0.0
- Re: Urgent: virsh - change-media run into a promptly close of libvirt