Hello,
if I try to use Llibvirt-4.6.0 together with qemu-3.0.0-rc4.
I run into an issue. Please see the following Memo.
Best regards
Holger
================================================================================
Procduce QEMU-3.0.0-RC4 and LIBVIRT-4.6.0:
QEMU-3-0-0-RC4:
make clean
./configure --enable-libiscsi --enable-libusb --enable-bzip2
--enable-libnfs --enable-spice --enable-user --enable-virtfs
--enable-opengl --enable-sdl --enable-gtk --enable-virglrenderer
--disable-seccomp --prefix=/usr;make -j$(grep -c ^processor
/proc/cpuinfo)
su
make install
LIBVIRT-4.6.0
make clean
./configure -q --with-lxc --with-storage-iscsi --with-storage-scsi
--with-interface --with-storage-lvm --with-storage-fs --with-udev
--with-vmware --with-storage-mpath --prefix=/usr;make -j$(grep -c
^processor /proc/cpuinfo)
su
systemctl stop libvirtd.service
cd libvirt-4.5.0
make uninstall
cd ..
cd libvirt-4.6.0
make install
systemctl status libvirtd.service -l
systemctl daemon-reload
systemctl start libvirtd.service
systemctl status libvirtd.service -l
? libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service;
enabled; vendor preset: disabled)
Active: active (running) since Wed 2018-08-08 09:05:26 CEST; 3s
ago
Docs: man:libvirtd(8)
https://libvirt.org
Main PID: 137948 (libvirtd)
Tasks: 19 (limit: 32768)
CGroup: /system.slice/libvirtd.service
?? 4725 /usr/sbin/dnsmasq
--conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro
--dhcp-script=/usr/lib/libvirt_leaseshelper
?? 4726 /usr/sbin/dnsmasq
--conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro
--dhcp-script=/usr/lib/libvirt_leaseshelper
??137948 /usr/sbin/libvirtd
Aug 08 09:05:26 etcsvms5 systemd[1]: Starting Virtualization
daemon...
Aug 08 09:05:26 etcsvms5 systemd[1]: Started Virtualization daemon.
Aug 08 09:05:26 etcsvms5 libvirtd[137948]: 2018-08-08
07:05:26.876+0000: 137964: info : libvirt version: 4.6.0
Aug 08 09:05:26 etcsvms5 libvirtd[137948]: 2018-08-08
07:05:26.876+0000: 137964: info : hostname: etcsvms5
Aug 08 09:05:26 etcsvms5 libvirtd[137948]: 2018-08-08
07:05:26.876+0000: 137964: error : virNetworkObjAssignDefLocked:589
: operation failed: network 'default' already exists with uuid
52abe250-4f23-40fe-875e-0808d57ce72d
Aug 08 09:05:27 etcsvms5 dnsmasq[4725]: read /etc/hosts - 8
addresses
Aug 08 09:05:27 etcsvms5 dnsmasq[4725]: read
/var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
Aug 08 09:05:27 etcsvms5 dnsmasq-dhcp[4725]: read
/var/lib/libvirt/dnsmasq/default.hostsfile
Aug 08 09:05:27 etcsvms5 libvirtd[137948]: 2018-08-08
07:05:27.711+0000: 137964: warning : virLXCDriverCapsInit:82 :
Failed to get host CPU cache info
Aug 08 09:05:27 etcsvms5 libvirtd[137948]: 2018-08-08
07:05:27.719+0000: 137964: warning : umlCapsInit:73 : Failed to get
host CPU cache info
etcsvms5:/home/shl/Install/libvirt-4.6.0 #
---> test1: Start virt-manager
etcsvms5:/home/shl/Install/libvirt-4.6.0 # virsh version
Compiled against library: libvirt 4.6.0
Using library: libvirt 4.6.0
Using API: LXC 4.6.0
Running hypervisor: LXC 4.4.140
etcsvms5:/home/shl/Install/libvirt-4.6.0 #
Information on virt-manager window:
Unable to connect to libvirt qemu:///system.
no connection driver available for qemu:///system
Libvirt URI is: qemu:///system
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/connection.py", line
1036, in _do_open
self._backend.open(self._do_creds_password)
File "/usr/share/virt-manager/virtinst/connection.py", line 144,
in open
open_flags)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 104, in
openAuth
if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: no connection driver available for qemu:///system
---> TEst2: Call VM via virsh create
etcsvms5:/home/shl/Install/libvirt-4.6.0 # cd /kvm/CS8400/M4
etcsvms5:/kvm/CS8400/M4 # cd VLP0
etcsvms5:/kvm/CS8400/M4/VLP0 # virsh create M4-VLP0.xml
error: Failed to create domain from M4-VLP0.xml
error: invalid argument: could not find capabilities for arch=x86_64
domaintype=kvm
etcsvms5:/kvm/CS8400/M4/VLP0 #
-----
switch back to LIBVIRT.4-5-0 and all runs o.k.