A C toolkit to interract with the virtualization capabilities of Linux

Edit Package libvirt

Libvirt is a C toolkit to interact with the virtualization
capabilities of Linux. Virtualization of the Linux Operating System means
the ability to run multiple instances of Operating Systems concurrently
on a single hardware system where the basic resources are driven by a
Linux instance. The library aims to provide long term stable C API
to interact with Linux virtualization technologies.

Refresh
Refresh
Source Files
Filename Size Changed
baselibs.conf 0000000098 98 Bytes
clone.patch 0000002736 2.67 KB
fix-pci-attach-xen-driver.patch 0000001751 1.71 KB
install-apparmor-profiles.patch 0000015732 15.4 KB
libvirt-1.0.6.tar.bz2 0017229166 16.4 MB
libvirt-guests-init-script.patch 0000007794 7.61 KB
libvirt-suse-netcontrol.patch 0000006920 6.76 KB
libvirt.changes 0000070505 68.9 KB
libvirt.spec 0000051032 49.8 KB
libvirtd-defaults.patch 0000001048 1.02 KB
libvirtd-init-script.patch 0000001361 1.33 KB
libvirtd-relocation-server.fw 0000000112 112 Bytes
libvirtd.init 0000002582 2.52 KB
relax-qemu-usergroup-check.patch 0000001378 1.35 KB
support-managed-pci-xen-driver.patch 0000005071 4.95 KB
suse-qemu-conf.patch 0000001457 1.42 KB
virtlockd-init-script.patch 0000003536 3.45 KB
xen-name-for-devid.patch 0000006428 6.28 KB
xen-pv-cdrom.patch 0000000918 918 Bytes
Revision 119 (latest revision is 400)
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 178413 from James Fehlig's avatar James Fehlig (jfehlig) (revision 119)
Superseds SR#178013

V3: Remove rpmlintrc lameness and fix build for SLE11 SP2
V2: fix devel subpackage

Along with an update to version 1.0.6, this SR includes a
significant change in the package structure.  The libvirt
daemon is decomposed into virtualizer-specific subpackages,
which e.g. alleviates the need for xen-libs to be installed
on a KVM host.  Please review and provide any feedback.  I'd
like to get this accepted for the next 13.1 milestone to
get greater test exposure.  Thanks!
- Fix build for SLE11 SP2

- Add a README to the empty packages.  Provides some info about
  their purpose and satisfies suse-filelist-empty check.
  Drop rpmlintrc

- Fix typo in spec file: devel package requires doc package, not
  docs

- Add rpmlintrc to get around suse-filelist-empty error on
  older distros.

- Refactor libvirt spec file to create subpackages for the various
  libvirtd components.  This allows installing a libvirtd tailored
  for the underlying virtualizer.  E.g. on a KVM/QEMU virtualizer
  only the libvirt-daemon-qemu package needs installed.
  Similarly, only libvirt-daemon-xen on a Xen virtualizer and 
  libvirt-daemon-lxc on LXC.

- Update to libvirt 1.0.6
  - Move VirtualBox driver into libvirtd
  - Support for static routes on a virtual bridge
  - Various improvement for hostdev SCSI support
  - Switch to VIR_STRDUP and VIR_STRNDUP
  - Various cleanups and improvement in Xen and LXC drivers
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Drop upstream patches: f493d83f-cgroup-swap-control.patch,
    486a86eb-cgroups-docs.patch, 0ced83dc-cgroup-escape-dot.patch,
    bbe97ae9-no-cgroups.patch, c2cf5f1c-no-cgroups-fix.patch,
Comments 8

Sean Lewis's avatar

libvirt 4.7.0 has been released: ftp://libvirt.org/libvirt/libvirt-4.7.0.tar.xz


James Fehlig's avatar

We need a resolution to bug#1106813 before libvirt 4.7.0 can be submitted to Factory. Note that I have 4.7.0 packaged and staged in my home project

https://build.opensuse.org/package/show/home:jfehlig:branches:Virtualization/libvirt


Victor Morales's avatar

I couldn't find a place to report an issue, hopefully some developer take a look this comment

~> sudo libvirtd --version
libvirtd: symbol lookup error: /usr/lib64/libgobject-2.0.so.0: undefined symbol: g_uri_ref
~> cat /etc/os-release 
NAME="openSUSE Tumbleweed"
# VERSION="20201025"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20201025"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20201025"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed"
~> uname -a
Linux localhost 5.8.15-1-default #1 SMP Thu Oct 15 08:10:08 UTC 2020 (c680e93) x86_64 x86_64 x86_64 GNU/Linux
~> sudo zypper info libvirt
Loading repository data...
Reading installed packages...


Information for package libvirt:
--------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : libvirt
Version        : 6.8.0-2.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 0 B
Installed      : Yes
Status         : up-to-date
Source package : libvirt-6.8.0-2.1.src
Summary        : Library providing a virtualization API
Description    : 
    Libvirt is a C toolkit to interact with the virtualization
    capabilities of Linux. Virtualization of the Linux Operating System means
    the ability to run multiple instances of Operating Systems concurrently
    on a single hardware system where the basic resources are driven by a
    Linux instance. The library aims to provide long term stable C API
    to interact with Linux virtualization technologies.


James Fehlig's avatar

libvirt doesn't use the symbol g_uri_ref. There's likely something wrong with your libgobject installation. I just updated one of my TW machines and don't see the problem

~> sudo libvirtd --version
libvirtd (libvirt) 6.8.0

~> cat /etc/os-release 
NAME="openSUSE Tumbleweed"
# VERSION="20201026"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20201026"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20201026"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed"
LOGO="distributor-logo"

Victor Morales's avatar

Apparently this was an issue which can only be reproduced in the version v1.0.20201025 of the vagrant box image , I upgraded it to v1.0.20201026 and the issue is gone. Thanks @jfehlig


John Shand's avatar

VirtualBox is now at version 6.1.16. please update


James Fehlig's avatar

The libvirt vbox driver is disabled. I'm happy to enable it if there is an interested maintainer.


John Shand's avatar

oh i got the impression that libvirt maintainer also was the maintainer for Virtualbox. sorry for the confusion

openSUSE Build Service is sponsored by