3 %define mainstream_version 1.0.2
4 %define module_version_varname mainstream_version
7 #libvirt-RPMFLAGS := --without storage-disk --without storage-iscsi --without storage-scsi \
8 # --without storage-fs --without storage-lvm \
9 # --without polkit --without sasl --without audit --with capng --with udev \
10 # --without netcf --without avahi --without sanlock \
11 # --without xen --without qemu --without hyperv --without phyp --without esx \
13 %define _without_storage_disk true
14 %define _without_storage_iscsi true
15 %define _without_storage_fs true
16 %define _without_storage_lvm true
17 %define _without_polkit true
18 %define _without_sasl true
19 %define _without_audit true
20 %define _without_netcf true
21 %define _without_avahi true
22 %define _without_sanlock true
23 %define _without_xen true
24 %define _without_qemu true
25 %define _without_hyperv true
26 %define _without_phyp true
27 %define _without_esx true
28 %define _without_libxl true
30 # If neither fedora nor rhel was defined, try to guess them from %{dist}
31 %if !0%{?rhel} && !0%{?fedora}
32 %{expand:%(echo "%{?dist}" | \
33 sed -ne 's/^\.el\([0-9]\+\).*/%%define rhel \1/p')}
34 %{expand:%(echo "%{?dist}" | \
35 sed -ne 's/^\.fc\?\([0-9]\+\).*/%%define fedora \1/p')}
38 # Default to skipping autoreconf. Distros can change just this one line
39 # (or provide a command-line override) if they backport any patches that
40 # touch configure.ac or Makefile.am.
41 %{!?enable_autotools:%define enable_autotools 0}
43 # A client only build will create a libvirt.so only containing
44 # the generic RPC driver, and test driver and no libvirtd
45 # Default to a full server + client build
48 # Now turn off server build in certain cases
50 # RHEL-5 builds are client-only for s390, ppc
52 %ifnarch %{ix86} x86_64 ia64
57 # Disable all server side drivers if client only build requested
59 %define server_drivers 0
61 %define server_drivers 1
64 # Always build with dlopen'd modules
65 %define with_driver_modules 1
67 # Now set the defaults for all the important features, independent
68 # of any particular OS
70 # First the daemon itself
71 %define with_libvirtd 0%{!?_without_libvirtd:%{server_drivers}}
72 %define with_avahi 0%{!?_without_avahi:%{server_drivers}}
74 # Then the hypervisor drivers that run in libvirtd
75 %define with_xen 0%{!?_without_xen:%{server_drivers}}
76 %define with_qemu 0%{!?_without_qemu:%{server_drivers}}
77 %define with_lxc 0%{!?_without_lxc:%{server_drivers}}
78 %define with_uml 0%{!?_without_uml:%{server_drivers}}
79 %define with_libxl 0%{!?_without_libxl:%{server_drivers}}
81 %define with_qemu_tcg %{with_qemu}
82 # Change if we ever provide qemu-kvm binaries on non-x86 hosts
84 %define qemu_kvm_arches %{ix86} x86_64 ppc64 s390x
86 %define qemu_kvm_arches %{ix86} x86_64
89 %ifarch %{qemu_kvm_arches}
90 %define with_qemu_kvm %{with_qemu}
92 %define with_qemu_kvm 0
95 # Then the hypervisor drivers that run outside libvirtd, in libvirt.so
96 %define with_openvz 0%{!?_without_openvz:1}
97 %define with_vbox 0%{!?_without_vbox:1}
98 %define with_vmware 0%{!?_without_vmware:1}
99 %define with_phyp 0%{!?_without_phyp:1}
100 %define with_esx 0%{!?_without_esx:1}
101 %define with_hyperv 0%{!?_without_hyperv:1}
102 %define with_xenapi 0%{!?_without_xenapi:1}
103 %define with_parallels 0%{!?_without_parallels:1}
105 # Then the secondary host drivers, which run inside libvirtd
106 %define with_interface 0%{!?_without_interface:%{server_drivers}}
107 %define with_network 0%{!?_without_network:%{server_drivers}}
108 %define with_storage_fs 0%{!?_without_storage_fs:%{server_drivers}}
109 %define with_storage_lvm 0%{!?_without_storage_lvm:%{server_drivers}}
110 %define with_storage_iscsi 0%{!?_without_storage_iscsi:%{server_drivers}}
111 %define with_storage_disk 0%{!?_without_storage_disk:%{server_drivers}}
112 %define with_storage_mpath 0%{!?_without_storage_mpath:%{server_drivers}}
113 %if 0%{?fedora} >= 16
114 %define with_storage_rbd 0%{!?_without_storage_rbd:%{server_drivers}}
116 %define with_storage_rbd 0
118 %if 0%{?fedora} >= 17
119 %define with_storage_sheepdog 0%{!?_without_storage_sheepdog:%{server_drivers}}
121 %define with_storage_sheepdog 0
123 %define with_numactl 0%{!?_without_numactl:%{server_drivers}}
124 %define with_selinux 0%{!?_without_selinux:%{server_drivers}}
126 # A few optional bits off by default, we enable later
127 %define with_polkit 0%{!?_without_polkit:0}
128 %define with_capng 0%{!?_without_capng:0}
129 %define with_fuse 0%{!?_without_fuse:0}
130 %define with_netcf 0%{!?_without_netcf:0}
131 %define with_udev 0%{!?_without_udev:0}
132 %define with_hal 0%{!?_without_hal:0}
133 %define with_yajl 0%{!?_without_yajl:0}
134 %define with_nwfilter 0%{!?_without_nwfilter:0}
135 %define with_libpcap 0%{!?_without_libpcap:0}
136 %define with_macvtap 0%{!?_without_macvtap:0}
137 %define with_libnl 0%{!?_without_libnl:0}
138 %define with_audit 0%{!?_without_audit:0}
139 %define with_dtrace 0%{!?_without_dtrace:0}
140 %define with_cgconfig 0%{!?_without_cgconfig:0}
141 %define with_sanlock 0%{!?_without_sanlock:0}
142 %define with_systemd 0%{!?_without_systemd:0}
143 %define with_numad 0%{!?_without_numad:0}
144 %define with_firewalld 0%{!?_without_firewalld:0}
145 %define with_libssh2 0%{!?_without_libssh2:0}
147 # Non-server/HV driver defaults which are always enabled
148 %define with_python 0%{!?_without_python:1}
149 %define with_sasl 0%{!?_without_sasl:1}
152 # Finally set the OS / architecture specific special cases
154 # Xen is available only on i386 x86_64 ia64
155 %ifnarch %{ix86} x86_64 ia64
160 # Numactl is not available on s390[x] and ARM
161 %ifarch s390 s390x %{arm}
162 %define with_numactl 0
165 # RHEL doesn't ship OpenVZ, VBox, UML, PowerHypervisor,
166 # VMWare, libxenserver (xenapi), libxenlight (Xen 4.1 and newer),
169 %define with_openvz 0
173 %define with_vmware 0
174 %define with_xenapi 0
176 %define with_hyperv 0
177 %define with_parallels 0
180 # Fedora 17 / RHEL-7 are first where we use systemd. Although earlier
181 # Fedora has systemd, libvirt still used sysvinit there.
182 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
183 %define with_systemd 1
186 # Fedora 18 / RHEL-7 are first where firewalld support is enabled
187 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
188 %define with_firewalld 1
191 # RHEL-5 has restricted QEMU to x86_64 only and is too old for LXC
193 %define with_qemu_tcg 0
196 %define with_qemu_kvm 0
201 # RHEL-6 has restricted QEMU to x86_64 only, stopped including Xen
202 # on all archs. Other archs all have LXC available though
204 %define with_qemu_tcg 0
207 %define with_qemu_kvm 0
212 # Fedora doesn't have any QEMU on ppc64 until FC16 - only ppc
213 %if 0%{?fedora} && 0%{?fedora} < 16
219 # Fedora doesn't have new enough Xen for libxl until F18
220 %if 0%{?fedora} && 0%{?fedora} < 18
224 # PolicyKit was introduced in Fedora 8 / RHEL-6 or newer
225 %if 0%{?fedora} >= 8 || 0%{?rhel} >= 6
226 %define with_polkit 0%{!?_without_polkit:1}
229 # libcapng is used to manage capabilities in Fedora 12 / RHEL-6 or newer
230 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
231 %define with_capng 0%{!?_without_capng:1}
234 # fuse is used to provide virtualized /proc for LXC
235 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
236 %define with_fuse 0%{!?_without_fuse:1}
239 # netcf is used to manage network interfaces in Fedora 12 / RHEL-6 or newer
240 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
241 %define with_netcf 0%{!?_without_netcf:%{server_drivers}}
244 # udev is used to manage host devices in Fedora 12 / RHEL-6 or newer
245 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
246 %define with_udev 0%{!?_without_udev:%{server_drivers}}
248 %define with_hal 0%{!?_without_hal:%{server_drivers}}
251 # interface requires netcf
252 %if ! 0%{?with_netcf}
253 %define with_interface 0
256 # Enable yajl library for JSON mode with QEMU
257 %if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
258 %define with_yajl 0%{!?_without_yajl:%{server_drivers}}
261 # Enable sanlock library for lock management with QEMU
262 # Sanlock is available only on i686 x86_64 for RHEL
263 %if 0%{?fedora} >= 16
264 %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
267 %ifarch %{ix86} x86_64
268 %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
272 # Enable libssh2 transport for new enough distros
273 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
274 %define with_libssh2 0%{!?_without_libssh2:1}
277 # Disable some drivers when building without libvirt daemon.
278 # The logic is the same as in configure.ac
279 %if ! %{with_libvirtd}
280 %define with_interface 0
281 %define with_network 0
287 %define with_storage_fs 0
288 %define with_storage_lvm 0
289 %define with_storage_iscsi 0
290 %define with_storage_mpath 0
291 %define with_storage_rbd 0
292 %define with_storage_sheepdog 0
293 %define with_storage_disk 0
296 %if %{with_qemu} || %{with_lxc} || %{with_uml}
297 %define with_nwfilter 0%{!?_without_nwfilter:%{server_drivers}}
298 # Enable libpcap library
299 %define with_libpcap 0%{!?_without_libpcap:%{server_drivers}}
300 %define with_macvtap 0%{!?_without_macvtap:%{server_drivers}}
302 # numad is used to manage the CPU and memory placement dynamically,
303 # it's not available on s390[x] and ARM.
304 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
305 %ifnarch s390 s390x %{arm}
306 %define with_numad 0%{!?_without_numad:%{server_drivers}}
315 %if 0%{?fedora} >= 11 || 0%{?rhel} >= 5
316 %define with_audit 0%{!?_without_audit:1}
319 %if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
320 %define with_dtrace 1
323 # Pull in cgroups config system
324 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
325 %if %{with_qemu} || %{with_lxc}
326 %define with_cgconfig 0%{!?_without_cgconfig:1}
330 %if %{with_udev} || %{with_hal}
331 %define with_nodedev 1
333 %define with_nodedev 0
336 %if %{with_storage_fs} || %{with_storage_mpath} || %{with_storage_iscsi} || %{with_storage_lvm} || %{with_storage_disk}
337 %define with_storage 1
339 %define with_storage 0
343 # Force QEMU to run as non-root
344 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
345 %define qemu_user qemu
346 %define qemu_group qemu
348 %define qemu_user root
349 %define qemu_group root
353 # The RHEL-5 Xen package has some feature backports. This
354 # flag is set to enable use of those special bits on RHEL-5
361 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
362 %define with_systemd_macros 1
364 %define with_systemd_macros 0
368 Summary: Library providing a simple virtualization API
370 Version: %{mainstream_version}
373 Group: Development/Libraries
374 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
375 URL: http://libvirt.org/
377 %if %(echo %{version} | grep -o \\. | wc -l) == 3
378 %define mainturl stable_updates/
380 Source: http://libvirt.org/sources/%{?mainturl}libvirt-%{version}.tar.gz
381 Patch1: libcurl.patch
382 Patch2: securityselinuxlabeltest.patch
385 Requires: libvirt-daemon = %{version}-%{release}
387 Requires: libvirt-daemon-config-network = %{version}-%{release}
390 Requires: libvirt-daemon-config-nwfilter = %{version}-%{release}
392 %if %{with_driver_modules}
394 Requires: libvirt-daemon-driver-libxl = %{version}-%{release}
397 Requires: libvirt-daemon-driver-lxc = %{version}-%{release}
400 Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
403 Requires: libvirt-daemon-driver-uml = %{version}-%{release}
406 Requires: libvirt-daemon-driver-xen = %{version}-%{release}
409 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
410 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
411 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
412 Requires: libvirt-daemon-driver-network = %{version}-%{release}
413 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
414 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
417 Requires: libvirt-client = %{version}-%{release}
419 # All build-time requirements. Run-time requirements are
420 # listed against each sub-RPM
421 %if 0%{?enable_autotools}
422 BuildRequires: autoconf
423 BuildRequires: automake
424 BuildRequires: gettext-devel
425 BuildRequires: libtool
427 BuildRequires: python-devel
429 BuildRequires: systemd-units
432 BuildRequires: xen-devel
434 BuildRequires: libxml2-devel
435 BuildRequires: xhtml1-dtds
436 BuildRequires: libxslt
437 BuildRequires: readline-devel
438 BuildRequires: ncurses-devel
439 BuildRequires: gettext
440 BuildRequires: libtasn1-devel
441 BuildRequires: gnutls-devel
442 BuildRequires: libattr-devel
443 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
444 # for augparse, optionally used in testing
445 BuildRequires: augeas
448 BuildRequires: hal-devel
451 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
452 BuildRequires: systemd-devel >= 185
454 BuildRequires: libudev-devel >= 145
456 BuildRequires: libpciaccess-devel >= 0.10.9
459 BuildRequires: yajl-devel
462 # make sure libvirt is built with new enough sanlock on
463 # distros that have it; required for on_lockfailure
464 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
465 BuildRequires: sanlock-devel >= 2.4
467 BuildRequires: sanlock-devel >= 1.8
471 BuildRequires: libpcap-devel
474 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
475 BuildRequires: libnl3-devel
477 BuildRequires: libnl-devel
481 BuildRequires: avahi-devel
484 BuildRequires: libselinux-devel
487 BuildRequires: dnsmasq >= 2.41
488 BuildRequires: iptables
489 BuildRequires: iptables-ipv6
493 BuildRequires: ebtables
495 BuildRequires: module-init-tools
497 BuildRequires: cyrus-sasl-devel
500 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
501 # Only need the binary, not -devel
502 BuildRequires: polkit >= 0.93
504 BuildRequires: PolicyKit-devel >= 0.6
507 %if %{with_storage_fs}
508 # For mount/umount in FS driver
509 BuildRequires: util-linux
513 BuildRequires: /usr/bin/qemu-img
517 BuildRequires: /usr/sbin/qcow-create
520 %if %{with_storage_lvm}
524 %if %{with_storage_iscsi}
526 BuildRequires: iscsi-initiator-utils
528 %if %{with_storage_disk}
530 BuildRequires: parted-devel
532 # Broken RHEL-5 parted RPM is missing a dep
533 BuildRequires: e2fsprogs-devel
536 %if %{with_storage_mpath}
537 # For Multipath support
539 # Broken RHEL-5 packaging has header files in main RPM :-(
540 BuildRequires: device-mapper
542 BuildRequires: device-mapper-devel
544 %if %{with_storage_rbd}
545 BuildRequires: ceph-devel
549 # For QEMU/LXC numa info
550 BuildRequires: numactl-devel
553 BuildRequires: libcap-ng-devel >= 0.5.0
556 BuildRequires: fuse-devel >= 2.8.6
558 %if %{with_phyp} || %{with_libssh2}
559 BuildRequires: libssh2-devel >= 1.3.0
563 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
564 BuildRequires: netcf-devel >= 0.2.2
566 %if 0%{?fedora} >= 16 || 0%{?rhel} >= 6
567 BuildRequires: netcf-devel >= 0.1.8
569 BuildRequires: netcf-devel >= 0.1.4
574 %if 0%{?fedora} >= 9 || 0%{?rhel} >= 6
575 BuildRequires: libcurl-devel
577 BuildRequires: curl-devel
581 BuildRequires: libwsman-devel >= 2.2.3
584 BuildRequires: audit-libs-devel
587 # we need /usr/sbin/dtrace
588 BuildRequires: systemtap-sdt-devel
591 %if %{with_storage_fs}
592 # For mount/umount in FS driver
593 BuildRequires: util-linux
594 # For showmount in FS driver (netfs discovery)
595 BuildRequires: nfs-utils
598 %if %{with_firewalld}
599 # Communication with the firewall daemon uses DBus
600 BuildRequires: dbus-devel
603 # Fedora build root suckage
606 # For storage wiping with different algorithms
613 Provides: bundled(gnulib)
616 Libvirt is a C toolkit to interact with the virtualization capabilities
617 of recent versions of Linux (and other OSes). The main package includes
618 the libvirtd server exporting the virtualization support.
621 Summary: API reference and website documentation
622 Group: Development/Libraries
625 Includes the API reference for the libvirt C library, and a complete
626 copy of the libvirt.org website documentation.
630 Summary: Server side daemon and supporting files for libvirt library
631 Group: Development/Libraries
633 # All runtime requirements for the libvirt package (runtime requrements
634 # for subpackages are listed later in those subpackages)
636 # The client side, i.e. shared libs and virsh are in a subpackage
637 Requires: %{name}-client = %{version}-%{release}
639 # for modprobe of pci devices
640 Requires: module-init-tools
641 # for /sbin/ip & /sbin/tc
651 Requires: dnsmasq >= 2.41
654 %if %{with_network} || %{with_nwfilter}
656 Requires: iptables-ipv6
661 %if %{with_netcf} && (0%{?fedora} >= 18 || 0%{?rhel} >= 7)
662 Requires: netcf-libs >= 0.2.2
664 # needed for device enumeration
669 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
670 Requires: systemd >= 185
672 Requires: udev >= 145
676 %if 0%{?fedora} >= 12 || 0%{?rhel} >=6
677 Requires: polkit >= 0.93
679 Requires: PolicyKit >= 0.6
682 %if %{with_storage_fs}
686 # For pool-build probing for existing pools
687 BuildRequires: libblkid-devel >= 2.17
689 %if 0%{?fedora} >= 11
690 Requires: glusterfs-client >= 2.0.1
695 Requires: /usr/bin/qemu-img
696 # For image compression
704 Requires: /usr/sbin/qcow-create
707 %if %{with_storage_lvm}
711 %if %{with_storage_iscsi}
713 Requires: iscsi-initiator-utils
715 %if %{with_storage_disk}
718 Requires: device-mapper
720 %if %{with_storage_mpath}
721 # For multipath support
722 Requires: device-mapper
724 %if %{with_storage_sheepdog}
725 # For Sheepdog support
731 %ifarch %{ix86} x86_64 ia64
732 # For virConnectGetSysinfo
735 # For service management
737 Requires(post): systemd-units
738 Requires(post): systemd-sysv
739 Requires(preun): systemd-units
740 Requires(postun): systemd-units
745 # libvirtd depends on 'messagebus' service
749 Server side daemon required to manage the virtualization capabilities
750 of recent versions of Linux. Requires a hypervisor specific sub-RPM
751 for specific drivers.
754 %package daemon-config-network
755 Summary: Default configuration files for the libvirtd daemon
756 Group: Development/Libraries
758 Requires: libvirt-daemon = %{version}-%{release}
760 %description daemon-config-network
761 Default configuration files for setting up NAT based networking
765 %package daemon-config-nwfilter
766 Summary: Network filter configuration files for the libvirtd daemon
767 Group: Development/Libraries
769 Requires: libvirt-daemon = %{version}-%{release}
771 %description daemon-config-nwfilter
772 Network filter configuration files for cleaning guest traffic
775 %if %{with_driver_modules}
777 %package daemon-driver-network
778 Summary: Network driver plugin for the libvirtd daemon
779 Group: Development/Libraries
780 Requires: libvirt-daemon = %{version}-%{release}
782 %description daemon-driver-network
783 The network driver plugin for the libvirtd daemon, providing
784 an implementation of the virtual network APIs using the Linux
790 %package daemon-driver-nwfilter
791 Summary: Nwfilter driver plugin for the libvirtd daemon
792 Group: Development/Libraries
793 Requires: libvirt-daemon = %{version}-%{release}
795 %description daemon-driver-nwfilter
796 The nwfilter driver plugin for the libvirtd daemon, providing
797 an implementation of the firewall APIs using the ebtables,
798 iptables and ip6tables capabilities
803 %package daemon-driver-nodedev
804 Summary: Nodedev driver plugin for the libvirtd daemon
805 Group: Development/Libraries
806 Requires: libvirt-daemon = %{version}-%{release}
808 %description daemon-driver-nodedev
809 The nodedev driver plugin for the libvirtd daemon, providing
810 an implementation of the node device APIs using the udev
815 %if %{with_interface}
816 %package daemon-driver-interface
817 Summary: Interface driver plugin for the libvirtd daemon
818 Group: Development/Libraries
819 Requires: libvirt-daemon = %{version}-%{release}
821 %description daemon-driver-interface
822 The interface driver plugin for the libvirtd daemon, providing
823 an implementation of the network interface APIs using the
828 %package daemon-driver-secret
829 Summary: Secret driver plugin for the libvirtd daemon
830 Group: Development/Libraries
831 Requires: libvirt-daemon = %{version}-%{release}
833 %description daemon-driver-secret
834 The secret driver plugin for the libvirtd daemon, providing
835 an implementation of the secret key APIs.
839 %package daemon-driver-storage
840 Summary: Storage driver plugin for the libvirtd daemon
841 Group: Development/Libraries
842 Requires: libvirt-daemon = %{version}-%{release}
844 %description daemon-driver-storage
845 The storage driver plugin for the libvirtd daemon, providing
846 an implementation of the storage APIs using LVM, iSCSI,
852 %package daemon-driver-qemu
853 Summary: Qemu driver plugin for the libvirtd daemon
854 Group: Development/Libraries
855 Requires: libvirt-daemon = %{version}-%{release}
856 # There really is a hard cross-driver dependency here
857 Requires: libvirt-daemon-driver-network = %{version}-%{release}
859 %description daemon-driver-qemu
860 The qemu driver plugin for the libvirtd daemon, providing
861 an implementation of the hypervisor driver APIs using
867 %package daemon-driver-lxc
868 Summary: LXC driver plugin for the libvirtd daemon
869 Group: Development/Libraries
870 Requires: libvirt-daemon = %{version}-%{release}
871 # There really is a hard cross-driver dependency here
872 Requires: libvirt-daemon-driver-network = %{version}-%{release}
874 %description daemon-driver-lxc
875 The LXC driver plugin for the libvirtd daemon, providing
876 an implementation of the hypervisor driver APIs using
882 %package daemon-driver-uml
883 Summary: Uml driver plugin for the libvirtd daemon
884 Group: Development/Libraries
885 Requires: libvirt-daemon = %{version}-%{release}
887 %description daemon-driver-uml
888 The UML driver plugin for the libvirtd daemon, providing
889 an implementation of the hypervisor driver APIs using
895 %package daemon-driver-xen
896 Summary: Xen driver plugin for the libvirtd daemon
897 Group: Development/Libraries
898 Requires: libvirt-daemon = %{version}-%{release}
900 %description daemon-driver-xen
901 The Xen driver plugin for the libvirtd daemon, providing
902 an implementation of the hypervisor driver APIs using
908 %package daemon-driver-libxl
909 Summary: Libxl driver plugin for the libvirtd daemon
910 Group: Development/Libraries
911 Requires: libvirt-daemon = %{version}-%{release}
913 %description daemon-driver-libxl
914 The Libxl driver plugin for the libvirtd daemon, providing
915 an implementation of the hypervisor driver APIs using
918 %endif # %{with_driver_modules}
924 Summary: Server side daemon & driver required to run QEMU guests
925 Group: Development/Libraries
927 Requires: libvirt-daemon = %{version}-%{release}
928 %if %{with_driver_modules}
929 Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
930 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
931 Requires: libvirt-daemon-driver-network = %{version}-%{release}
932 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
933 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
934 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
935 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
939 %description daemon-qemu
940 Server side daemon and driver required to manage the virtualization
941 capabilities of the QEMU TCG emulators
947 Summary: Server side daemon & driver required to run KVM guests
948 Group: Development/Libraries
950 Requires: libvirt-daemon = %{version}-%{release}
951 %if %{with_driver_modules}
952 Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
953 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
954 Requires: libvirt-daemon-driver-network = %{version}-%{release}
955 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
956 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
957 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
958 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
962 %description daemon-kvm
963 Server side daemon and driver required to manage the virtualization
964 capabilities of the KVM hypervisor
970 Summary: Server side daemon & driver required to run LXC guests
971 Group: Development/Libraries
973 Requires: libvirt-daemon = %{version}-%{release}
974 %if %{with_driver_modules}
975 Requires: libvirt-daemon-driver-lxc = %{version}-%{release}
976 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
977 Requires: libvirt-daemon-driver-network = %{version}-%{release}
978 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
979 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
980 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
981 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
984 %description daemon-lxc
985 Server side daemon and driver required to manage the virtualization
992 Summary: Server side daemon & driver required to run UML guests
993 Group: Development/Libraries
995 Requires: libvirt-daemon = %{version}-%{release}
996 %if %{with_driver_modules}
997 Requires: libvirt-daemon-driver-uml = %{version}-%{release}
998 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
999 Requires: libvirt-daemon-driver-network = %{version}-%{release}
1000 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
1001 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
1002 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
1003 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
1005 # There are no UML kernel RPMs in Fedora/RHEL to depend on.
1007 %description daemon-uml
1008 Server side daemon and driver required to manage the virtualization
1013 %if %{with_xen} || %{with_libxl}
1015 Summary: Server side daemon & driver required to run XEN guests
1016 Group: Development/Libraries
1018 Requires: libvirt-daemon = %{version}-%{release}
1019 %if %{with_driver_modules}
1021 Requires: libvirt-daemon-driver-xen = %{version}-%{release}
1024 Requires: libvirt-daemon-driver-libxl = %{version}-%{release}
1026 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
1027 Requires: libvirt-daemon-driver-network = %{version}-%{release}
1028 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
1029 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
1030 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
1031 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
1035 %description daemon-xen
1036 Server side daemon and driver required to manage the virtualization
1039 %endif # %{with_libvirtd}
1042 Summary: Client side library and utilities of the libvirt library
1043 Group: Development/Libraries
1046 # So remote clients can access libvirt over SSH tunnel
1047 # (client invokes 'nc' against the UNIX socket on the server)
1049 # Needed by libvirt-guests init script.
1051 # Needed by virt-pki-validate script.
1052 Requires: gnutls-utils
1053 # Needed for probing the power management features of the host.
1056 Requires: cyrus-sasl
1057 # Not technically required, but makes 'out-of-box' config
1058 # work correctly & doesn't have onerous dependencies
1059 Requires: cyrus-sasl-md5
1063 Shared libraries and client binaries needed to access to the
1064 virtualization capabilities of recent versions of Linux (and other OSes).
1067 Summary: Libraries, includes, etc. to compile with the libvirt library
1068 Group: Development/Libraries
1069 Requires: %{name}-client = %{version}-%{release}
1070 Requires: %{name}-docs = %{version}-%{release}
1074 Include header files & development libraries for the libvirt C library.
1077 %package lock-sanlock
1078 Summary: Sanlock lock manager plugin for QEMU driver
1079 Group: Development/Libraries
1080 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
1081 Requires: sanlock >= 2.4
1083 Requires: sanlock >= 1.8
1085 #for virt-sanlock-cleanup require augeas
1087 Requires: %{name}-daemon = %{version}-%{release}
1088 Requires: %{name}-client = %{version}-%{release}
1090 %description lock-sanlock
1091 Includes the Sanlock lock manager plugin for the QEMU
1097 Summary: Python bindings for the libvirt library
1098 Group: Development/Libraries
1099 Requires: %{name}-client = %{version}-%{release}
1102 The libvirt-python package contains a module that permits applications
1103 written in the Python programming language to use the interface
1104 supplied by the libvirt library to use the virtualization capabilities
1105 of recent versions of Linux (and other OSes).
1115 %define _without_xen --without-xen
1119 %define _without_qemu --without-qemu
1122 %if ! %{with_openvz}
1123 %define _without_openvz --without-openvz
1127 %define _without_lxc --without-lxc
1131 %define _without_vbox --without-vbox
1134 %if ! %{with_xenapi}
1135 %define _without_xenapi --without-xenapi
1139 %define _without_libxl --without-libxl
1143 %define _without_sasl --without-sasl
1147 %define _without_avahi --without-avahi
1151 %define _without_phyp --without-phyp
1155 %define _without_esx --without-esx
1158 %if ! %{with_hyperv}
1159 %define _without_hyperv --without-hyperv
1162 %if ! %{with_vmware}
1163 %define _without_vmware --without-vmware
1166 %if ! %{with_parallels}
1167 %define _without_parallels --without-parallels
1170 %if ! %{with_polkit}
1171 %define _without_polkit --without-polkit
1174 %if ! %{with_python}
1175 %define _without_python --without-python
1178 %if ! %{with_libvirtd}
1179 %define _without_libvirtd --without-libvirtd
1183 %define _without_uml --without-uml
1187 %define _with_rhel5_api --with-rhel5-api
1190 %if ! %{with_interface}
1191 %define _without_interface --without-interface
1194 %if ! %{with_network}
1195 %define _without_network --without-network
1198 %if ! %{with_storage_fs}
1199 %define _without_storage_fs --without-storage-fs
1202 %if ! %{with_storage_lvm}
1203 %define _without_storage_lvm --without-storage-lvm
1206 %if ! %{with_storage_iscsi}
1207 %define _without_storage_iscsi --without-storage-iscsi
1210 %if ! %{with_storage_disk}
1211 %define _without_storage_disk --without-storage-disk
1214 %if ! %{with_storage_mpath}
1215 %define _without_storage_mpath --without-storage-mpath
1218 %if ! %{with_storage_rbd}
1219 %define _without_storage_rbd --without-storage-rbd
1222 %if ! %{with_storage_sheepdog}
1223 %define _without_storage_sheepdog --without-storage-sheepdog
1226 %if ! %{with_numactl}
1227 %define _without_numactl --without-numactl
1231 %define _without_numad --without-numad
1235 %define _without_capng --without-capng
1239 %define _without_fuse --without-fuse
1243 %define _without_netcf --without-netcf
1246 %if ! %{with_selinux}
1247 %define _without_selinux --without-selinux
1251 %define _without_hal --without-hal
1255 %define _without_udev --without-udev
1259 %define _without_yajl --without-yajl
1262 %if ! %{with_sanlock}
1263 %define _without_sanlock --without-sanlock
1266 %if ! %{with_libpcap}
1267 %define _without_libpcap --without-libpcap
1270 %if ! %{with_macvtap}
1271 %define _without_macvtap --without-macvtap
1275 %define _without_audit --without-audit
1278 %if ! %{with_dtrace}
1279 %define _without_dtrace --without-dtrace
1282 %if ! %{with_driver_modules}
1283 %define _without_driver_modules --without-driver-modules
1286 %if %{with_firewalld}
1287 %define _with_firewalld --with-firewalld
1290 %define when %(date +"%%F-%%T")
1291 %define where %(hostname)
1292 %define who %{?packager}%{!?packager:Unknown}
1293 %define with_packager --with-packager="%{who}, %{when}, %{where}"
1294 %define with_packager_version --with-packager-version="%{release}"
1297 %define init_scripts --with-init_script=systemd
1299 %define init_scripts --with-init_script=redhat
1302 %if 0%{?enable_autotools}
1307 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
1308 %define with_selinux_mount --with-selinux-mount="/sys/fs/selinux"
1310 %define with_selinux_mount --with-selinux-mount="/selinux"
1314 %configure %{?_without_xen} \
1316 %{?_without_openvz} \
1319 %{?_without_libxl} \
1320 %{?_without_xenapi} \
1322 %{?_without_avahi} \
1323 %{?_without_polkit} \
1324 %{?_without_python} \
1325 %{?_without_libvirtd} \
1329 %{?_without_hyperv} \
1330 %{?_without_vmware} \
1331 %{?_without_parallels} \
1332 %{?_without_interface} \
1333 %{?_without_network} \
1334 %{?_with_rhel5_api} \
1335 %{?_without_storage_fs} \
1336 %{?_without_storage_lvm} \
1337 %{?_without_storage_iscsi} \
1338 %{?_without_storage_disk} \
1339 %{?_without_storage_mpath} \
1340 %{?_without_storage_rbd} \
1341 %{?_without_storage_sheepdog} \
1342 %{?_without_numactl} \
1343 %{?_without_numad} \
1344 %{?_without_capng} \
1346 %{?_without_netcf} \
1347 %{?_without_selinux} \
1348 %{?_with_selinux_mount} \
1352 %{?_without_sanlock} \
1353 %{?_without_libpcap} \
1354 %{?_without_macvtap} \
1355 %{?_without_audit} \
1356 %{?_without_dtrace} \
1357 %{?_without_driver_modules} \
1358 %{?_with_firewalld} \
1360 %{with_packager_version} \
1361 --with-qemu-user=%{qemu_user} \
1362 --with-qemu-group=%{qemu_group} \
1364 make %{?_smp_mflags}
1370 %makeinstall SYSTEMD_UNIT_DIR=%{buildroot}%{_unitdir}
1371 for i in domain-events/events-c dominfo domsuspend hellolibvirt openauth python xml/nwfilter systemtap
1373 (cd examples/$i ; make clean ; rm -rf .deps .libs Makefile Makefile.in)
1375 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
1376 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
1377 rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.la
1378 rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a
1379 rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/lock-driver/*.la
1380 rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/lock-driver/*.a
1381 %if %{with_driver_modules}
1382 rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/connection-driver/*.la
1383 rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/connection-driver/*.a
1387 install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/lib/libvirt/dnsmasq/
1388 # We don't want to install /etc/libvirt/qemu/networks in the main %files list
1389 # because if the admin wants to delete the default network completely, we don't
1390 # want to end up re-incarnating it on every RPM upgrade.
1391 install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/
1392 cp $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml \
1393 $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
1394 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
1395 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
1396 # Strip auto-generated UUID - we need it generated per-install
1397 sed -i -e "/<uuid>/d" $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
1399 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
1400 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
1403 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_qemu.aug
1404 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
1408 %if ! %{with_sanlock}
1409 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirt_sanlock.aug
1410 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
1414 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_lxc.aug
1415 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
1418 %if ! %{with_python}
1419 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-python-%{version}
1421 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-python-%{version}/examples
1425 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu.conf
1426 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.qemu
1429 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/lxc.conf
1430 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.lxc
1433 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.uml
1436 mv $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-%{version} \
1437 $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-docs-%{version}
1440 %ifarch %{power64} s390x x86_64 ia64 alpha sparc64
1441 mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_probes.stp \
1442 $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_probes-64.stp
1443 mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_qemu_probes.stp \
1444 $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_qemu_probes-64.stp
1448 %if 0%{?fedora} < 14 && 0%{?rhel} < 6
1449 rm -f $RPM_BUILD_ROOT%{_prefix}/lib/sysctl.d/libvirtd.conf
1458 # These tests don't current work in a mock build root
1459 for i in nodeinfotest seclabeltest
1462 printf 'int main(void) { return 0; }' > $i.c
1463 printf '#!/bin/sh\nexit 0\n' > $i
1468 %if %{with_libvirtd}
1470 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
1471 # Normally 'setup' adds this in /etc/passwd, but this is
1472 # here for case of upgrades from earlier Fedora/RHEL. This
1473 # UID/GID pair is reserved for qemu:qemu
1474 getent group kvm >/dev/null || groupadd -g 36 -r kvm
1475 getent group qemu >/dev/null || groupadd -g 107 -r qemu
1476 getent passwd qemu >/dev/null || \
1477 useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
1484 # All newly defined networks will have a mac address for the bridge
1485 # auto-generated, but networks already existing at the time of upgrade
1486 # will not. We need to go through all the network configs, look for
1487 # those that don't have a mac address, and add one.
1489 network_files=$( (cd %{_localstatedir}/lib/libvirt/network && \
1490 grep -L "mac address" *.xml; \
1491 cd %{_sysconfdir}/libvirt/qemu/networks && \
1492 grep -L "mac address" *.xml) 2>/dev/null \
1495 for file in $network_files
1497 # each file exists in either the config or state directory (or both) and
1498 # does not have a mac address specified in either. We add the same mac
1499 # address to both files (or just one, if the other isn't there)
1501 mac4=`printf '%X' $(($RANDOM % 256))`
1502 mac5=`printf '%X' $(($RANDOM % 256))`
1503 mac6=`printf '%X' $(($RANDOM % 256))`
1504 for dir in %{_localstatedir}/lib/libvirt/network \
1505 %{_sysconfdir}/libvirt/qemu/networks
1507 if test -f $dir/$file
1510 "s|\(<bridge.*$\)|\0\n <mac address='52:54:00:$mac4:$mac5:$mac6'/>|" \
1514 echo "failed to add <mac address='52:54:00:$mac4:$mac5:$mac6'/>" \
1516 mv -f $dir/$file.orig $dir/$file
1518 rm -f $dir/$file.orig
1526 %if %{with_systemd_macros}
1527 %systemd_post libvirtd.service
1529 if [ $1 -eq 1 ] ; then
1530 # Initial installation
1531 /bin/systemctl enable virtlockd.socket >/dev/null 2>&1 || :
1532 /bin/systemctl enable libvirtd.service >/dev/null 2>&1 || :
1536 %if %{with_cgconfig}
1537 # Starting with Fedora 16/RHEL-7, systemd automounts all cgroups,
1538 # and cgconfig is no longer a necessary service.
1539 %if (0%{?rhel} && 0%{?rhel} < 7) || (0%{?fedora} && 0%{?fedora} < 16)
1540 if [ "$1" -eq "1" ]; then
1541 /sbin/chkconfig cgconfig on
1546 /sbin/chkconfig --add libvirtd
1547 if [ "$1" -ge "1" ]; then
1548 /sbin/service libvirtd condrestart > /dev/null 2>&1
1554 %if %{with_systemd_macros}
1555 %systemd_preun libvirtd.service
1557 if [ $1 -eq 0 ] ; then
1558 # Package removal, not upgrade
1559 /bin/systemctl --no-reload disable virtlockd.socket > /dev/null 2>&1 || :
1560 /bin/systemctl --no-reload disable libvirtd.service > /dev/null 2>&1 || :
1561 /bin/systemctl stop libvirtd.service > /dev/null 2>&1 || :
1562 /bin/systemctl stop virtlockd.service > /dev/null 2>&1 || :
1567 /sbin/service libvirtd stop 1>/dev/null 2>&1
1568 /sbin/chkconfig --del libvirtd
1574 %if %{with_systemd_macros}
1575 %systemd_postun_with_restart libvirtd.service
1577 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
1578 if [ $1 -ge 1 ] ; then
1579 # Package upgrade, not uninstall
1580 /bin/systemctl status virtlockd.service >/dev/null 2>&1
1581 if [ $? = 1 ] ; then
1582 /bin/systemctl kill --signal=USR1 virtlockd.service >/dev/null 2>&1 || :
1584 /bin/systemctl try-restart libvirtd.service >/dev/null 2>&1 || :
1590 %post daemon-config-network
1591 if test $1 -eq 1 && test ! -f %{_sysconfdir}/libvirt/qemu/networks/default.xml ; then
1592 UUID=`/usr/bin/uuidgen`
1593 sed -e "s,</name>,</name>\n <uuid>$UUID</uuid>," \
1594 < %{_datadir}/libvirt/networks/default.xml \
1595 > %{_sysconfdir}/libvirt/qemu/networks/default.xml
1596 ln -s ../default.xml %{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
1601 %triggerun -- libvirt < 0.9.4
1602 %{_bindir}/systemd-sysv-convert --save libvirtd >/dev/null 2>&1 ||:
1604 # If the package is allowed to autostart:
1605 /bin/systemctl --no-reload enable libvirtd.service >/dev/null 2>&1 ||:
1607 # Run these because the SysV package being removed won't do them
1608 /sbin/chkconfig --del libvirtd >/dev/null 2>&1 || :
1609 /bin/systemctl try-restart libvirtd.service >/dev/null 2>&1 || :
1611 %endif # %{with_libvirtd}
1616 %if %{with_systemd_macros}
1617 %systemd_preun libvirt-guests.service
1621 /sbin/chkconfig --del libvirt-guests
1622 rm -f /var/lib/libvirt/libvirt-guests
1630 %if %{with_systemd_macros}
1631 %systemd_post libvirt-guests.service
1634 /sbin/chkconfig --add libvirt-guests
1641 %if %{with_systemd_macros}
1642 %systemd_postun_with_restart libvirt-guests.service
1644 %triggerun client -- libvirt < 0.9.4
1645 %{_bindir}/systemd-sysv-convert --save libvirt-guests >/dev/null 2>&1 ||:
1647 # If the package is allowed to autostart:
1648 /bin/systemctl --no-reload enable libvirt-guests.service >/dev/null 2>&1 ||:
1650 # Run these because the SysV package being removed won't do them
1651 /sbin/chkconfig --del libvirt-guests >/dev/null 2>&1 || :
1652 /bin/systemctl try-restart libvirt-guests.service >/dev/null 2>&1 || :
1657 if getent group sanlock > /dev/null ; then
1658 chmod 0770 %{_localstatedir}/lib/libvirt/sanlock
1659 chown root:sanlock %{_localstatedir}/lib/libvirt/sanlock
1664 %defattr(-, root, root)
1667 %defattr(-, root, root)
1669 %dir %{_datadir}/doc/libvirt-docs-%{version}
1670 %dir %{_datadir}/doc/libvirt-docs-%{version}/html
1671 %{_datadir}/doc/libvirt-docs-%{version}/html/*
1674 %dir %{_datadir}/gtk-doc/html/libvirt/
1675 %doc %{_datadir}/gtk-doc/html/libvirt/*.devhelp
1676 %doc %{_datadir}/gtk-doc/html/libvirt/*.html
1677 %doc %{_datadir}/gtk-doc/html/libvirt/*.png
1678 %doc %{_datadir}/gtk-doc/html/libvirt/*.css
1680 %if %{with_libvirtd}
1682 %defattr(-, root, root)
1684 %doc AUTHORS ChangeLog.gz NEWS README COPYING.LIB TODO
1685 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/
1688 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/
1689 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/
1690 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/autostart
1693 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/nwfilter/
1696 %{_unitdir}/libvirtd.service
1697 %{_unitdir}/virtlockd.service
1698 %{_unitdir}/virtlockd.socket
1700 %{_sysconfdir}/rc.d/init.d/libvirtd
1701 %{_sysconfdir}/rc.d/init.d/virtlockd
1703 %doc daemon/libvirtd.upstart
1704 %config(noreplace) %{_sysconfdir}/sysconfig/libvirtd
1705 %config(noreplace) %{_sysconfdir}/sysconfig/virtlockd
1706 %config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf
1707 %if 0%{?fedora} >= 14 || 0%{?rhel} >= 6
1708 %config(noreplace) %{_prefix}/lib/sysctl.d/libvirtd.conf
1710 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/
1711 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/lxc/
1712 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/uml/
1714 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/libxl/
1717 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd
1719 %config(noreplace) %{_sysconfdir}/libvirt/qemu.conf
1720 %config(noreplace) %{_sysconfdir}/libvirt/qemu-lockd.conf
1721 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.qemu
1724 %config(noreplace) %{_sysconfdir}/libvirt/lxc.conf
1725 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.lxc
1728 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.uml
1731 %dir %{_datadir}/libvirt/
1734 %dir %{_datadir}/libvirt/networks/
1735 %{_datadir}/libvirt/networks/default.xml
1738 %ghost %dir %{_localstatedir}/run/libvirt/
1740 %dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/images/
1741 %dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/filesystems/
1742 %dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/boot/
1743 %dir %attr(0711, root, root) %{_localstatedir}/cache/libvirt/
1746 %ghost %dir %attr(0700, root, root) %{_localstatedir}/run/libvirt/qemu/
1747 %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/
1748 %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/cache/libvirt/qemu/
1751 %ghost %dir %{_localstatedir}/run/libvirt/lxc/
1752 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/lxc/
1755 %ghost %dir %{_localstatedir}/run/libvirt/uml/
1756 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/uml/
1759 %ghost %dir %{_localstatedir}/run/libvirt/libxl/
1760 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/libxl/
1763 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/xen/
1766 %ghost %dir %{_localstatedir}/run/libvirt/network/
1767 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/network/
1768 %dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/dnsmasq/
1771 %dir %attr(0755, root, root) %{_libdir}/libvirt/lock-driver
1772 %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/lockd.so
1775 %{_datadir}/augeas/lenses/libvirtd_qemu.aug
1776 %{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
1780 %{_datadir}/augeas/lenses/libvirtd_lxc.aug
1781 %{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
1784 %{_datadir}/augeas/lenses/libvirtd.aug
1785 %{_datadir}/augeas/lenses/tests/test_libvirtd.aug
1786 %{_datadir}/augeas/lenses/libvirt_lockd.aug
1787 %{_datadir}/augeas/lenses/tests/test_libvirt_lockd.aug
1790 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
1791 %{_datadir}/polkit-1/actions/org.libvirt.unix.policy
1793 %{_datadir}/PolicyKit/policy/org.libvirt.unix.policy
1797 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/
1800 %attr(0755, root, root) %{_libexecdir}/libvirt_lxc
1803 %if %{with_storage_disk}
1804 %attr(0755, root, root) %{_libexecdir}/libvirt_parthelper
1807 %attr(0755, root, root) %{_libexecdir}/libvirt_iohelper
1808 %attr(0755, root, root) %{_sbindir}/libvirtd
1809 %attr(0755, root, root) %{_sbindir}/virtlockd
1811 %{_mandir}/man8/libvirtd.8*
1813 %if %{with_driver_modules}
1815 %files daemon-config-network
1816 %defattr(-, root, root)
1819 %if %{with_nwfilter}
1820 %files daemon-config-nwfilter
1821 %defattr(-, root, root)
1822 %{_sysconfdir}/libvirt/nwfilter/*.xml
1825 %if %{with_interface}
1826 %files daemon-driver-interface
1827 %defattr(-, root, root)
1828 %{_libdir}/%{name}/connection-driver/libvirt_driver_interface.so
1832 %files daemon-driver-network
1833 %defattr(-, root, root)
1834 %{_libdir}/%{name}/connection-driver/libvirt_driver_network.so
1838 %files daemon-driver-nodedev
1839 %defattr(-, root, root)
1840 %{_libdir}/%{name}/connection-driver/libvirt_driver_nodedev.so
1843 %if %{with_nwfilter}
1844 %files daemon-driver-nwfilter
1845 %defattr(-, root, root)
1846 %{_libdir}/%{name}/connection-driver/libvirt_driver_nwfilter.so
1849 %files daemon-driver-secret
1850 %defattr(-, root, root)
1851 %{_libdir}/%{name}/connection-driver/libvirt_driver_secret.so
1854 %files daemon-driver-storage
1855 %defattr(-, root, root)
1856 %{_libdir}/%{name}/connection-driver/libvirt_driver_storage.so
1860 %files daemon-driver-qemu
1861 %defattr(-, root, root)
1862 %{_libdir}/%{name}/connection-driver/libvirt_driver_qemu.so
1866 %files daemon-driver-lxc
1867 %defattr(-, root, root)
1868 %{_libdir}/%{name}/connection-driver/libvirt_driver_lxc.so
1872 %files daemon-driver-uml
1873 %defattr(-, root, root)
1874 %{_libdir}/%{name}/connection-driver/libvirt_driver_uml.so
1878 %files daemon-driver-xen
1879 %defattr(-, root, root)
1880 %{_libdir}/%{name}/connection-driver/libvirt_driver_xen.so
1884 %files daemon-driver-libxl
1885 %defattr(-, root, root)
1886 %{_libdir}/%{name}/connection-driver/libvirt_driver_libxl.so
1888 %endif # %{with_driver_modules}
1890 %if %{with_qemu_tcg}
1892 %defattr(-, root, root)
1895 %if %{with_qemu_kvm}
1897 %defattr(-, root, root)
1902 %defattr(-, root, root)
1907 %defattr(-, root, root)
1910 %if %{with_xen} || %{with_libxl}
1912 %defattr(-, root, root)
1914 %endif # %{with_libvirtd}
1918 %defattr(-, root, root)
1920 %config(noreplace) %{_sysconfdir}/libvirt/qemu-sanlock.conf
1922 %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/sanlock.so
1923 %{_datadir}/augeas/lenses/libvirt_sanlock.aug
1924 %{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
1925 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/sanlock
1926 %{_sbindir}/virt-sanlock-cleanup
1927 %{_mandir}/man8/virt-sanlock-cleanup.8*
1928 %attr(0755, root, root) %{_libexecdir}/libvirt_sanlock_helper
1931 %files client -f %{name}.lang
1932 %defattr(-, root, root)
1933 %doc AUTHORS ChangeLog.gz NEWS README COPYING.LIB TODO
1935 %config(noreplace) %{_sysconfdir}/libvirt/libvirt.conf
1936 %{_mandir}/man1/virsh.1*
1937 %{_mandir}/man1/virt-xml-validate.1*
1938 %{_mandir}/man1/virt-pki-validate.1*
1939 %{_mandir}/man1/virt-host-validate.1*
1941 %{_bindir}/virt-xml-validate
1942 %{_bindir}/virt-pki-validate
1943 %{_bindir}/virt-host-validate
1944 %{_libdir}/lib*.so.*
1947 %{_datadir}/systemtap/tapset/libvirt_probes*.stp
1948 %{_datadir}/systemtap/tapset/libvirt_qemu_probes*.stp
1949 %{_datadir}/systemtap/tapset/libvirt_functions.stp
1952 %dir %{_datadir}/libvirt/
1953 %dir %{_datadir}/libvirt/schemas/
1955 %{_datadir}/libvirt/schemas/basictypes.rng
1956 %{_datadir}/libvirt/schemas/capability.rng
1957 %{_datadir}/libvirt/schemas/domain.rng
1958 %{_datadir}/libvirt/schemas/domaincommon.rng
1959 %{_datadir}/libvirt/schemas/domainsnapshot.rng
1960 %{_datadir}/libvirt/schemas/interface.rng
1961 %{_datadir}/libvirt/schemas/network.rng
1962 %{_datadir}/libvirt/schemas/networkcommon.rng
1963 %{_datadir}/libvirt/schemas/nodedev.rng
1964 %{_datadir}/libvirt/schemas/nwfilter.rng
1965 %{_datadir}/libvirt/schemas/secret.rng
1966 %{_datadir}/libvirt/schemas/storageencryption.rng
1967 %{_datadir}/libvirt/schemas/storagepool.rng
1968 %{_datadir}/libvirt/schemas/storagevol.rng
1970 %{_datadir}/libvirt/cpu_map.xml
1973 %{_unitdir}/libvirt-guests.service
1975 %{_sysconfdir}/rc.d/init.d/libvirt-guests
1977 %config(noreplace) %{_sysconfdir}/sysconfig/libvirt-guests
1978 %attr(0755, root, root) %{_libexecdir}/libvirt-guests.sh
1979 %dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/
1982 %config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
1986 %defattr(-, root, root)
1989 %dir %{_includedir}/libvirt
1990 %{_includedir}/libvirt/*.h
1991 %{_libdir}/pkgconfig/libvirt.pc
1993 %dir %{_datadir}/libvirt/api/
1994 %{_datadir}/libvirt/api/libvirt-api.xml
1995 %{_datadir}/libvirt/api/libvirt-qemu-api.xml
1996 %{_datadir}/libvirt/api/libvirt-lxc-api.xml
1998 %doc docs/*.html docs/html docs/*.gif
1999 %doc docs/libvirt-api.xml
2000 %doc examples/hellolibvirt
2001 %doc examples/domain-events/events-c
2002 %doc examples/dominfo
2003 %doc examples/domsuspend
2004 %doc examples/openauth
2006 %doc examples/systemtap
2010 %defattr(-, root, root)
2012 %doc AUTHORS NEWS README COPYING.LIB
2013 %{_libdir}/python*/site-packages/libvirt.py*
2014 %{_libdir}/python*/site-packages/libvirt_qemu.py*
2015 %{_libdir}/python*/site-packages/libvirt_lxc.py*
2016 %{_libdir}/python*/site-packages/libvirtmod*
2017 %doc python/tests/*.py
2019 %doc examples/python
2020 %doc examples/domain-events/events-python
2024 * Wed Jan 30 2013 Daniel Veillard <veillard@redhat.com> - 1.0.2-1
2026 - S390 architecture improvement
2027 - Power architecture improvement
2028 - large Coverity report cleanups and associated bug fixes
2029 - virTypedParams* APIs to helps with those data structures
2030 - a lot of bug fixes and overall improvements
2032 * Fri Nov 2 2012 Daniel Veillard <veillard@redhat.com> - 1.0.0-1
2033 - virNodeGetCPUMap: Define public API
2034 - Add systemd journal support
2035 - Add a qemu capabilities cache manager
2036 - USB migration support
2037 - various improvement and fixes when using QMP QEmu interface
2038 - Support for Xen 4.2
2039 - Lot of localization enhancements
2040 - a lot of bug fixes, improvements and portability work
2042 * Mon Sep 24 2012 Daniel Veillard <veillard@redhat.com> - 0.10.2-1
2043 - network: define new API virNetworkUpdate
2044 - add support for QEmu sandbox support
2045 - blockjob: add virDomainBlockCommit
2046 - New APIs to get/set Node memory parameters
2047 - new API virConnectListAllSecrets
2048 - new API virConnectListAllNWFilters
2049 - new API virConnectListAllNodeDevices
2050 - parallels: add support of containers to the driver
2051 - new API virConnectListAllInterfaces
2052 - new API virConnectListAllNetworks
2053 - new API virStoragePoolListAllVolumes
2054 - Add PMSUSPENDED life cycle event
2055 - new API virStorageListAllStoragePools
2056 - Add per-guest S3/S4 state configuration
2057 - qemu: Support for Block Device IO Limits
2058 - a lot of bug fixes, improvements and portability work
2060 * Fri Aug 31 2012 Daniel Veillard <veillard@redhat.com> - 0.10.1-1
2061 - bugfixes and a brown paper bag
2063 * Wed Aug 29 2012 Daniel Veillard <veillard@redhat.com> - 0.10.0-1
2064 - agent: add qemuAgentArbitraryCommand() for general qemu agent command
2065 - Introduce virDomainPinEmulator and virDomainGetEmulatorPinInfo functions
2066 - network: use firewalld instead of iptables, when available
2067 - network: make network driver vlan-aware
2068 - esx: Implement network driver
2069 - driver for parallels hypervisor
2070 - Various LXC improvements
2071 - Add virDomainGetHostname
2072 - a lot of bug fixes, improvements and portability work
2074 * Mon Jul 2 2012 Daniel Veillard <veillard@redhat.com> - 0.9.13-1
2075 - S390: support for s390(x)
2076 - snapshot: implement new APIs for esx and vbox
2077 - snapshot: new query APIs and many improvements
2078 - virsh: Allow users to reedit rejected XML
2079 - nwfilter: add DHCP snooping
2080 - Enable driver modules in libvirt RPM
2081 - Default to enable driver modules for libvirtd
2082 - storage backend: Add RBD (RADOS Block Device) support
2083 - sVirt support for LXC domains inprovement
2084 - a lot of bug fixes, improvements and portability work
2086 * Mon May 14 2012 Daniel Veillard <veillard@redhat.com> - 0.9.12-1
2087 - qemu: allow snapshotting of sheepdog and rbd disks
2088 - blockjob: add new APIs
2089 - a lot of bug fixes, improvements and portability work
2091 * Tue Apr 3 2012 Daniel Veillard <veillard@redhat.com> - 0.9.11-1
2092 - Add support for the suspend event
2093 - Add support for event tray moved of removable disks
2094 - qemu: Support numad
2095 - cpustats: API, improvements and qemu support
2096 - qemu: support type='hostdev' network devices at domain start
2097 - Introduce virDomainPMWakeup API
2098 - network: support Open vSwitch
2099 - a number of snapshot improvements
2100 - many improvements and bug fixes
2102 * Mon Feb 13 2012 Daniel Veillard <veillard@redhat.com> - 0.9.10-1
2103 - Add support for sVirt in the LXC driver
2104 - block rebase: add new API virDomainBlockRebase
2105 - API: Add api to set and get domain metadata
2106 - virDomainGetDiskErrors public API
2107 - conf: add rawio attribute to disk element of domain XML
2108 - Add new public API virDomainGetCPUStats()
2109 - Introduce virDomainPMSuspendForDuration API
2110 - resize: add virStorageVolResize() API
2111 - Add a virt-host-validate command to sanity check HV config
2112 - Add new virDomainShutdownFlags API
2113 - QEMU guest agent support
2114 - many improvements and bug fixes
2116 * Sat Jan 7 2012 Daniel Veillard <veillard@redhat.com> - 0.9.9-1
2117 - Add API virDomain{S,G}etInterfaceParameters
2118 - Add API virDomain{G, S}etNumaParameters
2119 - Add support for ppc64 qemu
2120 - Support Xen domctl v8
2121 - many improvements and bug fixes
2123 * Thu Dec 8 2011 Daniel Veillard <veillard@redhat.com> - 0.9.8-1
2124 - Add support for QEMU 1.0
2125 - Add preliminary PPC cpu driver
2126 - Add new API virDomain{Set, Get}BlockIoTune
2127 - block_resize: Define the new API
2128 - Add a public API to invoke suspend/resume on the host
2129 - various improvements for LXC containers
2130 - Define keepalive protocol and add virConnectIsAlive API
2131 - Add support for STP and VLAN filtering
2132 - many improvements and bug fixes
2134 * Tue Nov 8 2011 Daniel Veillard <veillard@redhat.com> - 0.9.7-1
2135 - esx: support vSphere 5.x
2136 - vbox: support for VirtualBox 4.1
2137 - Introduce the virDomainOpenGraphics API
2138 - Add AHCI support to qemu driver
2139 - snapshot: many improvements and 2 new APIs
2140 - api: Add public api for 'reset'
2141 - many improvements and bug fixes
2143 * Thu Sep 22 2011 Daniel Veillard <veillard@redhat.com> - 0.9.6-1
2144 - Fix the qemu reboot bug and a few others bug fixes
2146 * Tue Sep 20 2011 Daniel Veillard <veillard@redhat.com> - 0.9.5-1
2147 - many snapshot improvements (Eric Blake)
2148 - latency: Define new public API and structure (Osier Yang)
2149 - USB2 and various USB improvements (Marc-André Lureau)
2150 - storage: Add fs pool formatting (Osier Yang)
2151 - Add public API for getting migration speed (Jim Fehlig)
2152 - Add basic driver for Microsoft Hyper-V (Matthias Bolte)
2153 - many improvements and bug fixes
2155 * Wed Aug 3 2011 Daniel Veillard <veillard@redhat.com> - 0.9.4-1
2156 - network bandwidth QoS control
2157 - Add new API virDomainBlockPull*
2158 - save: new API to manipulate save file images
2159 - CPU bandwidth limits support
2160 - allow to send NMI and key event to guests
2161 - new API virDomainUndefineFlags
2162 - Implement code to attach to external QEMU instances
2163 - bios: Add support for SGA
2164 - various missing python binding
2165 - many improvements and bug fixes
2167 * Mon Jul 4 2011 Daniel Veillard <veillard@redhat.com> - 0.9.3-1
2168 - new API virDomainGetVcpupinInfo
2169 - Add TXT record support for virtual DNS service
2170 - Support reboots with the QEMU driver
2171 - New API virDomainGetControlInfo API
2172 - New API virNodeGetMemoryStats
2173 - New API virNodeGetCPUTime
2174 - New API for send-key
2175 - New API virDomainPinVcpuFlags
2176 - support multifunction PCI device
2177 - lxc: various improvements
2178 - many improvements and bug fixes
2180 * Mon Jun 6 2011 Daniel Veillard <veillard@redhat.com> - 0.9.2-1
2181 - Framework for lock manager plugins
2182 - API for network config change transactions
2183 - flags for setting memory parameters
2184 - virDomainGetState public API
2185 - qemu: allow blkstat/blkinfo calls during migration
2186 - Introduce migration v3 API
2187 - Defining the Screenshot public API
2188 - public API for NMI injection
2189 - Various improvements and bug fixes
2191 * Thu May 5 2011 Daniel Veillard <veillard@redhat.com> - 0.9.1-1
2192 - support various persistent domain updates
2193 - improvements on memory APIs
2194 - Add virDomainEventRebootNew
2195 - various improvements to libxl driver
2196 - Spice: support audio, images and stream compression
2197 - Various improvements and bug fixes
2199 * Mon Apr 4 2011 Daniel Veillard <veillard@redhat.com> - 0.9.0-1
2200 - Support cputune cpu usage tuning
2201 - Add public APIs for storage volume upload/download
2202 - Add public API for setting migration speed on the fly
2203 - Add libxenlight driver
2204 - qemu: support migration to fd
2205 - libvirt: add virDomain{Get,Set}BlkioParameters
2206 - setmem: introduce a new libvirt API (virDomainSetMemoryFlags)
2207 - Expose event loop implementation as a public API
2208 - Dump the debug buffer to libvirtd.log on fatal signal
2210 - Various improvements and bug fixes
2212 * Thu Feb 17 2011 Daniel Veillard <veillard@redhat.com> - 0.8.8-1
2213 - expose new API for sysinfo extraction
2214 - cgroup blkio weight support
2215 - smartcard device support
2216 - qemu: Support per-device boot ordering
2217 - Various improvements and bug fixes
2219 * Tue Jan 4 2011 Daniel Veillard <veillard@redhat.com> - 0.8.7-1
2220 - Preliminary support for VirtualBox 4.0
2222 - Add VMware Workstation and Player driver driver
2223 - Add network disk support
2224 - Various improvements and bug fixes
2226 * Tue Nov 30 2010 Daniel Veillard <veillard@redhat.com> - 0.8.6-1
2227 - Add support for iSCSI target auto-discovery
2228 - QED: Basic support for QED images
2229 - remote console support
2230 - support for SPICE graphics
2231 - sysinfo and VMBIOS support
2232 - virsh qemu-monitor-command
2233 - various improvements and bug fixes
2235 * Fri Oct 29 2010 Daniel Veillard <veillard@redhat.com> - 0.8.5-1
2236 - Enable JSON and netdev features in QEMU >= 0.13
2237 - framework for auditing integration
2238 - framework DTrace/SystemTap integration
2239 - Setting the number of vcpu at boot
2240 - Enable support for nested SVM
2241 - Virtio plan9fs filesystem QEMU
2242 - Memory parameter controls
2243 - various improvements and bug fixes
2245 * Fri Sep 10 2010 Daniel Veillard <veillard@redhat.com> - 0.8.4-1
2246 - big improvements to UML driver
2247 - various improvements and bug fixes
2249 * Wed Aug 4 2010 Daniel Veillard <veillard@redhat.com> - 0.8.3-1
2250 - esx: Support vSphere 4.1
2251 - Qemu arbitrary monitor commands
2252 - Qemu Monitor API entry point
2253 - various improvements and bug fixes
2255 * Mon Jul 5 2010 Daniel Veillard <veillard@redhat.com> - 0.8.2-1
2256 - phyp: adding support for IVM
2257 - libvirt: introduce domainCreateWithFlags API
2258 - add 802.1Qbh and 802.1Qbg switches handling
2259 - Support for VirtualBox version 3.2
2260 - Init script for handling guests on shutdown/boot
2261 - qemu: live migration with non-shared storage for kvm
2263 * Fri Apr 30 2010 Daniel Veillard <veillard@redhat.com> - 0.8.1-1
2264 - Starts dnsmasq from libvirtd with --dhcp-hostsfile
2265 - Add virDomainGetBlockInfo API to query disk sizing
2266 - a lot of bug fixes and cleanups
2268 * Mon Apr 12 2010 Daniel Veillard <veillard@redhat.com> - 0.8.0-1
2269 - Snapshotting support (QEmu/VBox/ESX)
2270 - Network filtering API
2272 - new APIs for domain events
2273 - Libvirt managed save API
2274 - timer subselection for domain clock
2276 - API to update guest CPU to host CPU
2277 - virDomainUpdateDeviceFlags new API
2278 - migrate max downtime API
2280 - and many bug fixes
2282 * Fri Mar 5 2010 Daniel Veillard <veillard@redhat.com> - 0.7.7-1
2284 - async job handling
2286 - computing baseline CPU
2287 - virDomain{Attach,Detach}DeviceFlags
2288 - assorted bug fixes and lots of cleanups
2290 * Wed Feb 3 2010 Daniel Veillard <veillard@redhat.com> - 0.7.6-1
2292 * Wed Dec 23 2009 Daniel Veillard <veillard@redhat.com> - 0.7.5-1
2293 - Add new API virDomainMemoryStats
2294 - Public API and domain extension for CPU flags
2295 - vbox: Add support for version 3.1
2296 - Support QEMU's virtual FAT block device driver
2299 * Fri Nov 20 2009 Daniel Veillard <veillard@redhat.com> - 0.7.3-1
2300 - udev node device backend
2301 - API to check object properties
2302 - better QEmu monitor processing
2303 - MAC address based port filtering for qemu
2304 - support IPv6 and multiple addresses per interfaces
2307 * Tue Sep 15 2009 Daniel Veillard <veillard@redhat.com> - 0.7.1-1
2308 - ESX, VBox driver updates
2310 - support for encrypted (qcow) volume
2311 - compressed save image format for Qemu/KVM
2312 - QEmu host PCI device hotplug support
2313 - configuration of huge pages in guests
2316 * Wed Aug 5 2009 Daniel Veillard <veillard@redhat.com> - 0.7.0-1
2317 - ESX, VBox3, Power Hypervisor drivers
2318 - new net filesystem glusterfs
2319 - Storage cloning for LVM and Disk backends
2320 - interface implementation based on netcf
2321 - Support cgroups in QEMU driver
2322 - QEmu hotplug NIC support
2325 * Fri Jul 3 2009 Daniel Veillard <veillard@redhat.com> - 0.6.5-1
2328 * Fri May 29 2009 Daniel Veillard <veillard@redhat.com> - 0.6.4-1
2332 * Fri Apr 24 2009 Daniel Veillard <veillard@redhat.com> - 0.6.3-1
2336 * Fri Apr 3 2009 Daniel Veillard <veillard@redhat.com> - 0.6.2-1
2339 * Fri Mar 4 2009 Daniel Veillard <veillard@redhat.com> - 0.6.1-1
2342 * Sat Jan 31 2009 Daniel Veillard <veillard@redhat.com> - 0.6.0-1
2345 * Tue Nov 25 2008 Daniel Veillard <veillard@redhat.com> - 0.5.0-1
2348 * Tue Sep 23 2008 Daniel Veillard <veillard@redhat.com> - 0.4.6-1
2351 * Mon Sep 8 2008 Daniel Veillard <veillard@redhat.com> - 0.4.5-1
2354 * Wed Jun 25 2008 Daniel Veillard <veillard@redhat.com> - 0.4.4-1
2356 - mostly a few bug fixes from 0.4.3
2358 * Thu Jun 12 2008 Daniel Veillard <veillard@redhat.com> - 0.4.3-1
2360 - lots of bug fixes and small improvements
2362 * Tue Apr 8 2008 Daniel Veillard <veillard@redhat.com> - 0.4.2-1
2364 - lots of bug fixes and small improvements
2366 * Mon Mar 3 2008 Daniel Veillard <veillard@redhat.com> - 0.4.1-1
2370 - lots of assorted improvements, bugfixes and cleanups
2371 - documentation and localization improvements
2373 * Tue Dec 18 2007 Daniel Veillard <veillard@redhat.com> - 0.4.0-1
2375 - SASL based authentication
2376 - PolicyKit authentication
2377 - improved NUMA and statistics support
2378 - lots of assorted improvements, bugfixes and cleanups
2379 - documentation and localization improvements
2381 * Sun Sep 30 2007 Daniel Veillard <veillard@redhat.com> - 0.3.3-1
2385 - lots of assorted improvements, bugfixes and cleanups
2386 - documentation and localization improvements
2388 * Tue Aug 21 2007 Daniel Veillard <veillard@redhat.com> - 0.3.2-1
2390 - API for domains migration
2391 - APIs for collecting statistics on disks and interfaces
2392 - lots of assorted bugfixes and cleanups
2393 - documentation and localization improvements
2395 * Tue Jul 24 2007 Daniel Veillard <veillard@redhat.com> - 0.3.1-1
2397 - localtime clock support
2398 - PS/2 and USB input devices
2399 - lots of assorted bugfixes and cleanups
2400 - documentation and localization improvements
2402 * Mon Jul 9 2007 Daniel Veillard <veillard@redhat.com> - 0.3.0-1
2404 - Secure remote access support
2405 - unification of daemons
2406 - lots of assorted bugfixes and cleanups
2407 - documentation and localization improvements
2409 * Fri Jun 8 2007 Daniel Veillard <veillard@redhat.com> - 0.2.3-1
2411 - lot of assorted bugfixes and cleanups
2412 - support for Xen-3.1
2415 * Tue Apr 17 2007 Daniel Veillard <veillard@redhat.com> - 0.2.2-1
2417 - lot of assorted bugfixes and cleanups
2418 - preparing for Xen-3.0.5
2420 * Thu Mar 22 2007 Jeremy Katz <katzj@redhat.com> - 0.2.1-2.fc7
2421 - don't require xen; we don't need the daemon and can control non-xen now
2422 - fix scriptlet error (need to own more directories)
2423 - update description text
2425 * Fri Mar 16 2007 Daniel Veillard <veillard@redhat.com> - 0.2.1-1
2427 - lot of bug and portability fixes
2428 - Add support for network autostart and init scripts
2429 - New API to detect the virtualization capabilities of a host
2430 - Documentation updates
2432 * Fri Feb 23 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-4.fc7
2433 - Fix loading of guest & network configs
2435 * Fri Feb 16 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-3.fc7
2436 - Disable kqemu support since its not in Fedora qemu binary
2437 - Fix for -vnc arg syntax change in 0.9.0 QEMU
2439 * Thu Feb 15 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-2.fc7
2440 - Fixed path to qemu daemon for autostart
2441 - Fixed generation of <features> block in XML
2442 - Pre-create config directory at startup
2444 * Wed Feb 14 2007 Daniel Veillard <veillard@redhat.com> 0.2.0-1.fc7
2445 - support for KVM and QEmu
2446 - support for network configuration
2449 * Mon Jan 22 2007 Daniel Veillard <veillard@redhat.com> 0.1.11-1.fc7
2450 - finish inactive Xen domains support
2452 - RelaxNG schemas for XML configs
2454 * Wed Dec 20 2006 Daniel Veillard <veillard@redhat.com> 0.1.10-1.fc7
2455 - support for inactive Xen domains
2456 - improved support for Xen display and vnc
2458 - localization updates
2460 * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 0.1.9-2
2461 - rebuild against python 2.5
2463 * Wed Nov 29 2006 Daniel Veillard <veillard@redhat.com> 0.1.9-1
2464 - better error reporting
2465 - python bindings fixes and extensions
2466 - add support for shareable drives
2467 - add support for non-bridge style networking
2468 - hot plug device support
2469 - added support for inactive domains
2470 - API to dump core of domains
2471 - various bug fixes, cleanups and improvements
2472 - updated the localization
2474 * Tue Nov 7 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-3
2475 - it's pkgconfig not pgkconfig !
2477 * Mon Nov 6 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-2
2478 - fixing spec file, added %dist, -devel requires pkgconfig and xen-devel
2479 - Resolves: rhbz#202320
2481 * Mon Oct 16 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-1
2482 - fix missing page size detection code for ia64
2483 - fix mlock size when getting domain info list from hypervisor
2484 - vcpu number initialization
2485 - don't label crashed domains as shut off
2486 - fix virsh man page
2487 - blktapdd support for alternate drivers like blktap
2488 - memory leak fixes (xend interface and XML parsing)
2490 - mlock/munlock size fixes
2492 * Fri Sep 22 2006 Daniel Veillard <veillard@redhat.com> 0.1.7-1
2493 - Fix bug when running against xen-3.0.3 hypercalls
2494 - Fix memory bug when getting vcpus info from xend
2496 * Fri Sep 22 2006 Daniel Veillard <veillard@redhat.com> 0.1.6-1
2497 - Support for localization
2498 - Support for new Xen-3.0.3 cdrom and disk configuration
2499 - Support for setting VNC port
2500 - Fix bug when running against xen-3.0.2 hypercalls
2501 - Fix reconnection problem when talking directly to http xend
2503 * Tue Sep 5 2006 Jeremy Katz <katzj@redhat.com> - 0.1.5-3
2504 - patch from danpb to support new-format cd devices for HVM guests
2506 * Tue Sep 5 2006 Daniel Veillard <veillard@redhat.com> 0.1.5-2
2507 - reactivating ia64 support
2509 * Tue Sep 5 2006 Daniel Veillard <veillard@redhat.com> 0.1.5-1
2512 - support for new hypervisor calls
2513 - early code for config files and defined domains
2515 * Mon Sep 4 2006 Daniel Berrange <berrange@redhat.com> - 0.1.4-5
2516 - add patch to address dom0_ops API breakage in Xen 3.0.3 tree
2518 * Mon Aug 28 2006 Jeremy Katz <katzj@redhat.com> - 0.1.4-4
2519 - add patch to support paravirt framebuffer in Xen
2521 * Mon Aug 21 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-3
2522 - another patch to fix network handling in non-HVM guests
2524 * Thu Aug 17 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-2
2525 - patch to fix virParseUUID()
2527 * Wed Aug 16 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-1
2528 - vCPUs and affinity support
2529 - more complete XML, console and boot options
2530 - specific features support
2531 - enforced read-only connections
2532 - various improvements, bug fixes
2534 * Wed Aug 2 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-6
2535 - add patch from pvetere to allow getting uuid from libvirt
2537 * Wed Aug 2 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-5
2540 * Thu Jul 27 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-4
2541 - don't BR xen, we just need xen-devel
2543 * Thu Jul 27 2006 Daniel Veillard <veillard@redhat.com> 0.1.3-3
2544 - need rebuild since libxenstore is now versionned
2546 * Mon Jul 24 2006 Mark McLoughlin <markmc@redhat.com> - 0.1.3-2
2547 - Add BuildRequires: xen-devel
2549 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.1.3-1.1
2552 * Tue Jul 11 2006 Daniel Veillard <veillard@redhat.com> 0.1.3-1
2553 - support for HVM Xen guests
2556 * Mon Jul 3 2006 Daniel Veillard <veillard@redhat.com> 0.1.2-1
2557 - added a proxy mechanism for read only access using httpu
2558 - fixed header includes paths
2560 * Wed Jun 21 2006 Daniel Veillard <veillard@redhat.com> 0.1.1-1
2561 - extend and cleanup the driver infrastructure and code
2563 - extend uuid support
2564 - bug fixes, buffer handling cleanups
2565 - support for new Xen hypervisor API
2566 - test driver for unit testing
2567 - virsh --conect argument
2569 * Mon Apr 10 2006 Daniel Veillard <veillard@redhat.com> 0.1.0-1
2571 - new APIs: for Node information and Reboot
2572 - virsh improvements and extensions
2573 - documentation updates and man page
2574 - enhancement and fixes of the XML description format
2576 * Tue Feb 28 2006 Daniel Veillard <veillard@redhat.com> 0.0.6-1
2577 - added error handling APIs
2579 - improve python bindings
2580 - augment documentation and regression tests
2582 * Thu Feb 23 2006 Daniel Veillard <veillard@redhat.com> 0.0.5-1
2583 - new domain creation API
2584 - new UUID based APIs
2585 - more tests, documentation, devhelp
2588 * Fri Feb 10 2006 Daniel Veillard <veillard@redhat.com> 0.0.4-1
2589 - fixes some problems in 0.0.3 due to the change of names
2591 * Wed Feb 8 2006 Daniel Veillard <veillard@redhat.com> 0.0.3-1
2592 - changed library name to libvirt from libvir, complete and test the python
2595 * Sun Jan 29 2006 Daniel Veillard <veillard@redhat.com> 0.0.2-1
2596 - upstream release of 0.0.2, use xend, save and restore added, python bindings
2599 * Wed Nov 2 2005 Daniel Veillard <veillard@redhat.com> 0.0.1-1