3 %define mainstream_version 1.0.2
4 %define module_version_varname mainstream_version
7 # If neither fedora nor rhel was defined, try to guess them from %{dist}
8 %if !0%{?rhel} && !0%{?fedora}
9 %{expand:%(echo "%{?dist}" | \
10 sed -ne 's/^\.el\([0-9]\+\).*/%%define rhel \1/p')}
11 %{expand:%(echo "%{?dist}" | \
12 sed -ne 's/^\.fc\?\([0-9]\+\).*/%%define fedora \1/p')}
15 # Default to skipping autoreconf. Distros can change just this one line
16 # (or provide a command-line override) if they backport any patches that
17 # touch configure.ac or Makefile.am.
18 %{!?enable_autotools:%define enable_autotools 0}
20 # A client only build will create a libvirt.so only containing
21 # the generic RPC driver, and test driver and no libvirtd
22 # Default to a full server + client build
25 # Now turn off server build in certain cases
27 # RHEL-5 builds are client-only for s390, ppc
29 %ifnarch %{ix86} x86_64 ia64
34 # Disable all server side drivers if client only build requested
36 %define server_drivers 0
38 %define server_drivers 1
41 # Always build with dlopen'd modules
42 %define with_driver_modules 1
44 # Now set the defaults for all the important features, independent
45 # of any particular OS
47 # First the daemon itself
48 %define with_libvirtd 0%{!?_without_libvirtd:%{server_drivers}}
49 %define with_avahi 0%{!?_without_avahi:%{server_drivers}}
51 # Then the hypervisor drivers that run in libvirtd
52 %define with_xen 0%{!?_without_xen:%{server_drivers}}
53 %define with_qemu 0%{!?_without_qemu:%{server_drivers}}
54 %define with_lxc 0%{!?_without_lxc:%{server_drivers}}
55 %define with_uml 0%{!?_without_uml:%{server_drivers}}
56 %define with_libxl 0%{!?_without_libxl:%{server_drivers}}
58 %define with_qemu_tcg %{with_qemu}
59 # Change if we ever provide qemu-kvm binaries on non-x86 hosts
61 %define qemu_kvm_arches %{ix86} x86_64 ppc64 s390x
63 %define qemu_kvm_arches %{ix86} x86_64
66 %ifarch %{qemu_kvm_arches}
67 %define with_qemu_kvm %{with_qemu}
69 %define with_qemu_kvm 0
72 # Then the hypervisor drivers that run outside libvirtd, in libvirt.so
73 %define with_openvz 0%{!?_without_openvz:1}
74 %define with_vbox 0%{!?_without_vbox:1}
75 %define with_vmware 0%{!?_without_vmware:1}
76 %define with_phyp 0%{!?_without_phyp:1}
77 %define with_esx 0%{!?_without_esx:1}
78 %define with_hyperv 0%{!?_without_hyperv:1}
79 %define with_xenapi 0%{!?_without_xenapi:1}
80 %define with_parallels 0%{!?_without_parallels:1}
82 # Then the secondary host drivers, which run inside libvirtd
83 %define with_interface 0%{!?_without_interface:%{server_drivers}}
84 %define with_network 0%{!?_without_network:%{server_drivers}}
85 %define with_storage_fs 0%{!?_without_storage_fs:%{server_drivers}}
86 %define with_storage_lvm 0%{!?_without_storage_lvm:%{server_drivers}}
87 %define with_storage_iscsi 0%{!?_without_storage_iscsi:%{server_drivers}}
88 %define with_storage_disk 0%{!?_without_storage_disk:%{server_drivers}}
89 %define with_storage_mpath 0%{!?_without_storage_mpath:%{server_drivers}}
91 %define with_storage_rbd 0%{!?_without_storage_rbd:%{server_drivers}}
93 %define with_storage_rbd 0
96 %define with_storage_sheepdog 0%{!?_without_storage_sheepdog:%{server_drivers}}
98 %define with_storage_sheepdog 0
100 %define with_numactl 0%{!?_without_numactl:%{server_drivers}}
101 %define with_selinux 0%{!?_without_selinux:%{server_drivers}}
103 # A few optional bits off by default, we enable later
104 %define with_polkit 0%{!?_without_polkit:0}
105 %define with_capng 0%{!?_without_capng:0}
106 %define with_fuse 0%{!?_without_fuse:0}
107 %define with_netcf 0%{!?_without_netcf:0}
108 %define with_udev 0%{!?_without_udev:0}
109 %define with_hal 0%{!?_without_hal:0}
110 %define with_yajl 0%{!?_without_yajl:0}
111 %define with_nwfilter 0%{!?_without_nwfilter:0}
112 %define with_libpcap 0%{!?_without_libpcap:0}
113 %define with_macvtap 0%{!?_without_macvtap:0}
114 %define with_libnl 0%{!?_without_libnl:0}
115 %define with_audit 0%{!?_without_audit:0}
116 %define with_dtrace 0%{!?_without_dtrace:0}
117 %define with_cgconfig 0%{!?_without_cgconfig:0}
118 %define with_sanlock 0%{!?_without_sanlock:0}
119 %define with_systemd 0%{!?_without_systemd:0}
120 %define with_numad 0%{!?_without_numad:0}
121 %define with_firewalld 0%{!?_without_firewalld:0}
122 %define with_libssh2 0%{!?_without_libssh2:0}
124 # Non-server/HV driver defaults which are always enabled
125 %define with_python 0%{!?_without_python:1}
126 %define with_sasl 0%{!?_without_sasl:1}
129 # Finally set the OS / architecture specific special cases
131 # Xen is available only on i386 x86_64 ia64
132 %ifnarch %{ix86} x86_64 ia64
137 # Numactl is not available on s390[x] and ARM
138 %ifarch s390 s390x %{arm}
139 %define with_numactl 0
142 # RHEL doesn't ship OpenVZ, VBox, UML, PowerHypervisor,
143 # VMWare, libxenserver (xenapi), libxenlight (Xen 4.1 and newer),
146 %define with_openvz 0
150 %define with_vmware 0
151 %define with_xenapi 0
153 %define with_hyperv 0
154 %define with_parallels 0
157 # Fedora 17 / RHEL-7 are first where we use systemd. Although earlier
158 # Fedora has systemd, libvirt still used sysvinit there.
159 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
160 %define with_systemd 1
163 # Fedora 18 / RHEL-7 are first where firewalld support is enabled
164 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
165 %define with_firewalld 1
168 # RHEL-5 has restricted QEMU to x86_64 only and is too old for LXC
170 %define with_qemu_tcg 0
173 %define with_qemu_kvm 0
178 # RHEL-6 has restricted QEMU to x86_64 only, stopped including Xen
179 # on all archs. Other archs all have LXC available though
181 %define with_qemu_tcg 0
184 %define with_qemu_kvm 0
189 # Fedora doesn't have any QEMU on ppc64 until FC16 - only ppc
190 %if 0%{?fedora} && 0%{?fedora} < 16
196 # Fedora doesn't have new enough Xen for libxl until F18
197 %if 0%{?fedora} && 0%{?fedora} < 18
201 # PolicyKit was introduced in Fedora 8 / RHEL-6 or newer
202 %if 0%{?fedora} >= 8 || 0%{?rhel} >= 6
203 %define with_polkit 0%{!?_without_polkit:1}
206 # libcapng is used to manage capabilities in Fedora 12 / RHEL-6 or newer
207 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
208 %define with_capng 0%{!?_without_capng:1}
211 # fuse is used to provide virtualized /proc for LXC
212 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
213 %define with_fuse 0%{!?_without_fuse:1}
216 # netcf is used to manage network interfaces in Fedora 12 / RHEL-6 or newer
217 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
218 %define with_netcf 0%{!?_without_netcf:%{server_drivers}}
221 # udev is used to manage host devices in Fedora 12 / RHEL-6 or newer
222 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
223 %define with_udev 0%{!?_without_udev:%{server_drivers}}
225 %define with_hal 0%{!?_without_hal:%{server_drivers}}
228 # interface requires netcf
229 %if ! 0%{?with_netcf}
230 %define with_interface 0
233 # Enable yajl library for JSON mode with QEMU
234 %if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
235 %define with_yajl 0%{!?_without_yajl:%{server_drivers}}
238 # Enable sanlock library for lock management with QEMU
239 # Sanlock is available only on i686 x86_64 for RHEL
240 %if 0%{?fedora} >= 16
241 %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
244 %ifarch %{ix86} x86_64
245 %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
249 # Enable libssh2 transport for new enough distros
250 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
251 %define with_libssh2 0%{!?_without_libssh2:1}
254 # Disable some drivers when building without libvirt daemon.
255 # The logic is the same as in configure.ac
256 %if ! %{with_libvirtd}
257 %define with_interface 0
258 %define with_network 0
264 %define with_storage_fs 0
265 %define with_storage_lvm 0
266 %define with_storage_iscsi 0
267 %define with_storage_mpath 0
268 %define with_storage_rbd 0
269 %define with_storage_sheepdog 0
270 %define with_storage_disk 0
273 %if %{with_qemu} || %{with_lxc} || %{with_uml}
274 %define with_nwfilter 0%{!?_without_nwfilter:%{server_drivers}}
275 # Enable libpcap library
276 %define with_libpcap 0%{!?_without_libpcap:%{server_drivers}}
277 %define with_macvtap 0%{!?_without_macvtap:%{server_drivers}}
279 # numad is used to manage the CPU and memory placement dynamically,
280 # it's not available on s390[x] and ARM.
281 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
282 %ifnarch s390 s390x %{arm}
283 %define with_numad 0%{!?_without_numad:%{server_drivers}}
292 %if 0%{?fedora} >= 11 || 0%{?rhel} >= 5
293 %define with_audit 0%{!?_without_audit:1}
296 %if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
297 %define with_dtrace 1
300 # Pull in cgroups config system
301 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
302 %if %{with_qemu} || %{with_lxc}
303 %define with_cgconfig 0%{!?_without_cgconfig:1}
307 %if %{with_udev} || %{with_hal}
308 %define with_nodedev 1
310 %define with_nodedev 0
313 %if %{with_storage_fs} || %{with_storage_mpath} || %{with_storage_iscsi} || %{with_storage_lvm} || %{with_storage_disk}
314 %define with_storage 1
316 %define with_storage 0
320 # Force QEMU to run as non-root
321 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
322 %define qemu_user qemu
323 %define qemu_group qemu
325 %define qemu_user root
326 %define qemu_group root
330 # The RHEL-5 Xen package has some feature backports. This
331 # flag is set to enable use of those special bits on RHEL-5
338 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
339 %define with_systemd_macros 1
341 %define with_systemd_macros 0
345 Summary: Library providing a simple virtualization API
347 Version: %{mainstream_version}
350 Group: Development/Libraries
351 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
352 URL: http://libvirt.org/
354 %if %(echo %{version} | grep -o \\. | wc -l) == 3
355 %define mainturl stable_updates/
357 Source: http://libvirt.org/sources/%{?mainturl}libvirt-%{version}.tar.gz
358 Patch1: selinux-mkdir.patch
361 Requires: libvirt-daemon = %{version}-%{release}
363 Requires: libvirt-daemon-config-network = %{version}-%{release}
366 Requires: libvirt-daemon-config-nwfilter = %{version}-%{release}
368 %if %{with_driver_modules}
370 Requires: libvirt-daemon-driver-libxl = %{version}-%{release}
373 Requires: libvirt-daemon-driver-lxc = %{version}-%{release}
376 Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
379 Requires: libvirt-daemon-driver-uml = %{version}-%{release}
382 Requires: libvirt-daemon-driver-xen = %{version}-%{release}
385 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
386 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
387 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
388 Requires: libvirt-daemon-driver-network = %{version}-%{release}
389 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
390 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
393 Requires: libvirt-client = %{version}-%{release}
395 # All build-time requirements. Run-time requirements are
396 # listed against each sub-RPM
397 %if 0%{?enable_autotools}
398 BuildRequires: autoconf
399 BuildRequires: automake
400 BuildRequires: gettext-devel
401 BuildRequires: libtool
403 BuildRequires: python-devel
405 BuildRequires: systemd-units
408 BuildRequires: xen-devel
410 BuildRequires: libxml2-devel
411 BuildRequires: xhtml1-dtds
412 BuildRequires: libxslt
413 BuildRequires: readline-devel
414 BuildRequires: ncurses-devel
415 BuildRequires: gettext
416 BuildRequires: libtasn1-devel
417 BuildRequires: gnutls-devel
418 BuildRequires: libattr-devel
419 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
420 # for augparse, optionally used in testing
421 BuildRequires: augeas
424 BuildRequires: hal-devel
427 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
428 BuildRequires: systemd-devel >= 185
430 BuildRequires: libudev-devel >= 145
432 BuildRequires: libpciaccess-devel >= 0.10.9
435 BuildRequires: yajl-devel
438 # make sure libvirt is built with new enough sanlock on
439 # distros that have it; required for on_lockfailure
440 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
441 BuildRequires: sanlock-devel >= 2.4
443 BuildRequires: sanlock-devel >= 1.8
447 BuildRequires: libpcap-devel
450 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
451 BuildRequires: libnl3-devel
453 BuildRequires: libnl-devel
457 BuildRequires: avahi-devel
460 BuildRequires: libselinux-devel
463 BuildRequires: dnsmasq >= 2.41
464 BuildRequires: iptables
465 BuildRequires: iptables-ipv6
469 BuildRequires: ebtables
471 BuildRequires: module-init-tools
473 BuildRequires: cyrus-sasl-devel
476 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
477 # Only need the binary, not -devel
478 BuildRequires: polkit >= 0.93
480 BuildRequires: PolicyKit-devel >= 0.6
483 %if %{with_storage_fs}
484 # For mount/umount in FS driver
485 BuildRequires: util-linux
489 BuildRequires: /usr/bin/qemu-img
493 BuildRequires: /usr/sbin/qcow-create
496 %if %{with_storage_lvm}
500 %if %{with_storage_iscsi}
502 BuildRequires: iscsi-initiator-utils
504 %if %{with_storage_disk}
506 BuildRequires: parted-devel
508 # Broken RHEL-5 parted RPM is missing a dep
509 BuildRequires: e2fsprogs-devel
512 %if %{with_storage_mpath}
513 # For Multipath support
515 # Broken RHEL-5 packaging has header files in main RPM :-(
516 BuildRequires: device-mapper
518 BuildRequires: device-mapper-devel
520 %if %{with_storage_rbd}
521 BuildRequires: ceph-devel
525 # For QEMU/LXC numa info
526 BuildRequires: numactl-devel
529 BuildRequires: libcap-ng-devel >= 0.5.0
532 BuildRequires: fuse-devel >= 2.8.6
534 %if %{with_phyp} || %{with_libssh2}
535 BuildRequires: libssh2-devel >= 1.3.0
539 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
540 BuildRequires: netcf-devel >= 0.2.2
542 %if 0%{?fedora} >= 16 || 0%{?rhel} >= 6
543 BuildRequires: netcf-devel >= 0.1.8
545 BuildRequires: netcf-devel >= 0.1.4
550 %if 0%{?fedora} >= 9 || 0%{?rhel} >= 6
551 BuildRequires: libcurl-devel
553 BuildRequires: curl-devel
557 BuildRequires: libwsman-devel >= 2.2.3
560 BuildRequires: audit-libs-devel
563 # we need /usr/sbin/dtrace
564 BuildRequires: systemtap-sdt-devel
567 %if %{with_storage_fs}
568 # For mount/umount in FS driver
569 BuildRequires: util-linux
570 # For showmount in FS driver (netfs discovery)
571 BuildRequires: nfs-utils
574 %if %{with_firewalld}
575 # Communication with the firewall daemon uses DBus
576 BuildRequires: dbus-devel
579 # Fedora build root suckage
582 # For storage wiping with different algorithms
589 Provides: bundled(gnulib)
592 Libvirt is a C toolkit to interact with the virtualization capabilities
593 of recent versions of Linux (and other OSes). The main package includes
594 the libvirtd server exporting the virtualization support.
597 Summary: API reference and website documentation
598 Group: Development/Libraries
601 Includes the API reference for the libvirt C library, and a complete
602 copy of the libvirt.org website documentation.
606 Summary: Server side daemon and supporting files for libvirt library
607 Group: Development/Libraries
609 # All runtime requirements for the libvirt package (runtime requrements
610 # for subpackages are listed later in those subpackages)
612 # The client side, i.e. shared libs and virsh are in a subpackage
613 Requires: %{name}-client = %{version}-%{release}
615 # for modprobe of pci devices
616 Requires: module-init-tools
617 # for /sbin/ip & /sbin/tc
627 Requires: dnsmasq >= 2.41
630 %if %{with_network} || %{with_nwfilter}
632 Requires: iptables-ipv6
637 %if %{with_netcf} && (0%{?fedora} >= 18 || 0%{?rhel} >= 7)
638 Requires: netcf-libs >= 0.2.2
640 # needed for device enumeration
645 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
646 Requires: systemd >= 185
648 Requires: udev >= 145
652 %if 0%{?fedora} >= 12 || 0%{?rhel} >=6
653 Requires: polkit >= 0.93
655 Requires: PolicyKit >= 0.6
658 %if %{with_storage_fs}
662 # For pool-build probing for existing pools
663 BuildRequires: libblkid-devel >= 2.17
665 %if 0%{?fedora} >= 11
666 Requires: glusterfs-client >= 2.0.1
671 Requires: /usr/bin/qemu-img
672 # For image compression
680 Requires: /usr/sbin/qcow-create
683 %if %{with_storage_lvm}
687 %if %{with_storage_iscsi}
689 Requires: iscsi-initiator-utils
691 %if %{with_storage_disk}
694 Requires: device-mapper
696 %if %{with_storage_mpath}
697 # For multipath support
698 Requires: device-mapper
700 %if %{with_storage_sheepdog}
701 # For Sheepdog support
707 %ifarch %{ix86} x86_64 ia64
708 # For virConnectGetSysinfo
711 # For service management
713 Requires(post): systemd-units
714 Requires(post): systemd-sysv
715 Requires(preun): systemd-units
716 Requires(postun): systemd-units
721 # libvirtd depends on 'messagebus' service
725 Server side daemon required to manage the virtualization capabilities
726 of recent versions of Linux. Requires a hypervisor specific sub-RPM
727 for specific drivers.
730 %package daemon-config-network
731 Summary: Default configuration files for the libvirtd daemon
732 Group: Development/Libraries
734 Requires: libvirt-daemon = %{version}-%{release}
736 %description daemon-config-network
737 Default configuration files for setting up NAT based networking
741 %package daemon-config-nwfilter
742 Summary: Network filter configuration files for the libvirtd daemon
743 Group: Development/Libraries
745 Requires: libvirt-daemon = %{version}-%{release}
747 %description daemon-config-nwfilter
748 Network filter configuration files for cleaning guest traffic
751 %if %{with_driver_modules}
753 %package daemon-driver-network
754 Summary: Network driver plugin for the libvirtd daemon
755 Group: Development/Libraries
756 Requires: libvirt-daemon = %{version}-%{release}
758 %description daemon-driver-network
759 The network driver plugin for the libvirtd daemon, providing
760 an implementation of the virtual network APIs using the Linux
766 %package daemon-driver-nwfilter
767 Summary: Nwfilter driver plugin for the libvirtd daemon
768 Group: Development/Libraries
769 Requires: libvirt-daemon = %{version}-%{release}
771 %description daemon-driver-nwfilter
772 The nwfilter driver plugin for the libvirtd daemon, providing
773 an implementation of the firewall APIs using the ebtables,
774 iptables and ip6tables capabilities
779 %package daemon-driver-nodedev
780 Summary: Nodedev driver plugin for the libvirtd daemon
781 Group: Development/Libraries
782 Requires: libvirt-daemon = %{version}-%{release}
784 %description daemon-driver-nodedev
785 The nodedev driver plugin for the libvirtd daemon, providing
786 an implementation of the node device APIs using the udev
791 %if %{with_interface}
792 %package daemon-driver-interface
793 Summary: Interface driver plugin for the libvirtd daemon
794 Group: Development/Libraries
795 Requires: libvirt-daemon = %{version}-%{release}
797 %description daemon-driver-interface
798 The interface driver plugin for the libvirtd daemon, providing
799 an implementation of the network interface APIs using the
804 %package daemon-driver-secret
805 Summary: Secret driver plugin for the libvirtd daemon
806 Group: Development/Libraries
807 Requires: libvirt-daemon = %{version}-%{release}
809 %description daemon-driver-secret
810 The secret driver plugin for the libvirtd daemon, providing
811 an implementation of the secret key APIs.
815 %package daemon-driver-storage
816 Summary: Storage driver plugin for the libvirtd daemon
817 Group: Development/Libraries
818 Requires: libvirt-daemon = %{version}-%{release}
820 %description daemon-driver-storage
821 The storage driver plugin for the libvirtd daemon, providing
822 an implementation of the storage APIs using LVM, iSCSI,
828 %package daemon-driver-qemu
829 Summary: Qemu driver plugin for the libvirtd daemon
830 Group: Development/Libraries
831 Requires: libvirt-daemon = %{version}-%{release}
832 # There really is a hard cross-driver dependency here
833 Requires: libvirt-daemon-driver-network = %{version}-%{release}
835 %description daemon-driver-qemu
836 The qemu driver plugin for the libvirtd daemon, providing
837 an implementation of the hypervisor driver APIs using
843 %package daemon-driver-lxc
844 Summary: LXC driver plugin for the libvirtd daemon
845 Group: Development/Libraries
846 Requires: libvirt-daemon = %{version}-%{release}
847 # There really is a hard cross-driver dependency here
848 Requires: libvirt-daemon-driver-network = %{version}-%{release}
850 %description daemon-driver-lxc
851 The LXC driver plugin for the libvirtd daemon, providing
852 an implementation of the hypervisor driver APIs using
858 %package daemon-driver-uml
859 Summary: Uml driver plugin for the libvirtd daemon
860 Group: Development/Libraries
861 Requires: libvirt-daemon = %{version}-%{release}
863 %description daemon-driver-uml
864 The UML driver plugin for the libvirtd daemon, providing
865 an implementation of the hypervisor driver APIs using
871 %package daemon-driver-xen
872 Summary: Xen driver plugin for the libvirtd daemon
873 Group: Development/Libraries
874 Requires: libvirt-daemon = %{version}-%{release}
876 %description daemon-driver-xen
877 The Xen driver plugin for the libvirtd daemon, providing
878 an implementation of the hypervisor driver APIs using
884 %package daemon-driver-libxl
885 Summary: Libxl driver plugin for the libvirtd daemon
886 Group: Development/Libraries
887 Requires: libvirt-daemon = %{version}-%{release}
889 %description daemon-driver-libxl
890 The Libxl driver plugin for the libvirtd daemon, providing
891 an implementation of the hypervisor driver APIs using
894 %endif # %{with_driver_modules}
900 Summary: Server side daemon & driver required to run QEMU guests
901 Group: Development/Libraries
903 Requires: libvirt-daemon = %{version}-%{release}
904 %if %{with_driver_modules}
905 Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
906 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
907 Requires: libvirt-daemon-driver-network = %{version}-%{release}
908 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
909 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
910 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
911 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
915 %description daemon-qemu
916 Server side daemon and driver required to manage the virtualization
917 capabilities of the QEMU TCG emulators
923 Summary: Server side daemon & driver required to run KVM guests
924 Group: Development/Libraries
926 Requires: libvirt-daemon = %{version}-%{release}
927 %if %{with_driver_modules}
928 Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
929 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
930 Requires: libvirt-daemon-driver-network = %{version}-%{release}
931 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
932 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
933 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
934 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
938 %description daemon-kvm
939 Server side daemon and driver required to manage the virtualization
940 capabilities of the KVM hypervisor
946 Summary: Server side daemon & driver required to run LXC guests
947 Group: Development/Libraries
949 Requires: libvirt-daemon = %{version}-%{release}
950 %if %{with_driver_modules}
951 Requires: libvirt-daemon-driver-lxc = %{version}-%{release}
952 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
953 Requires: libvirt-daemon-driver-network = %{version}-%{release}
954 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
955 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
956 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
957 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
960 %description daemon-lxc
961 Server side daemon and driver required to manage the virtualization
968 Summary: Server side daemon & driver required to run UML guests
969 Group: Development/Libraries
971 Requires: libvirt-daemon = %{version}-%{release}
972 %if %{with_driver_modules}
973 Requires: libvirt-daemon-driver-uml = %{version}-%{release}
974 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
975 Requires: libvirt-daemon-driver-network = %{version}-%{release}
976 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
977 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
978 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
979 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
981 # There are no UML kernel RPMs in Fedora/RHEL to depend on.
983 %description daemon-uml
984 Server side daemon and driver required to manage the virtualization
989 %if %{with_xen} || %{with_libxl}
991 Summary: Server side daemon & driver required to run XEN guests
992 Group: Development/Libraries
994 Requires: libvirt-daemon = %{version}-%{release}
995 %if %{with_driver_modules}
997 Requires: libvirt-daemon-driver-xen = %{version}-%{release}
1000 Requires: libvirt-daemon-driver-libxl = %{version}-%{release}
1002 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
1003 Requires: libvirt-daemon-driver-network = %{version}-%{release}
1004 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
1005 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
1006 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
1007 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
1011 %description daemon-xen
1012 Server side daemon and driver required to manage the virtualization
1015 %endif # %{with_libvirtd}
1018 Summary: Client side library and utilities of the libvirt library
1019 Group: Development/Libraries
1022 # So remote clients can access libvirt over SSH tunnel
1023 # (client invokes 'nc' against the UNIX socket on the server)
1025 # Needed by libvirt-guests init script.
1027 # Needed by virt-pki-validate script.
1028 Requires: gnutls-utils
1029 # Needed for probing the power management features of the host.
1032 Requires: cyrus-sasl
1033 # Not technically required, but makes 'out-of-box' config
1034 # work correctly & doesn't have onerous dependencies
1035 Requires: cyrus-sasl-md5
1039 Shared libraries and client binaries needed to access to the
1040 virtualization capabilities of recent versions of Linux (and other OSes).
1043 Summary: Libraries, includes, etc. to compile with the libvirt library
1044 Group: Development/Libraries
1045 Requires: %{name}-client = %{version}-%{release}
1046 Requires: %{name}-docs = %{version}-%{release}
1050 Include header files & development libraries for the libvirt C library.
1053 %package lock-sanlock
1054 Summary: Sanlock lock manager plugin for QEMU driver
1055 Group: Development/Libraries
1056 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
1057 Requires: sanlock >= 2.4
1059 Requires: sanlock >= 1.8
1061 #for virt-sanlock-cleanup require augeas
1063 Requires: %{name}-daemon = %{version}-%{release}
1064 Requires: %{name}-client = %{version}-%{release}
1066 %description lock-sanlock
1067 Includes the Sanlock lock manager plugin for the QEMU
1073 Summary: Python bindings for the libvirt library
1074 Group: Development/Libraries
1075 Requires: %{name}-client = %{version}-%{release}
1078 The libvirt-python package contains a module that permits applications
1079 written in the Python programming language to use the interface
1080 supplied by the libvirt library to use the virtualization capabilities
1081 of recent versions of Linux (and other OSes).
1090 %define _without_xen --without-xen
1094 %define _without_qemu --without-qemu
1097 %if ! %{with_openvz}
1098 %define _without_openvz --without-openvz
1102 %define _without_lxc --without-lxc
1106 %define _without_vbox --without-vbox
1109 %if ! %{with_xenapi}
1110 %define _without_xenapi --without-xenapi
1114 %define _without_libxl --without-libxl
1118 %define _without_sasl --without-sasl
1122 %define _without_avahi --without-avahi
1126 %define _without_phyp --without-phyp
1130 %define _without_esx --without-esx
1133 %if ! %{with_hyperv}
1134 %define _without_hyperv --without-hyperv
1137 %if ! %{with_vmware}
1138 %define _without_vmware --without-vmware
1141 %if ! %{with_parallels}
1142 %define _without_parallels --without-parallels
1145 %if ! %{with_polkit}
1146 %define _without_polkit --without-polkit
1149 %if ! %{with_python}
1150 %define _without_python --without-python
1153 %if ! %{with_libvirtd}
1154 %define _without_libvirtd --without-libvirtd
1158 %define _without_uml --without-uml
1162 %define _with_rhel5_api --with-rhel5-api
1165 %if ! %{with_interface}
1166 %define _without_interface --without-interface
1169 %if ! %{with_network}
1170 %define _without_network --without-network
1173 %if ! %{with_storage_fs}
1174 %define _without_storage_fs --without-storage-fs
1177 %if ! %{with_storage_lvm}
1178 %define _without_storage_lvm --without-storage-lvm
1181 %if ! %{with_storage_iscsi}
1182 %define _without_storage_iscsi --without-storage-iscsi
1185 %if ! %{with_storage_disk}
1186 %define _without_storage_disk --without-storage-disk
1189 %if ! %{with_storage_mpath}
1190 %define _without_storage_mpath --without-storage-mpath
1193 %if ! %{with_storage_rbd}
1194 %define _without_storage_rbd --without-storage-rbd
1197 %if ! %{with_storage_sheepdog}
1198 %define _without_storage_sheepdog --without-storage-sheepdog
1201 %if ! %{with_numactl}
1202 %define _without_numactl --without-numactl
1206 %define _without_numad --without-numad
1210 %define _without_capng --without-capng
1214 %define _without_fuse --without-fuse
1218 %define _without_netcf --without-netcf
1221 %if ! %{with_selinux}
1222 %define _without_selinux --without-selinux
1226 %define _without_hal --without-hal
1230 %define _without_udev --without-udev
1234 %define _without_yajl --without-yajl
1237 %if ! %{with_sanlock}
1238 %define _without_sanlock --without-sanlock
1241 %if ! %{with_libpcap}
1242 %define _without_libpcap --without-libpcap
1245 %if ! %{with_macvtap}
1246 %define _without_macvtap --without-macvtap
1250 %define _without_audit --without-audit
1253 %if ! %{with_dtrace}
1254 %define _without_dtrace --without-dtrace
1257 %if ! %{with_driver_modules}
1258 %define _without_driver_modules --without-driver-modules
1261 %if %{with_firewalld}
1262 %define _with_firewalld --with-firewalld
1265 %define when %(date +"%%F-%%T")
1266 %define where %(hostname)
1267 %define who %{?packager}%{!?packager:Unknown}
1268 %define with_packager --with-packager="%{who}, %{when}, %{where}"
1269 %define with_packager_version --with-packager-version="%{release}"
1272 %define init_scripts --with-init_script=systemd
1274 %define init_scripts --with-init_script=redhat
1277 %if 0%{?enable_autotools}
1282 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
1283 %define with_selinux_mount --with-selinux-mount="/sys/fs/selinux"
1285 %define with_selinux_mount --with-selinux-mount="/selinux"
1289 %configure %{?_without_xen} \
1291 %{?_without_openvz} \
1294 %{?_without_libxl} \
1295 %{?_without_xenapi} \
1297 %{?_without_avahi} \
1298 %{?_without_polkit} \
1299 %{?_without_python} \
1300 %{?_without_libvirtd} \
1304 %{?_without_hyperv} \
1305 %{?_without_vmware} \
1306 %{?_without_parallels} \
1307 %{?_without_interface} \
1308 %{?_without_network} \
1309 %{?_with_rhel5_api} \
1310 %{?_without_storage_fs} \
1311 %{?_without_storage_lvm} \
1312 %{?_without_storage_iscsi} \
1313 %{?_without_storage_disk} \
1314 %{?_without_storage_mpath} \
1315 %{?_without_storage_rbd} \
1316 %{?_without_storage_sheepdog} \
1317 %{?_without_numactl} \
1318 %{?_without_numad} \
1319 %{?_without_capng} \
1321 %{?_without_netcf} \
1322 %{?_without_selinux} \
1323 %{?_with_selinux_mount} \
1327 %{?_without_sanlock} \
1328 %{?_without_libpcap} \
1329 %{?_without_macvtap} \
1330 %{?_without_audit} \
1331 %{?_without_dtrace} \
1332 %{?_without_driver_modules} \
1333 %{?_with_firewalld} \
1335 %{with_packager_version} \
1336 --with-qemu-user=%{qemu_user} \
1337 --with-qemu-group=%{qemu_group} \
1339 make %{?_smp_mflags}
1345 %makeinstall SYSTEMD_UNIT_DIR=%{buildroot}%{_unitdir}
1346 for i in domain-events/events-c dominfo domsuspend hellolibvirt openauth python xml/nwfilter systemtap
1348 (cd examples/$i ; make clean ; rm -rf .deps .libs Makefile Makefile.in)
1350 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
1351 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
1352 rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.la
1353 rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a
1354 rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/lock-driver/*.la
1355 rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/lock-driver/*.a
1356 %if %{with_driver_modules}
1357 rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/connection-driver/*.la
1358 rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/connection-driver/*.a
1362 install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/lib/libvirt/dnsmasq/
1363 # We don't want to install /etc/libvirt/qemu/networks in the main %files list
1364 # because if the admin wants to delete the default network completely, we don't
1365 # want to end up re-incarnating it on every RPM upgrade.
1366 install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/
1367 cp $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml \
1368 $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
1369 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
1370 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
1371 # Strip auto-generated UUID - we need it generated per-install
1372 sed -i -e "/<uuid>/d" $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
1374 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
1375 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
1378 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_qemu.aug
1379 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
1383 %if ! %{with_sanlock}
1384 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirt_sanlock.aug
1385 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
1389 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_lxc.aug
1390 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
1393 %if ! %{with_python}
1394 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-python-%{version}
1396 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-python-%{version}/examples
1400 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu.conf
1401 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.qemu
1404 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/lxc.conf
1405 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.lxc
1408 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.uml
1411 mv $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-%{version} \
1412 $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-docs-%{version}
1415 %ifarch %{power64} s390x x86_64 ia64 alpha sparc64
1416 mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_probes.stp \
1417 $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_probes-64.stp
1418 mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_qemu_probes.stp \
1419 $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_qemu_probes-64.stp
1423 %if 0%{?fedora} < 14 && 0%{?rhel} < 6
1424 rm -f $RPM_BUILD_ROOT%{_prefix}/lib/sysctl.d/libvirtd.conf
1433 # These tests don't current work in a mock build root
1434 for i in nodeinfotest seclabeltest
1437 printf 'int main(void) { return 0; }' > $i.c
1438 printf '#!/bin/sh\nexit 0\n' > $i
1443 %if %{with_libvirtd}
1445 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
1446 # Normally 'setup' adds this in /etc/passwd, but this is
1447 # here for case of upgrades from earlier Fedora/RHEL. This
1448 # UID/GID pair is reserved for qemu:qemu
1449 getent group kvm >/dev/null || groupadd -g 36 -r kvm
1450 getent group qemu >/dev/null || groupadd -g 107 -r qemu
1451 getent passwd qemu >/dev/null || \
1452 useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
1459 # All newly defined networks will have a mac address for the bridge
1460 # auto-generated, but networks already existing at the time of upgrade
1461 # will not. We need to go through all the network configs, look for
1462 # those that don't have a mac address, and add one.
1464 network_files=$( (cd %{_localstatedir}/lib/libvirt/network && \
1465 grep -L "mac address" *.xml; \
1466 cd %{_sysconfdir}/libvirt/qemu/networks && \
1467 grep -L "mac address" *.xml) 2>/dev/null \
1470 for file in $network_files
1472 # each file exists in either the config or state directory (or both) and
1473 # does not have a mac address specified in either. We add the same mac
1474 # address to both files (or just one, if the other isn't there)
1476 mac4=`printf '%X' $(($RANDOM % 256))`
1477 mac5=`printf '%X' $(($RANDOM % 256))`
1478 mac6=`printf '%X' $(($RANDOM % 256))`
1479 for dir in %{_localstatedir}/lib/libvirt/network \
1480 %{_sysconfdir}/libvirt/qemu/networks
1482 if test -f $dir/$file
1485 "s|\(<bridge.*$\)|\0\n <mac address='52:54:00:$mac4:$mac5:$mac6'/>|" \
1489 echo "failed to add <mac address='52:54:00:$mac4:$mac5:$mac6'/>" \
1491 mv -f $dir/$file.orig $dir/$file
1493 rm -f $dir/$file.orig
1501 %if %{with_systemd_macros}
1502 %systemd_post libvirtd.service
1504 if [ $1 -eq 1 ] ; then
1505 # Initial installation
1506 /bin/systemctl enable virtlockd.socket >/dev/null 2>&1 || :
1507 /bin/systemctl enable libvirtd.service >/dev/null 2>&1 || :
1511 %if %{with_cgconfig}
1512 # Starting with Fedora 16/RHEL-7, systemd automounts all cgroups,
1513 # and cgconfig is no longer a necessary service.
1514 %if (0%{?rhel} && 0%{?rhel} < 7) || (0%{?fedora} && 0%{?fedora} < 16)
1515 if [ "$1" -eq "1" ]; then
1516 /sbin/chkconfig cgconfig on
1521 /sbin/chkconfig --add libvirtd
1522 if [ "$1" -ge "1" ]; then
1523 /sbin/service libvirtd condrestart > /dev/null 2>&1
1529 %if %{with_systemd_macros}
1530 %systemd_preun libvirtd.service
1532 if [ $1 -eq 0 ] ; then
1533 # Package removal, not upgrade
1534 /bin/systemctl --no-reload disable virtlockd.socket > /dev/null 2>&1 || :
1535 /bin/systemctl --no-reload disable libvirtd.service > /dev/null 2>&1 || :
1536 /bin/systemctl stop libvirtd.service > /dev/null 2>&1 || :
1537 /bin/systemctl stop virtlockd.service > /dev/null 2>&1 || :
1542 /sbin/service libvirtd stop 1>/dev/null 2>&1
1543 /sbin/chkconfig --del libvirtd
1549 %if %{with_systemd_macros}
1550 %systemd_postun_with_restart libvirtd.service
1552 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
1553 if [ $1 -ge 1 ] ; then
1554 # Package upgrade, not uninstall
1555 /bin/systemctl status virtlockd.service >/dev/null 2>&1
1556 if [ $? = 1 ] ; then
1557 /bin/systemctl kill --signal=USR1 virtlockd.service >/dev/null 2>&1 || :
1559 /bin/systemctl try-restart libvirtd.service >/dev/null 2>&1 || :
1565 %post daemon-config-network
1566 if test $1 -eq 1 && test ! -f %{_sysconfdir}/libvirt/qemu/networks/default.xml ; then
1567 UUID=`/usr/bin/uuidgen`
1568 sed -e "s,</name>,</name>\n <uuid>$UUID</uuid>," \
1569 < %{_datadir}/libvirt/networks/default.xml \
1570 > %{_sysconfdir}/libvirt/qemu/networks/default.xml
1571 ln -s ../default.xml %{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
1576 %triggerun -- libvirt < 0.9.4
1577 %{_bindir}/systemd-sysv-convert --save libvirtd >/dev/null 2>&1 ||:
1579 # If the package is allowed to autostart:
1580 /bin/systemctl --no-reload enable libvirtd.service >/dev/null 2>&1 ||:
1582 # Run these because the SysV package being removed won't do them
1583 /sbin/chkconfig --del libvirtd >/dev/null 2>&1 || :
1584 /bin/systemctl try-restart libvirtd.service >/dev/null 2>&1 || :
1586 %endif # %{with_libvirtd}
1591 %if %{with_systemd_macros}
1592 %systemd_preun libvirt-guests.service
1596 /sbin/chkconfig --del libvirt-guests
1597 rm -f /var/lib/libvirt/libvirt-guests
1605 %if %{with_systemd_macros}
1606 %systemd_post libvirt-guests.service
1609 /sbin/chkconfig --add libvirt-guests
1616 %if %{with_systemd_macros}
1617 %systemd_postun_with_restart libvirt-guests.service
1619 %triggerun client -- libvirt < 0.9.4
1620 %{_bindir}/systemd-sysv-convert --save libvirt-guests >/dev/null 2>&1 ||:
1622 # If the package is allowed to autostart:
1623 /bin/systemctl --no-reload enable libvirt-guests.service >/dev/null 2>&1 ||:
1625 # Run these because the SysV package being removed won't do them
1626 /sbin/chkconfig --del libvirt-guests >/dev/null 2>&1 || :
1627 /bin/systemctl try-restart libvirt-guests.service >/dev/null 2>&1 || :
1632 if getent group sanlock > /dev/null ; then
1633 chmod 0770 %{_localstatedir}/lib/libvirt/sanlock
1634 chown root:sanlock %{_localstatedir}/lib/libvirt/sanlock
1639 %defattr(-, root, root)
1642 %defattr(-, root, root)
1644 %dir %{_datadir}/doc/libvirt-docs-%{version}
1645 %dir %{_datadir}/doc/libvirt-docs-%{version}/html
1646 %{_datadir}/doc/libvirt-docs-%{version}/html/*
1649 %dir %{_datadir}/gtk-doc/html/libvirt/
1650 %doc %{_datadir}/gtk-doc/html/libvirt/*.devhelp
1651 %doc %{_datadir}/gtk-doc/html/libvirt/*.html
1652 %doc %{_datadir}/gtk-doc/html/libvirt/*.png
1653 %doc %{_datadir}/gtk-doc/html/libvirt/*.css
1655 %if %{with_libvirtd}
1657 %defattr(-, root, root)
1659 %doc AUTHORS ChangeLog.gz NEWS README COPYING.LIB TODO
1660 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/
1663 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/
1664 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/
1665 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/autostart
1668 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/nwfilter/
1671 %{_unitdir}/libvirtd.service
1672 %{_unitdir}/virtlockd.service
1673 %{_unitdir}/virtlockd.socket
1675 %{_sysconfdir}/rc.d/init.d/libvirtd
1676 %{_sysconfdir}/rc.d/init.d/virtlockd
1678 %doc daemon/libvirtd.upstart
1679 %config(noreplace) %{_sysconfdir}/sysconfig/libvirtd
1680 %config(noreplace) %{_sysconfdir}/sysconfig/virtlockd
1681 %config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf
1682 %if 0%{?fedora} >= 14 || 0%{?rhel} >= 6
1683 %config(noreplace) %{_prefix}/lib/sysctl.d/libvirtd.conf
1685 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/
1686 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/lxc/
1687 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/uml/
1689 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/libxl/
1692 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd
1694 %config(noreplace) %{_sysconfdir}/libvirt/qemu.conf
1695 %config(noreplace) %{_sysconfdir}/libvirt/qemu-lockd.conf
1696 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.qemu
1699 %config(noreplace) %{_sysconfdir}/libvirt/lxc.conf
1700 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.lxc
1703 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.uml
1706 %dir %{_datadir}/libvirt/
1709 %dir %{_datadir}/libvirt/networks/
1710 %{_datadir}/libvirt/networks/default.xml
1713 %ghost %dir %{_localstatedir}/run/libvirt/
1715 %dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/images/
1716 %dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/filesystems/
1717 %dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/boot/
1718 %dir %attr(0711, root, root) %{_localstatedir}/cache/libvirt/
1721 %ghost %dir %attr(0700, root, root) %{_localstatedir}/run/libvirt/qemu/
1722 %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/
1723 %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/cache/libvirt/qemu/
1726 %ghost %dir %{_localstatedir}/run/libvirt/lxc/
1727 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/lxc/
1730 %ghost %dir %{_localstatedir}/run/libvirt/uml/
1731 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/uml/
1734 %ghost %dir %{_localstatedir}/run/libvirt/libxl/
1735 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/libxl/
1738 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/xen/
1741 %ghost %dir %{_localstatedir}/run/libvirt/network/
1742 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/network/
1743 %dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/dnsmasq/
1746 %dir %attr(0755, root, root) %{_libdir}/libvirt/lock-driver
1747 %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/lockd.so
1750 %{_datadir}/augeas/lenses/libvirtd_qemu.aug
1751 %{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
1755 %{_datadir}/augeas/lenses/libvirtd_lxc.aug
1756 %{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
1759 %{_datadir}/augeas/lenses/libvirtd.aug
1760 %{_datadir}/augeas/lenses/tests/test_libvirtd.aug
1761 %{_datadir}/augeas/lenses/libvirt_lockd.aug
1762 %{_datadir}/augeas/lenses/tests/test_libvirt_lockd.aug
1765 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
1766 %{_datadir}/polkit-1/actions/org.libvirt.unix.policy
1768 %{_datadir}/PolicyKit/policy/org.libvirt.unix.policy
1772 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/
1775 %attr(0755, root, root) %{_libexecdir}/libvirt_lxc
1778 %if %{with_storage_disk}
1779 %attr(0755, root, root) %{_libexecdir}/libvirt_parthelper
1782 %attr(0755, root, root) %{_libexecdir}/libvirt_iohelper
1783 %attr(0755, root, root) %{_sbindir}/libvirtd
1784 %attr(0755, root, root) %{_sbindir}/virtlockd
1786 %{_mandir}/man8/libvirtd.8*
1788 %if %{with_driver_modules}
1790 %files daemon-config-network
1791 %defattr(-, root, root)
1794 %if %{with_nwfilter}
1795 %files daemon-config-nwfilter
1796 %defattr(-, root, root)
1797 %{_sysconfdir}/libvirt/nwfilter/*.xml
1800 %if %{with_interface}
1801 %files daemon-driver-interface
1802 %defattr(-, root, root)
1803 %{_libdir}/%{name}/connection-driver/libvirt_driver_interface.so
1807 %files daemon-driver-network
1808 %defattr(-, root, root)
1809 %{_libdir}/%{name}/connection-driver/libvirt_driver_network.so
1813 %files daemon-driver-nodedev
1814 %defattr(-, root, root)
1815 %{_libdir}/%{name}/connection-driver/libvirt_driver_nodedev.so
1818 %if %{with_nwfilter}
1819 %files daemon-driver-nwfilter
1820 %defattr(-, root, root)
1821 %{_libdir}/%{name}/connection-driver/libvirt_driver_nwfilter.so
1824 %files daemon-driver-secret
1825 %defattr(-, root, root)
1826 %{_libdir}/%{name}/connection-driver/libvirt_driver_secret.so
1829 %files daemon-driver-storage
1830 %defattr(-, root, root)
1831 %{_libdir}/%{name}/connection-driver/libvirt_driver_storage.so
1835 %files daemon-driver-qemu
1836 %defattr(-, root, root)
1837 %{_libdir}/%{name}/connection-driver/libvirt_driver_qemu.so
1841 %files daemon-driver-lxc
1842 %defattr(-, root, root)
1843 %{_libdir}/%{name}/connection-driver/libvirt_driver_lxc.so
1847 %files daemon-driver-uml
1848 %defattr(-, root, root)
1849 %{_libdir}/%{name}/connection-driver/libvirt_driver_uml.so
1853 %files daemon-driver-xen
1854 %defattr(-, root, root)
1855 %{_libdir}/%{name}/connection-driver/libvirt_driver_xen.so
1859 %files daemon-driver-libxl
1860 %defattr(-, root, root)
1861 %{_libdir}/%{name}/connection-driver/libvirt_driver_libxl.so
1863 %endif # %{with_driver_modules}
1865 %if %{with_qemu_tcg}
1867 %defattr(-, root, root)
1870 %if %{with_qemu_kvm}
1872 %defattr(-, root, root)
1877 %defattr(-, root, root)
1882 %defattr(-, root, root)
1885 %if %{with_xen} || %{with_libxl}
1887 %defattr(-, root, root)
1889 %endif # %{with_libvirtd}
1893 %defattr(-, root, root)
1895 %config(noreplace) %{_sysconfdir}/libvirt/qemu-sanlock.conf
1897 %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/sanlock.so
1898 %{_datadir}/augeas/lenses/libvirt_sanlock.aug
1899 %{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
1900 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/sanlock
1901 %{_sbindir}/virt-sanlock-cleanup
1902 %{_mandir}/man8/virt-sanlock-cleanup.8*
1903 %attr(0755, root, root) %{_libexecdir}/libvirt_sanlock_helper
1906 %files client -f %{name}.lang
1907 %defattr(-, root, root)
1908 %doc AUTHORS ChangeLog.gz NEWS README COPYING.LIB TODO
1910 %config(noreplace) %{_sysconfdir}/libvirt/libvirt.conf
1911 %{_mandir}/man1/virsh.1*
1912 %{_mandir}/man1/virt-xml-validate.1*
1913 %{_mandir}/man1/virt-pki-validate.1*
1914 %{_mandir}/man1/virt-host-validate.1*
1916 %{_bindir}/virt-xml-validate
1917 %{_bindir}/virt-pki-validate
1918 %{_bindir}/virt-host-validate
1919 %{_libdir}/lib*.so.*
1922 %{_datadir}/systemtap/tapset/libvirt_probes*.stp
1923 %{_datadir}/systemtap/tapset/libvirt_qemu_probes*.stp
1924 %{_datadir}/systemtap/tapset/libvirt_functions.stp
1927 %dir %{_datadir}/libvirt/
1928 %dir %{_datadir}/libvirt/schemas/
1930 %{_datadir}/libvirt/schemas/basictypes.rng
1931 %{_datadir}/libvirt/schemas/capability.rng
1932 %{_datadir}/libvirt/schemas/domain.rng
1933 %{_datadir}/libvirt/schemas/domaincommon.rng
1934 %{_datadir}/libvirt/schemas/domainsnapshot.rng
1935 %{_datadir}/libvirt/schemas/interface.rng
1936 %{_datadir}/libvirt/schemas/network.rng
1937 %{_datadir}/libvirt/schemas/networkcommon.rng
1938 %{_datadir}/libvirt/schemas/nodedev.rng
1939 %{_datadir}/libvirt/schemas/nwfilter.rng
1940 %{_datadir}/libvirt/schemas/secret.rng
1941 %{_datadir}/libvirt/schemas/storageencryption.rng
1942 %{_datadir}/libvirt/schemas/storagepool.rng
1943 %{_datadir}/libvirt/schemas/storagevol.rng
1945 %{_datadir}/libvirt/cpu_map.xml
1948 %{_unitdir}/libvirt-guests.service
1950 %{_sysconfdir}/rc.d/init.d/libvirt-guests
1952 %config(noreplace) %{_sysconfdir}/sysconfig/libvirt-guests
1953 %attr(0755, root, root) %{_libexecdir}/libvirt-guests.sh
1954 %dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/
1957 %config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
1961 %defattr(-, root, root)
1964 %dir %{_includedir}/libvirt
1965 %{_includedir}/libvirt/*.h
1966 %{_libdir}/pkgconfig/libvirt.pc
1968 %dir %{_datadir}/libvirt/api/
1969 %{_datadir}/libvirt/api/libvirt-api.xml
1970 %{_datadir}/libvirt/api/libvirt-qemu-api.xml
1971 %{_datadir}/libvirt/api/libvirt-lxc-api.xml
1973 %doc docs/*.html docs/html docs/*.gif
1974 %doc docs/libvirt-api.xml
1975 %doc examples/hellolibvirt
1976 %doc examples/domain-events/events-c
1977 %doc examples/dominfo
1978 %doc examples/domsuspend
1979 %doc examples/openauth
1981 %doc examples/systemtap
1985 %defattr(-, root, root)
1987 %doc AUTHORS NEWS README COPYING.LIB
1988 %{_libdir}/python*/site-packages/libvirt.py*
1989 %{_libdir}/python*/site-packages/libvirt_qemu.py*
1990 %{_libdir}/python*/site-packages/libvirt_lxc.py*
1991 %{_libdir}/python*/site-packages/libvirtmod*
1992 %doc python/tests/*.py
1994 %doc examples/python
1995 %doc examples/domain-events/events-python
1999 * Wed Jan 30 2013 Daniel Veillard <veillard@redhat.com> - 1.0.2-1
2001 - S390 architecture improvement
2002 - Power architecture improvement
2003 - large Coverity report cleanups and associated bug fixes
2004 - virTypedParams* APIs to helps with those data structures
2005 - a lot of bug fixes and overall improvements
2007 * Fri Nov 2 2012 Daniel Veillard <veillard@redhat.com> - 1.0.0-1
2008 - virNodeGetCPUMap: Define public API
2009 - Add systemd journal support
2010 - Add a qemu capabilities cache manager
2011 - USB migration support
2012 - various improvement and fixes when using QMP QEmu interface
2013 - Support for Xen 4.2
2014 - Lot of localization enhancements
2015 - a lot of bug fixes, improvements and portability work
2017 * Mon Sep 24 2012 Daniel Veillard <veillard@redhat.com> - 0.10.2-1
2018 - network: define new API virNetworkUpdate
2019 - add support for QEmu sandbox support
2020 - blockjob: add virDomainBlockCommit
2021 - New APIs to get/set Node memory parameters
2022 - new API virConnectListAllSecrets
2023 - new API virConnectListAllNWFilters
2024 - new API virConnectListAllNodeDevices
2025 - parallels: add support of containers to the driver
2026 - new API virConnectListAllInterfaces
2027 - new API virConnectListAllNetworks
2028 - new API virStoragePoolListAllVolumes
2029 - Add PMSUSPENDED life cycle event
2030 - new API virStorageListAllStoragePools
2031 - Add per-guest S3/S4 state configuration
2032 - qemu: Support for Block Device IO Limits
2033 - a lot of bug fixes, improvements and portability work
2035 * Fri Aug 31 2012 Daniel Veillard <veillard@redhat.com> - 0.10.1-1
2036 - bugfixes and a brown paper bag
2038 * Wed Aug 29 2012 Daniel Veillard <veillard@redhat.com> - 0.10.0-1
2039 - agent: add qemuAgentArbitraryCommand() for general qemu agent command
2040 - Introduce virDomainPinEmulator and virDomainGetEmulatorPinInfo functions
2041 - network: use firewalld instead of iptables, when available
2042 - network: make network driver vlan-aware
2043 - esx: Implement network driver
2044 - driver for parallels hypervisor
2045 - Various LXC improvements
2046 - Add virDomainGetHostname
2047 - a lot of bug fixes, improvements and portability work
2049 * Mon Jul 2 2012 Daniel Veillard <veillard@redhat.com> - 0.9.13-1
2050 - S390: support for s390(x)
2051 - snapshot: implement new APIs for esx and vbox
2052 - snapshot: new query APIs and many improvements
2053 - virsh: Allow users to reedit rejected XML
2054 - nwfilter: add DHCP snooping
2055 - Enable driver modules in libvirt RPM
2056 - Default to enable driver modules for libvirtd
2057 - storage backend: Add RBD (RADOS Block Device) support
2058 - sVirt support for LXC domains inprovement
2059 - a lot of bug fixes, improvements and portability work
2061 * Mon May 14 2012 Daniel Veillard <veillard@redhat.com> - 0.9.12-1
2062 - qemu: allow snapshotting of sheepdog and rbd disks
2063 - blockjob: add new APIs
2064 - a lot of bug fixes, improvements and portability work
2066 * Tue Apr 3 2012 Daniel Veillard <veillard@redhat.com> - 0.9.11-1
2067 - Add support for the suspend event
2068 - Add support for event tray moved of removable disks
2069 - qemu: Support numad
2070 - cpustats: API, improvements and qemu support
2071 - qemu: support type='hostdev' network devices at domain start
2072 - Introduce virDomainPMWakeup API
2073 - network: support Open vSwitch
2074 - a number of snapshot improvements
2075 - many improvements and bug fixes
2077 * Mon Feb 13 2012 Daniel Veillard <veillard@redhat.com> - 0.9.10-1
2078 - Add support for sVirt in the LXC driver
2079 - block rebase: add new API virDomainBlockRebase
2080 - API: Add api to set and get domain metadata
2081 - virDomainGetDiskErrors public API
2082 - conf: add rawio attribute to disk element of domain XML
2083 - Add new public API virDomainGetCPUStats()
2084 - Introduce virDomainPMSuspendForDuration API
2085 - resize: add virStorageVolResize() API
2086 - Add a virt-host-validate command to sanity check HV config
2087 - Add new virDomainShutdownFlags API
2088 - QEMU guest agent support
2089 - many improvements and bug fixes
2091 * Sat Jan 7 2012 Daniel Veillard <veillard@redhat.com> - 0.9.9-1
2092 - Add API virDomain{S,G}etInterfaceParameters
2093 - Add API virDomain{G, S}etNumaParameters
2094 - Add support for ppc64 qemu
2095 - Support Xen domctl v8
2096 - many improvements and bug fixes
2098 * Thu Dec 8 2011 Daniel Veillard <veillard@redhat.com> - 0.9.8-1
2099 - Add support for QEMU 1.0
2100 - Add preliminary PPC cpu driver
2101 - Add new API virDomain{Set, Get}BlockIoTune
2102 - block_resize: Define the new API
2103 - Add a public API to invoke suspend/resume on the host
2104 - various improvements for LXC containers
2105 - Define keepalive protocol and add virConnectIsAlive API
2106 - Add support for STP and VLAN filtering
2107 - many improvements and bug fixes
2109 * Tue Nov 8 2011 Daniel Veillard <veillard@redhat.com> - 0.9.7-1
2110 - esx: support vSphere 5.x
2111 - vbox: support for VirtualBox 4.1
2112 - Introduce the virDomainOpenGraphics API
2113 - Add AHCI support to qemu driver
2114 - snapshot: many improvements and 2 new APIs
2115 - api: Add public api for 'reset'
2116 - many improvements and bug fixes
2118 * Thu Sep 22 2011 Daniel Veillard <veillard@redhat.com> - 0.9.6-1
2119 - Fix the qemu reboot bug and a few others bug fixes
2121 * Tue Sep 20 2011 Daniel Veillard <veillard@redhat.com> - 0.9.5-1
2122 - many snapshot improvements (Eric Blake)
2123 - latency: Define new public API and structure (Osier Yang)
2124 - USB2 and various USB improvements (Marc-André Lureau)
2125 - storage: Add fs pool formatting (Osier Yang)
2126 - Add public API for getting migration speed (Jim Fehlig)
2127 - Add basic driver for Microsoft Hyper-V (Matthias Bolte)
2128 - many improvements and bug fixes
2130 * Wed Aug 3 2011 Daniel Veillard <veillard@redhat.com> - 0.9.4-1
2131 - network bandwidth QoS control
2132 - Add new API virDomainBlockPull*
2133 - save: new API to manipulate save file images
2134 - CPU bandwidth limits support
2135 - allow to send NMI and key event to guests
2136 - new API virDomainUndefineFlags
2137 - Implement code to attach to external QEMU instances
2138 - bios: Add support for SGA
2139 - various missing python binding
2140 - many improvements and bug fixes
2142 * Mon Jul 4 2011 Daniel Veillard <veillard@redhat.com> - 0.9.3-1
2143 - new API virDomainGetVcpupinInfo
2144 - Add TXT record support for virtual DNS service
2145 - Support reboots with the QEMU driver
2146 - New API virDomainGetControlInfo API
2147 - New API virNodeGetMemoryStats
2148 - New API virNodeGetCPUTime
2149 - New API for send-key
2150 - New API virDomainPinVcpuFlags
2151 - support multifunction PCI device
2152 - lxc: various improvements
2153 - many improvements and bug fixes
2155 * Mon Jun 6 2011 Daniel Veillard <veillard@redhat.com> - 0.9.2-1
2156 - Framework for lock manager plugins
2157 - API for network config change transactions
2158 - flags for setting memory parameters
2159 - virDomainGetState public API
2160 - qemu: allow blkstat/blkinfo calls during migration
2161 - Introduce migration v3 API
2162 - Defining the Screenshot public API
2163 - public API for NMI injection
2164 - Various improvements and bug fixes
2166 * Thu May 5 2011 Daniel Veillard <veillard@redhat.com> - 0.9.1-1
2167 - support various persistent domain updates
2168 - improvements on memory APIs
2169 - Add virDomainEventRebootNew
2170 - various improvements to libxl driver
2171 - Spice: support audio, images and stream compression
2172 - Various improvements and bug fixes
2174 * Mon Apr 4 2011 Daniel Veillard <veillard@redhat.com> - 0.9.0-1
2175 - Support cputune cpu usage tuning
2176 - Add public APIs for storage volume upload/download
2177 - Add public API for setting migration speed on the fly
2178 - Add libxenlight driver
2179 - qemu: support migration to fd
2180 - libvirt: add virDomain{Get,Set}BlkioParameters
2181 - setmem: introduce a new libvirt API (virDomainSetMemoryFlags)
2182 - Expose event loop implementation as a public API
2183 - Dump the debug buffer to libvirtd.log on fatal signal
2185 - Various improvements and bug fixes
2187 * Thu Feb 17 2011 Daniel Veillard <veillard@redhat.com> - 0.8.8-1
2188 - expose new API for sysinfo extraction
2189 - cgroup blkio weight support
2190 - smartcard device support
2191 - qemu: Support per-device boot ordering
2192 - Various improvements and bug fixes
2194 * Tue Jan 4 2011 Daniel Veillard <veillard@redhat.com> - 0.8.7-1
2195 - Preliminary support for VirtualBox 4.0
2197 - Add VMware Workstation and Player driver driver
2198 - Add network disk support
2199 - Various improvements and bug fixes
2201 * Tue Nov 30 2010 Daniel Veillard <veillard@redhat.com> - 0.8.6-1
2202 - Add support for iSCSI target auto-discovery
2203 - QED: Basic support for QED images
2204 - remote console support
2205 - support for SPICE graphics
2206 - sysinfo and VMBIOS support
2207 - virsh qemu-monitor-command
2208 - various improvements and bug fixes
2210 * Fri Oct 29 2010 Daniel Veillard <veillard@redhat.com> - 0.8.5-1
2211 - Enable JSON and netdev features in QEMU >= 0.13
2212 - framework for auditing integration
2213 - framework DTrace/SystemTap integration
2214 - Setting the number of vcpu at boot
2215 - Enable support for nested SVM
2216 - Virtio plan9fs filesystem QEMU
2217 - Memory parameter controls
2218 - various improvements and bug fixes
2220 * Fri Sep 10 2010 Daniel Veillard <veillard@redhat.com> - 0.8.4-1
2221 - big improvements to UML driver
2222 - various improvements and bug fixes
2224 * Wed Aug 4 2010 Daniel Veillard <veillard@redhat.com> - 0.8.3-1
2225 - esx: Support vSphere 4.1
2226 - Qemu arbitrary monitor commands
2227 - Qemu Monitor API entry point
2228 - various improvements and bug fixes
2230 * Mon Jul 5 2010 Daniel Veillard <veillard@redhat.com> - 0.8.2-1
2231 - phyp: adding support for IVM
2232 - libvirt: introduce domainCreateWithFlags API
2233 - add 802.1Qbh and 802.1Qbg switches handling
2234 - Support for VirtualBox version 3.2
2235 - Init script for handling guests on shutdown/boot
2236 - qemu: live migration with non-shared storage for kvm
2238 * Fri Apr 30 2010 Daniel Veillard <veillard@redhat.com> - 0.8.1-1
2239 - Starts dnsmasq from libvirtd with --dhcp-hostsfile
2240 - Add virDomainGetBlockInfo API to query disk sizing
2241 - a lot of bug fixes and cleanups
2243 * Mon Apr 12 2010 Daniel Veillard <veillard@redhat.com> - 0.8.0-1
2244 - Snapshotting support (QEmu/VBox/ESX)
2245 - Network filtering API
2247 - new APIs for domain events
2248 - Libvirt managed save API
2249 - timer subselection for domain clock
2251 - API to update guest CPU to host CPU
2252 - virDomainUpdateDeviceFlags new API
2253 - migrate max downtime API
2255 - and many bug fixes
2257 * Fri Mar 5 2010 Daniel Veillard <veillard@redhat.com> - 0.7.7-1
2259 - async job handling
2261 - computing baseline CPU
2262 - virDomain{Attach,Detach}DeviceFlags
2263 - assorted bug fixes and lots of cleanups
2265 * Wed Feb 3 2010 Daniel Veillard <veillard@redhat.com> - 0.7.6-1
2267 * Wed Dec 23 2009 Daniel Veillard <veillard@redhat.com> - 0.7.5-1
2268 - Add new API virDomainMemoryStats
2269 - Public API and domain extension for CPU flags
2270 - vbox: Add support for version 3.1
2271 - Support QEMU's virtual FAT block device driver
2274 * Fri Nov 20 2009 Daniel Veillard <veillard@redhat.com> - 0.7.3-1
2275 - udev node device backend
2276 - API to check object properties
2277 - better QEmu monitor processing
2278 - MAC address based port filtering for qemu
2279 - support IPv6 and multiple addresses per interfaces
2282 * Tue Sep 15 2009 Daniel Veillard <veillard@redhat.com> - 0.7.1-1
2283 - ESX, VBox driver updates
2285 - support for encrypted (qcow) volume
2286 - compressed save image format for Qemu/KVM
2287 - QEmu host PCI device hotplug support
2288 - configuration of huge pages in guests
2291 * Wed Aug 5 2009 Daniel Veillard <veillard@redhat.com> - 0.7.0-1
2292 - ESX, VBox3, Power Hypervisor drivers
2293 - new net filesystem glusterfs
2294 - Storage cloning for LVM and Disk backends
2295 - interface implementation based on netcf
2296 - Support cgroups in QEMU driver
2297 - QEmu hotplug NIC support
2300 * Fri Jul 3 2009 Daniel Veillard <veillard@redhat.com> - 0.6.5-1
2303 * Fri May 29 2009 Daniel Veillard <veillard@redhat.com> - 0.6.4-1
2307 * Fri Apr 24 2009 Daniel Veillard <veillard@redhat.com> - 0.6.3-1
2311 * Fri Apr 3 2009 Daniel Veillard <veillard@redhat.com> - 0.6.2-1
2314 * Fri Mar 4 2009 Daniel Veillard <veillard@redhat.com> - 0.6.1-1
2317 * Sat Jan 31 2009 Daniel Veillard <veillard@redhat.com> - 0.6.0-1
2320 * Tue Nov 25 2008 Daniel Veillard <veillard@redhat.com> - 0.5.0-1
2323 * Tue Sep 23 2008 Daniel Veillard <veillard@redhat.com> - 0.4.6-1
2326 * Mon Sep 8 2008 Daniel Veillard <veillard@redhat.com> - 0.4.5-1
2329 * Wed Jun 25 2008 Daniel Veillard <veillard@redhat.com> - 0.4.4-1
2331 - mostly a few bug fixes from 0.4.3
2333 * Thu Jun 12 2008 Daniel Veillard <veillard@redhat.com> - 0.4.3-1
2335 - lots of bug fixes and small improvements
2337 * Tue Apr 8 2008 Daniel Veillard <veillard@redhat.com> - 0.4.2-1
2339 - lots of bug fixes and small improvements
2341 * Mon Mar 3 2008 Daniel Veillard <veillard@redhat.com> - 0.4.1-1
2345 - lots of assorted improvements, bugfixes and cleanups
2346 - documentation and localization improvements
2348 * Tue Dec 18 2007 Daniel Veillard <veillard@redhat.com> - 0.4.0-1
2350 - SASL based authentication
2351 - PolicyKit authentication
2352 - improved NUMA and statistics support
2353 - lots of assorted improvements, bugfixes and cleanups
2354 - documentation and localization improvements
2356 * Sun Sep 30 2007 Daniel Veillard <veillard@redhat.com> - 0.3.3-1
2360 - lots of assorted improvements, bugfixes and cleanups
2361 - documentation and localization improvements
2363 * Tue Aug 21 2007 Daniel Veillard <veillard@redhat.com> - 0.3.2-1
2365 - API for domains migration
2366 - APIs for collecting statistics on disks and interfaces
2367 - lots of assorted bugfixes and cleanups
2368 - documentation and localization improvements
2370 * Tue Jul 24 2007 Daniel Veillard <veillard@redhat.com> - 0.3.1-1
2372 - localtime clock support
2373 - PS/2 and USB input devices
2374 - lots of assorted bugfixes and cleanups
2375 - documentation and localization improvements
2377 * Mon Jul 9 2007 Daniel Veillard <veillard@redhat.com> - 0.3.0-1
2379 - Secure remote access support
2380 - unification of daemons
2381 - lots of assorted bugfixes and cleanups
2382 - documentation and localization improvements
2384 * Fri Jun 8 2007 Daniel Veillard <veillard@redhat.com> - 0.2.3-1
2386 - lot of assorted bugfixes and cleanups
2387 - support for Xen-3.1
2390 * Tue Apr 17 2007 Daniel Veillard <veillard@redhat.com> - 0.2.2-1
2392 - lot of assorted bugfixes and cleanups
2393 - preparing for Xen-3.0.5
2395 * Thu Mar 22 2007 Jeremy Katz <katzj@redhat.com> - 0.2.1-2.fc7
2396 - don't require xen; we don't need the daemon and can control non-xen now
2397 - fix scriptlet error (need to own more directories)
2398 - update description text
2400 * Fri Mar 16 2007 Daniel Veillard <veillard@redhat.com> - 0.2.1-1
2402 - lot of bug and portability fixes
2403 - Add support for network autostart and init scripts
2404 - New API to detect the virtualization capabilities of a host
2405 - Documentation updates
2407 * Fri Feb 23 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-4.fc7
2408 - Fix loading of guest & network configs
2410 * Fri Feb 16 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-3.fc7
2411 - Disable kqemu support since its not in Fedora qemu binary
2412 - Fix for -vnc arg syntax change in 0.9.0 QEMU
2414 * Thu Feb 15 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-2.fc7
2415 - Fixed path to qemu daemon for autostart
2416 - Fixed generation of <features> block in XML
2417 - Pre-create config directory at startup
2419 * Wed Feb 14 2007 Daniel Veillard <veillard@redhat.com> 0.2.0-1.fc7
2420 - support for KVM and QEmu
2421 - support for network configuration
2424 * Mon Jan 22 2007 Daniel Veillard <veillard@redhat.com> 0.1.11-1.fc7
2425 - finish inactive Xen domains support
2427 - RelaxNG schemas for XML configs
2429 * Wed Dec 20 2006 Daniel Veillard <veillard@redhat.com> 0.1.10-1.fc7
2430 - support for inactive Xen domains
2431 - improved support for Xen display and vnc
2433 - localization updates
2435 * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 0.1.9-2
2436 - rebuild against python 2.5
2438 * Wed Nov 29 2006 Daniel Veillard <veillard@redhat.com> 0.1.9-1
2439 - better error reporting
2440 - python bindings fixes and extensions
2441 - add support for shareable drives
2442 - add support for non-bridge style networking
2443 - hot plug device support
2444 - added support for inactive domains
2445 - API to dump core of domains
2446 - various bug fixes, cleanups and improvements
2447 - updated the localization
2449 * Tue Nov 7 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-3
2450 - it's pkgconfig not pgkconfig !
2452 * Mon Nov 6 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-2
2453 - fixing spec file, added %dist, -devel requires pkgconfig and xen-devel
2454 - Resolves: rhbz#202320
2456 * Mon Oct 16 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-1
2457 - fix missing page size detection code for ia64
2458 - fix mlock size when getting domain info list from hypervisor
2459 - vcpu number initialization
2460 - don't label crashed domains as shut off
2461 - fix virsh man page
2462 - blktapdd support for alternate drivers like blktap
2463 - memory leak fixes (xend interface and XML parsing)
2465 - mlock/munlock size fixes
2467 * Fri Sep 22 2006 Daniel Veillard <veillard@redhat.com> 0.1.7-1
2468 - Fix bug when running against xen-3.0.3 hypercalls
2469 - Fix memory bug when getting vcpus info from xend
2471 * Fri Sep 22 2006 Daniel Veillard <veillard@redhat.com> 0.1.6-1
2472 - Support for localization
2473 - Support for new Xen-3.0.3 cdrom and disk configuration
2474 - Support for setting VNC port
2475 - Fix bug when running against xen-3.0.2 hypercalls
2476 - Fix reconnection problem when talking directly to http xend
2478 * Tue Sep 5 2006 Jeremy Katz <katzj@redhat.com> - 0.1.5-3
2479 - patch from danpb to support new-format cd devices for HVM guests
2481 * Tue Sep 5 2006 Daniel Veillard <veillard@redhat.com> 0.1.5-2
2482 - reactivating ia64 support
2484 * Tue Sep 5 2006 Daniel Veillard <veillard@redhat.com> 0.1.5-1
2487 - support for new hypervisor calls
2488 - early code for config files and defined domains
2490 * Mon Sep 4 2006 Daniel Berrange <berrange@redhat.com> - 0.1.4-5
2491 - add patch to address dom0_ops API breakage in Xen 3.0.3 tree
2493 * Mon Aug 28 2006 Jeremy Katz <katzj@redhat.com> - 0.1.4-4
2494 - add patch to support paravirt framebuffer in Xen
2496 * Mon Aug 21 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-3
2497 - another patch to fix network handling in non-HVM guests
2499 * Thu Aug 17 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-2
2500 - patch to fix virParseUUID()
2502 * Wed Aug 16 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-1
2503 - vCPUs and affinity support
2504 - more complete XML, console and boot options
2505 - specific features support
2506 - enforced read-only connections
2507 - various improvements, bug fixes
2509 * Wed Aug 2 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-6
2510 - add patch from pvetere to allow getting uuid from libvirt
2512 * Wed Aug 2 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-5
2515 * Thu Jul 27 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-4
2516 - don't BR xen, we just need xen-devel
2518 * Thu Jul 27 2006 Daniel Veillard <veillard@redhat.com> 0.1.3-3
2519 - need rebuild since libxenstore is now versionned
2521 * Mon Jul 24 2006 Mark McLoughlin <markmc@redhat.com> - 0.1.3-2
2522 - Add BuildRequires: xen-devel
2524 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.1.3-1.1
2527 * Tue Jul 11 2006 Daniel Veillard <veillard@redhat.com> 0.1.3-1
2528 - support for HVM Xen guests
2531 * Mon Jul 3 2006 Daniel Veillard <veillard@redhat.com> 0.1.2-1
2532 - added a proxy mechanism for read only access using httpu
2533 - fixed header includes paths
2535 * Wed Jun 21 2006 Daniel Veillard <veillard@redhat.com> 0.1.1-1
2536 - extend and cleanup the driver infrastructure and code
2538 - extend uuid support
2539 - bug fixes, buffer handling cleanups
2540 - support for new Xen hypervisor API
2541 - test driver for unit testing
2542 - virsh --conect argument
2544 * Mon Apr 10 2006 Daniel Veillard <veillard@redhat.com> 0.1.0-1
2546 - new APIs: for Node information and Reboot
2547 - virsh improvements and extensions
2548 - documentation updates and man page
2549 - enhancement and fixes of the XML description format
2551 * Tue Feb 28 2006 Daniel Veillard <veillard@redhat.com> 0.0.6-1
2552 - added error handling APIs
2554 - improve python bindings
2555 - augment documentation and regression tests
2557 * Thu Feb 23 2006 Daniel Veillard <veillard@redhat.com> 0.0.5-1
2558 - new domain creation API
2559 - new UUID based APIs
2560 - more tests, documentation, devhelp
2563 * Fri Feb 10 2006 Daniel Veillard <veillard@redhat.com> 0.0.4-1
2564 - fixes some problems in 0.0.3 due to the change of names
2566 * Wed Feb 8 2006 Daniel Veillard <veillard@redhat.com> 0.0.3-1
2567 - changed library name to libvirt from libvir, complete and test the python
2570 * Sun Jan 29 2006 Daniel Veillard <veillard@redhat.com> 0.0.2-1
2571 - upstream release of 0.0.2, use xend, save and restore added, python bindings
2574 * Wed Nov 2 2005 Daniel Veillard <veillard@redhat.com> 0.0.1-1