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 #interface requires netcf
21 #%define _without_netcf true
22 %define _without_avahi true
23 %define _without_sanlock true
24 %define _without_xen true
25 %define _without_qemu true
26 %define _without_hyperv true
27 %define _without_phyp true
28 %define _without_esx true
29 %define _without_libxl true
31 %define enable_autotools 1
33 # If neither fedora nor rhel was defined, try to guess them from %{dist}
34 %if !0%{?rhel} && !0%{?fedora}
35 %{expand:%(echo "%{?dist}" | \
36 sed -ne 's/^\.el\([0-9]\+\).*/%%define rhel \1/p')}
37 %{expand:%(echo "%{?dist}" | \
38 sed -ne 's/^\.fc\?\([0-9]\+\).*/%%define fedora \1/p')}
41 # Default to skipping autoreconf. Distros can change just this one line
42 # (or provide a command-line override) if they backport any patches that
43 # touch configure.ac or Makefile.am.
44 %{!?enable_autotools:%define enable_autotools 0}
46 # A client only build will create a libvirt.so only containing
47 # the generic RPC driver, and test driver and no libvirtd
48 # Default to a full server + client build
51 # Now turn off server build in certain cases
53 # RHEL-5 builds are client-only for s390, ppc
55 %ifnarch %{ix86} x86_64 ia64
60 # Disable all server side drivers if client only build requested
62 %define server_drivers 0
64 %define server_drivers 1
67 # Always build with dlopen'd modules
68 %define with_driver_modules 1
70 # Now set the defaults for all the important features, independent
71 # of any particular OS
73 # First the daemon itself
74 %define with_libvirtd 0%{!?_without_libvirtd:%{server_drivers}}
75 %define with_avahi 0%{!?_without_avahi:%{server_drivers}}
77 # Then the hypervisor drivers that run in libvirtd
78 %define with_xen 0%{!?_without_xen:%{server_drivers}}
79 %define with_qemu 0%{!?_without_qemu:%{server_drivers}}
80 %define with_lxc 0%{!?_without_lxc:%{server_drivers}}
81 %define with_uml 0%{!?_without_uml:%{server_drivers}}
82 %define with_libxl 0%{!?_without_libxl:%{server_drivers}}
84 %define with_qemu_tcg %{with_qemu}
85 # Change if we ever provide qemu-kvm binaries on non-x86 hosts
87 %define qemu_kvm_arches %{ix86} x86_64 ppc64 s390x
89 %define qemu_kvm_arches %{ix86} x86_64
92 %ifarch %{qemu_kvm_arches}
93 %define with_qemu_kvm %{with_qemu}
95 %define with_qemu_kvm 0
98 # Then the hypervisor drivers that run outside libvirtd, in libvirt.so
99 %define with_openvz 0%{!?_without_openvz:1}
100 %define with_vbox 0%{!?_without_vbox:1}
101 %define with_vmware 0%{!?_without_vmware:1}
102 %define with_phyp 0%{!?_without_phyp:1}
103 %define with_esx 0%{!?_without_esx:1}
104 %define with_hyperv 0%{!?_without_hyperv:1}
105 %define with_xenapi 0%{!?_without_xenapi:1}
106 %define with_parallels 0%{!?_without_parallels:1}
108 # Then the secondary host drivers, which run inside libvirtd
109 %define with_interface 0%{!?_without_interface:%{server_drivers}}
110 %define with_network 0%{!?_without_network:%{server_drivers}}
111 %define with_storage_fs 0%{!?_without_storage_fs:%{server_drivers}}
112 %define with_storage_lvm 0%{!?_without_storage_lvm:%{server_drivers}}
113 %define with_storage_iscsi 0%{!?_without_storage_iscsi:%{server_drivers}}
114 %define with_storage_disk 0%{!?_without_storage_disk:%{server_drivers}}
115 %define with_storage_mpath 0%{!?_without_storage_mpath:%{server_drivers}}
116 %if 0%{?fedora} >= 16
117 %define with_storage_rbd 0%{!?_without_storage_rbd:%{server_drivers}}
119 %define with_storage_rbd 0
121 %if 0%{?fedora} >= 17
122 %define with_storage_sheepdog 0%{!?_without_storage_sheepdog:%{server_drivers}}
124 %define with_storage_sheepdog 0
126 %define with_numactl 0%{!?_without_numactl:%{server_drivers}}
127 %define with_selinux 0%{!?_without_selinux:%{server_drivers}}
129 # A few optional bits off by default, we enable later
130 %define with_polkit 0%{!?_without_polkit:0}
131 %define with_capng 0%{!?_without_capng:0}
132 %define with_fuse 0%{!?_without_fuse:0}
133 %define with_netcf 0%{!?_without_netcf:0}
134 %define with_udev 0%{!?_without_udev:0}
135 %define with_hal 0%{!?_without_hal:0}
136 %define with_yajl 0%{!?_without_yajl:0}
137 %define with_nwfilter 0%{!?_without_nwfilter:0}
138 %define with_libpcap 0%{!?_without_libpcap:0}
139 %define with_macvtap 0%{!?_without_macvtap:0}
140 %define with_libnl 0%{!?_without_libnl:0}
141 %define with_audit 0%{!?_without_audit:0}
142 %define with_dtrace 0%{!?_without_dtrace:0}
143 %define with_cgconfig 0%{!?_without_cgconfig:0}
144 %define with_sanlock 0%{!?_without_sanlock:0}
145 %define with_systemd 0%{!?_without_systemd:0}
146 %define with_numad 0%{!?_without_numad:0}
147 %define with_firewalld 0%{!?_without_firewalld:0}
148 %define with_libssh2 0%{!?_without_libssh2:0}
150 # Non-server/HV driver defaults which are always enabled
151 %define with_python 0%{!?_without_python:1}
152 %define with_sasl 0%{!?_without_sasl:1}
155 # Finally set the OS / architecture specific special cases
157 # Xen is available only on i386 x86_64 ia64
158 %ifnarch %{ix86} x86_64 ia64
163 # Numactl is not available on s390[x] and ARM
164 %ifarch s390 s390x %{arm}
165 %define with_numactl 0
168 # RHEL doesn't ship OpenVZ, VBox, UML, PowerHypervisor,
169 # VMWare, libxenserver (xenapi), libxenlight (Xen 4.1 and newer),
172 %define with_openvz 0
176 %define with_vmware 0
177 %define with_xenapi 0
179 %define with_hyperv 0
180 %define with_parallels 0
183 # Fedora 17 / RHEL-7 are first where we use systemd. Although earlier
184 # Fedora has systemd, libvirt still used sysvinit there.
185 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
186 %define with_systemd 1
189 # Fedora 18 / RHEL-7 are first where firewalld support is enabled
190 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
191 %define with_firewalld 1
194 # RHEL-5 has restricted QEMU to x86_64 only and is too old for LXC
196 %define with_qemu_tcg 0
199 %define with_qemu_kvm 0
204 # RHEL-6 has restricted QEMU to x86_64 only, stopped including Xen
205 # on all archs. Other archs all have LXC available though
207 %define with_qemu_tcg 0
210 %define with_qemu_kvm 0
215 # Fedora doesn't have any QEMU on ppc64 until FC16 - only ppc
216 %if 0%{?fedora} && 0%{?fedora} < 16
222 # Fedora doesn't have new enough Xen for libxl until F18
223 %if 0%{?fedora} && 0%{?fedora} < 18
227 # PolicyKit was introduced in Fedora 8 / RHEL-6 or newer
228 %if 0%{?fedora} >= 8 || 0%{?rhel} >= 6
229 %define with_polkit 0%{!?_without_polkit:1}
232 # libcapng is used to manage capabilities in Fedora 12 / RHEL-6 or newer
233 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
234 %define with_capng 0%{!?_without_capng:1}
237 # fuse is used to provide virtualized /proc for LXC
238 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
239 %define with_fuse 0%{!?_without_fuse:1}
242 # netcf is used to manage network interfaces in Fedora 12 / RHEL-6 or newer
243 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
244 %define with_netcf 0%{!?_without_netcf:%{server_drivers}}
247 # udev is used to manage host devices in Fedora 12 / RHEL-6 or newer
248 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
249 %define with_udev 0%{!?_without_udev:%{server_drivers}}
251 %define with_hal 0%{!?_without_hal:%{server_drivers}}
254 # interface requires netcf
255 %if ! 0%{?with_netcf}
256 %define with_interface 0
259 # Enable yajl library for JSON mode with QEMU
260 %if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
261 %define with_yajl 0%{!?_without_yajl:%{server_drivers}}
264 # Enable sanlock library for lock management with QEMU
265 # Sanlock is available only on i686 x86_64 for RHEL
266 %if 0%{?fedora} >= 16
267 %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
270 %ifarch %{ix86} x86_64
271 %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
275 # Enable libssh2 transport for new enough distros
276 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
277 %define with_libssh2 0%{!?_without_libssh2:1}
280 # Disable some drivers when building without libvirt daemon.
281 # The logic is the same as in configure.ac
282 %if ! %{with_libvirtd}
283 %define with_interface 0
284 %define with_network 0
290 %define with_storage_fs 0
291 %define with_storage_lvm 0
292 %define with_storage_iscsi 0
293 %define with_storage_mpath 0
294 %define with_storage_rbd 0
295 %define with_storage_sheepdog 0
296 %define with_storage_disk 0
299 %if %{with_qemu} || %{with_lxc} || %{with_uml}
300 %define with_nwfilter 0%{!?_without_nwfilter:%{server_drivers}}
301 # Enable libpcap library
302 %define with_libpcap 0%{!?_without_libpcap:%{server_drivers}}
303 %define with_macvtap 0%{!?_without_macvtap:%{server_drivers}}
305 # numad is used to manage the CPU and memory placement dynamically,
306 # it's not available on s390[x] and ARM.
307 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
308 %ifnarch s390 s390x %{arm}
309 %define with_numad 0%{!?_without_numad:%{server_drivers}}
318 %if 0%{?fedora} >= 11 || 0%{?rhel} >= 5
319 %define with_audit 0%{!?_without_audit:1}
322 %if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
323 %define with_dtrace 1
326 # Pull in cgroups config system
327 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
328 %if %{with_qemu} || %{with_lxc}
329 %define with_cgconfig 0%{!?_without_cgconfig:1}
333 %if %{with_udev} || %{with_hal}
334 %define with_nodedev 1
336 %define with_nodedev 0
339 %if %{with_storage_fs} || %{with_storage_mpath} || %{with_storage_iscsi} || %{with_storage_lvm} || %{with_storage_disk}
340 %define with_storage 1
342 %define with_storage 0
346 # Force QEMU to run as non-root
347 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
348 %define qemu_user qemu
349 %define qemu_group qemu
351 %define qemu_user root
352 %define qemu_group root
356 # The RHEL-5 Xen package has some feature backports. This
357 # flag is set to enable use of those special bits on RHEL-5
364 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
365 %define with_systemd_macros 1
367 %define with_systemd_macros 0
371 Summary: Library providing a simple virtualization API
373 Version: %{mainstream_version}
376 Group: Development/Libraries
377 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
378 URL: http://libvirt.org/
380 %if %(echo %{version} | grep -o \\. | wc -l) == 3
381 %define mainturl stable_updates/
383 Source: http://libvirt.org/sources/%{?mainturl}libvirt-%{version}.tar.gz
384 Patch1: libcurl.patch
385 Patch3: securityselinuxlabeltest.patch
388 Requires: libvirt-daemon = %{version}-%{release}
390 Requires: libvirt-daemon-config-network = %{version}-%{release}
393 Requires: libvirt-daemon-config-nwfilter = %{version}-%{release}
395 %if %{with_driver_modules}
397 Requires: libvirt-daemon-driver-libxl = %{version}-%{release}
400 Requires: libvirt-daemon-driver-lxc = %{version}-%{release}
403 Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
406 Requires: libvirt-daemon-driver-uml = %{version}-%{release}
409 Requires: libvirt-daemon-driver-xen = %{version}-%{release}
412 %if %{with_interface}
413 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
415 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
416 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
417 Requires: libvirt-daemon-driver-network = %{version}-%{release}
418 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
419 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
422 Requires: libvirt-client = %{version}-%{release}
424 # All build-time requirements. Run-time requirements are
425 # listed against each sub-RPM
426 %if 0%{?enable_autotools}
427 BuildRequires: autoconf
428 BuildRequires: automake
429 BuildRequires: gettext-devel
430 BuildRequires: libtool
432 BuildRequires: python-devel
434 BuildRequires: systemd-units
437 BuildRequires: xen-devel
439 BuildRequires: libxml2-devel
440 BuildRequires: xhtml1-dtds
441 BuildRequires: libxslt
442 BuildRequires: readline-devel
443 BuildRequires: ncurses-devel
444 BuildRequires: gettext
445 BuildRequires: libtasn1-devel
446 BuildRequires: gnutls-devel
447 BuildRequires: libattr-devel
448 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
449 # for augparse, optionally used in testing
450 BuildRequires: augeas
453 BuildRequires: hal-devel
456 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
457 BuildRequires: systemd-devel >= 185
459 BuildRequires: libudev-devel >= 145
461 BuildRequires: libpciaccess-devel >= 0.10.9
464 BuildRequires: yajl-devel
467 # make sure libvirt is built with new enough sanlock on
468 # distros that have it; required for on_lockfailure
469 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
470 BuildRequires: sanlock-devel >= 2.4
472 BuildRequires: sanlock-devel >= 1.8
476 BuildRequires: libpcap-devel
479 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
480 BuildRequires: libnl3-devel
482 BuildRequires: libnl-devel
486 BuildRequires: avahi-devel
489 BuildRequires: libselinux-devel
492 BuildRequires: dnsmasq >= 2.41
493 BuildRequires: iptables
494 BuildRequires: iptables-ipv6
498 BuildRequires: ebtables
500 BuildRequires: module-init-tools
502 BuildRequires: cyrus-sasl-devel
505 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
506 # Only need the binary, not -devel
507 BuildRequires: polkit >= 0.93
509 BuildRequires: PolicyKit-devel >= 0.6
512 %if %{with_storage_fs}
513 # For mount/umount in FS driver
514 BuildRequires: util-linux
518 BuildRequires: /usr/bin/qemu-img
522 BuildRequires: /usr/sbin/qcow-create
525 %if %{with_storage_lvm}
529 %if %{with_storage_iscsi}
531 BuildRequires: iscsi-initiator-utils
533 %if %{with_storage_disk}
535 BuildRequires: parted-devel
537 # Broken RHEL-5 parted RPM is missing a dep
538 BuildRequires: e2fsprogs-devel
541 %if %{with_storage_mpath}
542 # For Multipath support
544 # Broken RHEL-5 packaging has header files in main RPM :-(
545 BuildRequires: device-mapper
547 BuildRequires: device-mapper-devel
549 %if %{with_storage_rbd}
550 BuildRequires: ceph-devel
554 # For QEMU/LXC numa info
555 BuildRequires: numactl-devel
558 BuildRequires: libcap-ng-devel >= 0.5.0
561 BuildRequires: fuse-devel >= 2.8.6
563 %if %{with_phyp} || %{with_libssh2}
564 BuildRequires: libssh2-devel >= 1.3.0
568 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
569 BuildRequires: netcf-devel >= 0.2.2
571 %if 0%{?fedora} >= 16 || 0%{?rhel} >= 6
572 BuildRequires: netcf-devel >= 0.1.8
574 BuildRequires: netcf-devel >= 0.1.4
579 %if 0%{?fedora} >= 9 || 0%{?rhel} >= 6
580 BuildRequires: libcurl-devel
582 BuildRequires: curl-devel
586 BuildRequires: libwsman-devel >= 2.2.3
589 BuildRequires: audit-libs-devel
592 # we need /usr/sbin/dtrace
593 BuildRequires: systemtap-sdt-devel
596 %if %{with_storage_fs}
597 # For mount/umount in FS driver
598 BuildRequires: util-linux
599 # For showmount in FS driver (netfs discovery)
600 BuildRequires: nfs-utils
603 %if %{with_firewalld}
604 # Communication with the firewall daemon uses DBus
605 BuildRequires: dbus-devel
608 # Fedora build root suckage
611 # For storage wiping with different algorithms
618 Provides: bundled(gnulib)
621 Libvirt is a C toolkit to interact with the virtualization capabilities
622 of recent versions of Linux (and other OSes). The main package includes
623 the libvirtd server exporting the virtualization support.
626 Summary: API reference and website documentation
627 Group: Development/Libraries
630 Includes the API reference for the libvirt C library, and a complete
631 copy of the libvirt.org website documentation.
635 Summary: Server side daemon and supporting files for libvirt library
636 Group: Development/Libraries
638 # All runtime requirements for the libvirt package (runtime requrements
639 # for subpackages are listed later in those subpackages)
641 # The client side, i.e. shared libs and virsh are in a subpackage
642 Requires: %{name}-client = %{version}-%{release}
644 # for modprobe of pci devices
645 Requires: module-init-tools
646 # for /sbin/ip & /sbin/tc
656 Requires: dnsmasq >= 2.41
659 %if %{with_network} || %{with_nwfilter}
661 Requires: iptables-ipv6
666 %if %{with_netcf} && (0%{?fedora} >= 18 || 0%{?rhel} >= 7)
667 Requires: netcf-libs >= 0.2.2
669 # needed for device enumeration
674 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
675 Requires: systemd >= 185
677 Requires: udev >= 145
681 %if 0%{?fedora} >= 12 || 0%{?rhel} >=6
682 Requires: polkit >= 0.93
684 Requires: PolicyKit >= 0.6
687 %if %{with_storage_fs}
691 # For pool-build probing for existing pools
692 BuildRequires: libblkid-devel >= 2.17
694 %if 0%{?fedora} >= 11
695 Requires: glusterfs-client >= 2.0.1
700 Requires: /usr/bin/qemu-img
701 # For image compression
709 Requires: /usr/sbin/qcow-create
712 %if %{with_storage_lvm}
716 %if %{with_storage_iscsi}
718 Requires: iscsi-initiator-utils
720 %if %{with_storage_disk}
723 Requires: device-mapper
725 %if %{with_storage_mpath}
726 # For multipath support
727 Requires: device-mapper
729 %if %{with_storage_sheepdog}
730 # For Sheepdog support
736 %ifarch %{ix86} x86_64 ia64
737 # For virConnectGetSysinfo
740 # For service management
742 Requires(post): systemd-units
743 Requires(post): systemd-sysv
744 Requires(preun): systemd-units
745 Requires(postun): systemd-units
750 # libvirtd depends on 'messagebus' service
754 Server side daemon required to manage the virtualization capabilities
755 of recent versions of Linux. Requires a hypervisor specific sub-RPM
756 for specific drivers.
759 %package daemon-config-network
760 Summary: Default configuration files for the libvirtd daemon
761 Group: Development/Libraries
763 Requires: libvirt-daemon = %{version}-%{release}
765 %description daemon-config-network
766 Default configuration files for setting up NAT based networking
770 %package daemon-config-nwfilter
771 Summary: Network filter configuration files for the libvirtd daemon
772 Group: Development/Libraries
774 Requires: libvirt-daemon = %{version}-%{release}
776 %description daemon-config-nwfilter
777 Network filter configuration files for cleaning guest traffic
780 %if %{with_driver_modules}
782 %package daemon-driver-network
783 Summary: Network driver plugin for the libvirtd daemon
784 Group: Development/Libraries
785 Requires: libvirt-daemon = %{version}-%{release}
787 %description daemon-driver-network
788 The network driver plugin for the libvirtd daemon, providing
789 an implementation of the virtual network APIs using the Linux
795 %package daemon-driver-nwfilter
796 Summary: Nwfilter driver plugin for the libvirtd daemon
797 Group: Development/Libraries
798 Requires: libvirt-daemon = %{version}-%{release}
800 %description daemon-driver-nwfilter
801 The nwfilter driver plugin for the libvirtd daemon, providing
802 an implementation of the firewall APIs using the ebtables,
803 iptables and ip6tables capabilities
808 %package daemon-driver-nodedev
809 Summary: Nodedev driver plugin for the libvirtd daemon
810 Group: Development/Libraries
811 Requires: libvirt-daemon = %{version}-%{release}
813 %description daemon-driver-nodedev
814 The nodedev driver plugin for the libvirtd daemon, providing
815 an implementation of the node device APIs using the udev
820 %if %{with_interface}
821 %package daemon-driver-interface
822 Summary: Interface driver plugin for the libvirtd daemon
823 Group: Development/Libraries
824 Requires: libvirt-daemon = %{version}-%{release}
826 %description daemon-driver-interface
827 The interface driver plugin for the libvirtd daemon, providing
828 an implementation of the network interface APIs using the
833 %package daemon-driver-secret
834 Summary: Secret driver plugin for the libvirtd daemon
835 Group: Development/Libraries
836 Requires: libvirt-daemon = %{version}-%{release}
838 %description daemon-driver-secret
839 The secret driver plugin for the libvirtd daemon, providing
840 an implementation of the secret key APIs.
844 %package daemon-driver-storage
845 Summary: Storage driver plugin for the libvirtd daemon
846 Group: Development/Libraries
847 Requires: libvirt-daemon = %{version}-%{release}
849 %description daemon-driver-storage
850 The storage driver plugin for the libvirtd daemon, providing
851 an implementation of the storage APIs using LVM, iSCSI,
857 %package daemon-driver-qemu
858 Summary: Qemu driver plugin for the libvirtd daemon
859 Group: Development/Libraries
860 Requires: libvirt-daemon = %{version}-%{release}
861 # There really is a hard cross-driver dependency here
862 Requires: libvirt-daemon-driver-network = %{version}-%{release}
864 %description daemon-driver-qemu
865 The qemu driver plugin for the libvirtd daemon, providing
866 an implementation of the hypervisor driver APIs using
872 %package daemon-driver-lxc
873 Summary: LXC driver plugin for the libvirtd daemon
874 Group: Development/Libraries
875 Requires: libvirt-daemon = %{version}-%{release}
876 # There really is a hard cross-driver dependency here
877 Requires: libvirt-daemon-driver-network = %{version}-%{release}
879 %description daemon-driver-lxc
880 The LXC driver plugin for the libvirtd daemon, providing
881 an implementation of the hypervisor driver APIs using
887 %package daemon-driver-uml
888 Summary: Uml driver plugin for the libvirtd daemon
889 Group: Development/Libraries
890 Requires: libvirt-daemon = %{version}-%{release}
892 %description daemon-driver-uml
893 The UML driver plugin for the libvirtd daemon, providing
894 an implementation of the hypervisor driver APIs using
900 %package daemon-driver-xen
901 Summary: Xen driver plugin for the libvirtd daemon
902 Group: Development/Libraries
903 Requires: libvirt-daemon = %{version}-%{release}
905 %description daemon-driver-xen
906 The Xen driver plugin for the libvirtd daemon, providing
907 an implementation of the hypervisor driver APIs using
913 %package daemon-driver-libxl
914 Summary: Libxl driver plugin for the libvirtd daemon
915 Group: Development/Libraries
916 Requires: libvirt-daemon = %{version}-%{release}
918 %description daemon-driver-libxl
919 The Libxl driver plugin for the libvirtd daemon, providing
920 an implementation of the hypervisor driver APIs using
923 %endif # %{with_driver_modules}
929 Summary: Server side daemon & driver required to run QEMU guests
930 Group: Development/Libraries
932 Requires: libvirt-daemon = %{version}-%{release}
933 %if %{with_driver_modules}
934 Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
935 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
936 Requires: libvirt-daemon-driver-network = %{version}-%{release}
937 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
938 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
939 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
940 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
944 %description daemon-qemu
945 Server side daemon and driver required to manage the virtualization
946 capabilities of the QEMU TCG emulators
952 Summary: Server side daemon & driver required to run KVM guests
953 Group: Development/Libraries
955 Requires: libvirt-daemon = %{version}-%{release}
956 %if %{with_driver_modules}
957 Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
958 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
959 Requires: libvirt-daemon-driver-network = %{version}-%{release}
960 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
961 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
962 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
963 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
967 %description daemon-kvm
968 Server side daemon and driver required to manage the virtualization
969 capabilities of the KVM hypervisor
975 Summary: Server side daemon & driver required to run LXC guests
976 Group: Development/Libraries
978 Requires: libvirt-daemon = %{version}-%{release}
979 %if %{with_driver_modules}
980 Requires: libvirt-daemon-driver-lxc = %{version}-%{release}
981 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
982 Requires: libvirt-daemon-driver-network = %{version}-%{release}
983 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
984 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
985 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
986 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
989 %description daemon-lxc
990 Server side daemon and driver required to manage the virtualization
997 Summary: Server side daemon & driver required to run UML guests
998 Group: Development/Libraries
1000 Requires: libvirt-daemon = %{version}-%{release}
1001 %if %{with_driver_modules}
1002 Requires: libvirt-daemon-driver-uml = %{version}-%{release}
1003 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
1004 Requires: libvirt-daemon-driver-network = %{version}-%{release}
1005 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
1006 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
1007 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
1008 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
1010 # There are no UML kernel RPMs in Fedora/RHEL to depend on.
1012 %description daemon-uml
1013 Server side daemon and driver required to manage the virtualization
1018 %if %{with_xen} || %{with_libxl}
1020 Summary: Server side daemon & driver required to run XEN guests
1021 Group: Development/Libraries
1023 Requires: libvirt-daemon = %{version}-%{release}
1024 %if %{with_driver_modules}
1026 Requires: libvirt-daemon-driver-xen = %{version}-%{release}
1029 Requires: libvirt-daemon-driver-libxl = %{version}-%{release}
1031 Requires: libvirt-daemon-driver-interface = %{version}-%{release}
1032 Requires: libvirt-daemon-driver-network = %{version}-%{release}
1033 Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
1034 Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
1035 Requires: libvirt-daemon-driver-secret = %{version}-%{release}
1036 Requires: libvirt-daemon-driver-storage = %{version}-%{release}
1040 %description daemon-xen
1041 Server side daemon and driver required to manage the virtualization
1044 %endif # %{with_libvirtd}
1047 Summary: Client side library and utilities of the libvirt library
1048 Group: Development/Libraries
1051 # So remote clients can access libvirt over SSH tunnel
1052 # (client invokes 'nc' against the UNIX socket on the server)
1054 # Needed by libvirt-guests init script.
1056 # Needed by virt-pki-validate script.
1057 Requires: gnutls-utils
1058 # Needed for probing the power management features of the host.
1061 Requires: cyrus-sasl
1062 # Not technically required, but makes 'out-of-box' config
1063 # work correctly & doesn't have onerous dependencies
1064 Requires: cyrus-sasl-md5
1068 Shared libraries and client binaries needed to access to the
1069 virtualization capabilities of recent versions of Linux (and other OSes).
1072 Summary: Libraries, includes, etc. to compile with the libvirt library
1073 Group: Development/Libraries
1074 Requires: %{name}-client = %{version}-%{release}
1075 Requires: %{name}-docs = %{version}-%{release}
1079 Include header files & development libraries for the libvirt C library.
1082 %package lock-sanlock
1083 Summary: Sanlock lock manager plugin for QEMU driver
1084 Group: Development/Libraries
1085 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
1086 Requires: sanlock >= 2.4
1088 Requires: sanlock >= 1.8
1090 #for virt-sanlock-cleanup require augeas
1092 Requires: %{name}-daemon = %{version}-%{release}
1093 Requires: %{name}-client = %{version}-%{release}
1095 %description lock-sanlock
1096 Includes the Sanlock lock manager plugin for the QEMU
1102 Summary: Python bindings for the libvirt library
1103 Group: Development/Libraries
1104 Requires: %{name}-client = %{version}-%{release}
1107 The libvirt-python package contains a module that permits applications
1108 written in the Python programming language to use the interface
1109 supplied by the libvirt library to use the virtualization capabilities
1110 of recent versions of Linux (and other OSes).
1120 %define _without_xen --without-xen
1124 %define _without_qemu --without-qemu
1127 %if ! %{with_openvz}
1128 %define _without_openvz --without-openvz
1132 %define _without_lxc --without-lxc
1136 %define _without_vbox --without-vbox
1139 %if ! %{with_xenapi}
1140 %define _without_xenapi --without-xenapi
1144 %define _without_libxl --without-libxl
1148 %define _without_sasl --without-sasl
1152 %define _without_avahi --without-avahi
1156 %define _without_phyp --without-phyp
1160 %define _without_esx --without-esx
1163 %if ! %{with_hyperv}
1164 %define _without_hyperv --without-hyperv
1167 %if ! %{with_vmware}
1168 %define _without_vmware --without-vmware
1171 %if ! %{with_parallels}
1172 %define _without_parallels --without-parallels
1175 %if ! %{with_polkit}
1176 %define _without_polkit --without-polkit
1179 %if ! %{with_python}
1180 %define _without_python --without-python
1183 %if ! %{with_libvirtd}
1184 %define _without_libvirtd --without-libvirtd
1188 %define _without_uml --without-uml
1192 %define _with_rhel5_api --with-rhel5-api
1195 %if ! %{with_interface}
1196 %define _without_interface --without-interface
1199 %if ! %{with_network}
1200 %define _without_network --without-network
1203 %if ! %{with_storage_fs}
1204 %define _without_storage_fs --without-storage-fs
1207 %if ! %{with_storage_lvm}
1208 %define _without_storage_lvm --without-storage-lvm
1211 %if ! %{with_storage_iscsi}
1212 %define _without_storage_iscsi --without-storage-iscsi
1215 %if ! %{with_storage_disk}
1216 %define _without_storage_disk --without-storage-disk
1219 %if ! %{with_storage_mpath}
1220 %define _without_storage_mpath --without-storage-mpath
1223 %if ! %{with_storage_rbd}
1224 %define _without_storage_rbd --without-storage-rbd
1227 %if ! %{with_storage_sheepdog}
1228 %define _without_storage_sheepdog --without-storage-sheepdog
1231 %if ! %{with_numactl}
1232 %define _without_numactl --without-numactl
1236 %define _without_numad --without-numad
1240 %define _without_capng --without-capng
1244 %define _without_fuse --without-fuse
1248 %define _without_netcf --without-netcf
1251 %if ! %{with_selinux}
1252 %define _without_selinux --without-selinux
1256 %define _without_hal --without-hal
1260 %define _without_udev --without-udev
1264 %define _without_yajl --without-yajl
1267 %if ! %{with_sanlock}
1268 %define _without_sanlock --without-sanlock
1271 %if ! %{with_libpcap}
1272 %define _without_libpcap --without-libpcap
1275 %if ! %{with_macvtap}
1276 %define _without_macvtap --without-macvtap
1280 %define _without_audit --without-audit
1283 %if ! %{with_dtrace}
1284 %define _without_dtrace --without-dtrace
1287 %if ! %{with_driver_modules}
1288 %define _without_driver_modules --without-driver-modules
1291 %if %{with_firewalld}
1292 %define _with_firewalld --with-firewalld
1295 %define when %(date +"%%F-%%T")
1296 %define where %(hostname)
1297 %define who %{?packager}%{!?packager:Unknown}
1298 %define with_packager --with-packager="%{who}, %{when}, %{where}"
1299 %define with_packager_version --with-packager-version="%{release}"
1302 %define init_scripts --with-init_script=systemd
1304 %define init_scripts --with-init_script=redhat
1307 %if 0%{?enable_autotools}
1312 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
1313 %define with_selinux_mount --with-selinux-mount="/sys/fs/selinux"
1315 %define with_selinux_mount --with-selinux-mount="/selinux"
1319 %configure %{?_without_xen} \
1321 %{?_without_openvz} \
1324 %{?_without_libxl} \
1325 %{?_without_xenapi} \
1327 %{?_without_avahi} \
1328 %{?_without_polkit} \
1329 %{?_without_python} \
1330 %{?_without_libvirtd} \
1334 %{?_without_hyperv} \
1335 %{?_without_vmware} \
1336 %{?_without_parallels} \
1337 %{?_without_interface} \
1338 %{?_without_network} \
1339 %{?_with_rhel5_api} \
1340 %{?_without_storage_fs} \
1341 %{?_without_storage_lvm} \
1342 %{?_without_storage_iscsi} \
1343 %{?_without_storage_disk} \
1344 %{?_without_storage_mpath} \
1345 %{?_without_storage_rbd} \
1346 %{?_without_storage_sheepdog} \
1347 %{?_without_numactl} \
1348 %{?_without_numad} \
1349 %{?_without_capng} \
1351 %{?_without_netcf} \
1352 %{?_without_selinux} \
1353 %{?_with_selinux_mount} \
1357 %{?_without_sanlock} \
1358 %{?_without_libpcap} \
1359 %{?_without_macvtap} \
1360 %{?_without_audit} \
1361 %{?_without_dtrace} \
1362 %{?_without_driver_modules} \
1363 %{?_with_firewalld} \
1365 %{with_packager_version} \
1366 --with-qemu-user=%{qemu_user} \
1367 --with-qemu-group=%{qemu_group} \
1369 make %{?_smp_mflags}
1375 %makeinstall SYSTEMD_UNIT_DIR=%{buildroot}%{_unitdir}
1376 for i in domain-events/events-c dominfo domsuspend hellolibvirt openauth python xml/nwfilter systemtap
1378 (cd examples/$i ; make clean ; rm -rf .deps .libs Makefile Makefile.in)
1380 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
1381 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
1382 rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.la
1383 rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a
1384 rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/lock-driver/*.la
1385 rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/lock-driver/*.a
1386 %if %{with_driver_modules}
1387 rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/connection-driver/*.la
1388 rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/connection-driver/*.a
1392 install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/lib/libvirt/dnsmasq/
1393 # We don't want to install /etc/libvirt/qemu/networks in the main %files list
1394 # because if the admin wants to delete the default network completely, we don't
1395 # want to end up re-incarnating it on every RPM upgrade.
1396 install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/
1397 cp $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml \
1398 $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
1401 # Strip auto-generated UUID - we need it generated per-install
1402 sed -i -e "/<uuid>/d" $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
1404 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
1405 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
1408 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_qemu.aug
1409 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
1413 %if ! %{with_sanlock}
1414 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirt_sanlock.aug
1415 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
1419 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_lxc.aug
1420 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
1423 %if ! %{with_python}
1424 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-python-%{version}
1426 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-python-%{version}/examples
1430 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu.conf
1431 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.qemu
1434 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/lxc.conf
1435 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.lxc
1438 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.uml
1441 mv $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-%{version} \
1442 $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-docs-%{version}
1445 %ifarch %{power64} s390x x86_64 ia64 alpha sparc64
1446 mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_probes.stp \
1447 $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_probes-64.stp
1448 mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_qemu_probes.stp \
1449 $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_qemu_probes-64.stp
1453 %if 0%{?fedora} < 14 && 0%{?rhel} < 6
1454 rm -f $RPM_BUILD_ROOT%{_prefix}/lib/sysctl.d/libvirtd.conf
1463 # These tests don't current work in a mock build root
1464 for i in nodeinfotest seclabeltest
1467 printf 'int main(void) { return 0; }' > $i.c
1468 printf '#!/bin/sh\nexit 0\n' > $i
1473 %if %{with_libvirtd}
1475 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
1476 # Normally 'setup' adds this in /etc/passwd, but this is
1477 # here for case of upgrades from earlier Fedora/RHEL. This
1478 # UID/GID pair is reserved for qemu:qemu
1479 getent group kvm >/dev/null || groupadd -g 36 -r kvm
1480 getent group qemu >/dev/null || groupadd -g 107 -r qemu
1481 getent passwd qemu >/dev/null || \
1482 useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
1489 # All newly defined networks will have a mac address for the bridge
1490 # auto-generated, but networks already existing at the time of upgrade
1491 # will not. We need to go through all the network configs, look for
1492 # those that don't have a mac address, and add one.
1494 network_files=$( (cd %{_localstatedir}/lib/libvirt/network && \
1495 grep -L "mac address" *.xml; \
1496 cd %{_sysconfdir}/libvirt/qemu/networks && \
1497 grep -L "mac address" *.xml) 2>/dev/null \
1500 for file in $network_files
1502 # each file exists in either the config or state directory (or both) and
1503 # does not have a mac address specified in either. We add the same mac
1504 # address to both files (or just one, if the other isn't there)
1506 mac4=`printf '%X' $(($RANDOM % 256))`
1507 mac5=`printf '%X' $(($RANDOM % 256))`
1508 mac6=`printf '%X' $(($RANDOM % 256))`
1509 for dir in %{_localstatedir}/lib/libvirt/network \
1510 %{_sysconfdir}/libvirt/qemu/networks
1512 if test -f $dir/$file
1515 "s|\(<bridge.*$\)|\0\n <mac address='52:54:00:$mac4:$mac5:$mac6'/>|" \
1519 echo "failed to add <mac address='52:54:00:$mac4:$mac5:$mac6'/>" \
1521 mv -f $dir/$file.orig $dir/$file
1523 rm -f $dir/$file.orig
1531 %if %{with_systemd_macros}
1532 %systemd_post libvirtd.service
1534 if [ $1 -eq 1 ] ; then
1535 # Initial installation
1536 /bin/systemctl enable virtlockd.socket >/dev/null 2>&1 || :
1537 /bin/systemctl enable libvirtd.service >/dev/null 2>&1 || :
1541 %if %{with_cgconfig}
1542 # Starting with Fedora 16/RHEL-7, systemd automounts all cgroups,
1543 # and cgconfig is no longer a necessary service.
1544 %if (0%{?rhel} && 0%{?rhel} < 7) || (0%{?fedora} && 0%{?fedora} < 16)
1545 if [ "$1" -eq "1" ]; then
1546 /sbin/chkconfig cgconfig on
1551 /sbin/chkconfig --add libvirtd
1552 if [ "$1" -ge "1" ]; then
1553 /sbin/service libvirtd condrestart > /dev/null 2>&1
1559 %if %{with_systemd_macros}
1560 %systemd_preun libvirtd.service
1562 if [ $1 -eq 0 ] ; then
1563 # Package removal, not upgrade
1564 /bin/systemctl --no-reload disable virtlockd.socket > /dev/null 2>&1 || :
1565 /bin/systemctl --no-reload disable libvirtd.service > /dev/null 2>&1 || :
1566 /bin/systemctl stop libvirtd.service > /dev/null 2>&1 || :
1567 /bin/systemctl stop virtlockd.service > /dev/null 2>&1 || :
1572 /sbin/service libvirtd stop 1>/dev/null 2>&1
1573 /sbin/chkconfig --del libvirtd
1579 %if %{with_systemd_macros}
1580 %systemd_postun_with_restart libvirtd.service
1582 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
1583 if [ $1 -ge 1 ] ; then
1584 # Package upgrade, not uninstall
1585 /bin/systemctl status virtlockd.service >/dev/null 2>&1
1586 if [ $? = 1 ] ; then
1587 /bin/systemctl kill --signal=USR1 virtlockd.service >/dev/null 2>&1 || :
1589 /bin/systemctl try-restart libvirtd.service >/dev/null 2>&1 || :
1595 %post daemon-config-network
1596 if test $1 -eq 1 && test ! -f %{_sysconfdir}/libvirt/qemu/networks/default.xml ; then
1597 UUID=`/usr/bin/uuidgen`
1598 sed -e "s,</name>,</name>\n <uuid>$UUID</uuid>," \
1599 < %{_datadir}/libvirt/networks/default.xml \
1600 > %{_sysconfdir}/libvirt/qemu/networks/default.xml
1601 ln -s ../default.xml %{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
1606 %triggerun -- libvirt < 0.9.4
1607 %{_bindir}/systemd-sysv-convert --save libvirtd >/dev/null 2>&1 ||:
1609 # If the package is allowed to autostart:
1610 /bin/systemctl --no-reload enable libvirtd.service >/dev/null 2>&1 ||:
1612 # Run these because the SysV package being removed won't do them
1613 /sbin/chkconfig --del libvirtd >/dev/null 2>&1 || :
1614 /bin/systemctl try-restart libvirtd.service >/dev/null 2>&1 || :
1616 %endif # %{with_libvirtd}
1621 %if %{with_systemd_macros}
1622 %systemd_preun libvirt-guests.service
1626 /sbin/chkconfig --del libvirt-guests
1627 rm -f /var/lib/libvirt/libvirt-guests
1635 %if %{with_systemd_macros}
1636 %systemd_post libvirt-guests.service
1639 /sbin/chkconfig --add libvirt-guests
1646 %if %{with_systemd_macros}
1647 %systemd_postun_with_restart libvirt-guests.service
1649 %triggerun client -- libvirt < 0.9.4
1650 %{_bindir}/systemd-sysv-convert --save libvirt-guests >/dev/null 2>&1 ||:
1652 # If the package is allowed to autostart:
1653 /bin/systemctl --no-reload enable libvirt-guests.service >/dev/null 2>&1 ||:
1655 # Run these because the SysV package being removed won't do them
1656 /sbin/chkconfig --del libvirt-guests >/dev/null 2>&1 || :
1657 /bin/systemctl try-restart libvirt-guests.service >/dev/null 2>&1 || :
1662 if getent group sanlock > /dev/null ; then
1663 chmod 0770 %{_localstatedir}/lib/libvirt/sanlock
1664 chown root:sanlock %{_localstatedir}/lib/libvirt/sanlock
1669 %defattr(-, root, root)
1672 %defattr(-, root, root)
1674 %dir %{_datadir}/doc/libvirt-docs-%{version}
1675 %dir %{_datadir}/doc/libvirt-docs-%{version}/html
1676 %{_datadir}/doc/libvirt-docs-%{version}/html/*
1679 %dir %{_datadir}/gtk-doc/html/libvirt/
1680 %doc %{_datadir}/gtk-doc/html/libvirt/*.devhelp
1681 %doc %{_datadir}/gtk-doc/html/libvirt/*.html
1682 %doc %{_datadir}/gtk-doc/html/libvirt/*.png
1683 %doc %{_datadir}/gtk-doc/html/libvirt/*.css
1685 %if %{with_libvirtd}
1687 %defattr(-, root, root)
1689 %doc AUTHORS ChangeLog.gz NEWS README COPYING.LIB TODO
1690 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/
1693 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/
1694 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/
1695 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/autostart
1698 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/nwfilter/
1701 %{_unitdir}/libvirtd.service
1702 %{_unitdir}/virtlockd.service
1703 %{_unitdir}/virtlockd.socket
1705 %{_sysconfdir}/rc.d/init.d/libvirtd
1706 %{_sysconfdir}/rc.d/init.d/virtlockd
1708 %doc daemon/libvirtd.upstart
1709 %config(noreplace) %{_sysconfdir}/sysconfig/libvirtd
1710 %config(noreplace) %{_sysconfdir}/sysconfig/virtlockd
1711 %config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf
1712 %if 0%{?fedora} >= 14 || 0%{?rhel} >= 6
1713 %config(noreplace) %{_prefix}/lib/sysctl.d/libvirtd.conf
1715 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/
1716 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/lxc/
1717 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/uml/
1719 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/libxl/
1722 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd
1724 %config(noreplace) %{_sysconfdir}/libvirt/qemu.conf
1725 %config(noreplace) %{_sysconfdir}/libvirt/qemu-lockd.conf
1726 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.qemu
1729 %config(noreplace) %{_sysconfdir}/libvirt/lxc.conf
1730 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.lxc
1733 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.uml
1736 %dir %{_datadir}/libvirt/
1739 %dir %{_datadir}/libvirt/networks/
1740 %{_datadir}/libvirt/networks/default.xml
1743 %ghost %dir %{_localstatedir}/run/libvirt/
1745 %dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/images/
1746 %dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/filesystems/
1747 %dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/boot/
1748 %dir %attr(0711, root, root) %{_localstatedir}/cache/libvirt/
1751 %ghost %dir %attr(0700, root, root) %{_localstatedir}/run/libvirt/qemu/
1752 %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/
1753 %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/cache/libvirt/qemu/
1756 %ghost %dir %{_localstatedir}/run/libvirt/lxc/
1757 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/lxc/
1760 %ghost %dir %{_localstatedir}/run/libvirt/uml/
1761 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/uml/
1764 %ghost %dir %{_localstatedir}/run/libvirt/libxl/
1765 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/libxl/
1768 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/xen/
1771 %ghost %dir %{_localstatedir}/run/libvirt/network/
1772 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/network/
1773 %dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/dnsmasq/
1776 %dir %attr(0755, root, root) %{_libdir}/libvirt/lock-driver
1777 %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/lockd.so
1780 %{_datadir}/augeas/lenses/libvirtd_qemu.aug
1781 %{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
1785 %{_datadir}/augeas/lenses/libvirtd_lxc.aug
1786 %{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
1789 %{_datadir}/augeas/lenses/libvirtd.aug
1790 %{_datadir}/augeas/lenses/tests/test_libvirtd.aug
1791 %{_datadir}/augeas/lenses/libvirt_lockd.aug
1792 %{_datadir}/augeas/lenses/tests/test_libvirt_lockd.aug
1795 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
1796 %{_datadir}/polkit-1/actions/org.libvirt.unix.policy
1798 %{_datadir}/PolicyKit/policy/org.libvirt.unix.policy
1802 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/
1805 %attr(0755, root, root) %{_libexecdir}/libvirt_lxc
1808 %if %{with_storage_disk}
1809 %attr(0755, root, root) %{_libexecdir}/libvirt_parthelper
1812 %attr(0755, root, root) %{_libexecdir}/libvirt_iohelper
1813 %attr(0755, root, root) %{_sbindir}/libvirtd
1814 %attr(0755, root, root) %{_sbindir}/virtlockd
1816 %{_mandir}/man8/libvirtd.8*
1818 %if %{with_driver_modules}
1820 %files daemon-config-network
1821 %defattr(-, root, root)
1824 %if %{with_nwfilter}
1825 %files daemon-config-nwfilter
1826 %defattr(-, root, root)
1827 %{_sysconfdir}/libvirt/nwfilter/*.xml
1830 %if %{with_interface}
1831 %files daemon-driver-interface
1832 %defattr(-, root, root)
1833 %{_libdir}/%{name}/connection-driver/libvirt_driver_interface.so
1837 %files daemon-driver-network
1838 %defattr(-, root, root)
1839 %{_libdir}/%{name}/connection-driver/libvirt_driver_network.so
1843 %files daemon-driver-nodedev
1844 %defattr(-, root, root)
1845 %{_libdir}/%{name}/connection-driver/libvirt_driver_nodedev.so
1848 %if %{with_nwfilter}
1849 %files daemon-driver-nwfilter
1850 %defattr(-, root, root)
1851 %{_libdir}/%{name}/connection-driver/libvirt_driver_nwfilter.so
1854 %files daemon-driver-secret
1855 %defattr(-, root, root)
1856 %{_libdir}/%{name}/connection-driver/libvirt_driver_secret.so
1859 %files daemon-driver-storage
1860 %defattr(-, root, root)
1861 %{_libdir}/%{name}/connection-driver/libvirt_driver_storage.so
1865 %files daemon-driver-qemu
1866 %defattr(-, root, root)
1867 %{_libdir}/%{name}/connection-driver/libvirt_driver_qemu.so
1871 %files daemon-driver-lxc
1872 %defattr(-, root, root)
1873 %{_libdir}/%{name}/connection-driver/libvirt_driver_lxc.so
1877 %files daemon-driver-uml
1878 %defattr(-, root, root)
1879 %{_libdir}/%{name}/connection-driver/libvirt_driver_uml.so
1883 %files daemon-driver-xen
1884 %defattr(-, root, root)
1885 %{_libdir}/%{name}/connection-driver/libvirt_driver_xen.so
1889 %files daemon-driver-libxl
1890 %defattr(-, root, root)
1891 %{_libdir}/%{name}/connection-driver/libvirt_driver_libxl.so
1893 %endif # %{with_driver_modules}
1895 %if %{with_qemu_tcg}
1897 %defattr(-, root, root)
1900 %if %{with_qemu_kvm}
1902 %defattr(-, root, root)
1907 %defattr(-, root, root)
1912 %defattr(-, root, root)
1915 %if %{with_xen} || %{with_libxl}
1917 %defattr(-, root, root)
1919 %endif # %{with_libvirtd}
1923 %defattr(-, root, root)
1925 %config(noreplace) %{_sysconfdir}/libvirt/qemu-sanlock.conf
1927 %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/sanlock.so
1928 %{_datadir}/augeas/lenses/libvirt_sanlock.aug
1929 %{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
1930 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/sanlock
1931 %{_sbindir}/virt-sanlock-cleanup
1932 %{_mandir}/man8/virt-sanlock-cleanup.8*
1933 %attr(0755, root, root) %{_libexecdir}/libvirt_sanlock_helper
1936 %files client -f %{name}.lang
1937 %defattr(-, root, root)
1938 %doc AUTHORS ChangeLog.gz NEWS README COPYING.LIB TODO
1940 %config(noreplace) %{_sysconfdir}/libvirt/libvirt.conf
1941 %{_mandir}/man1/virsh.1*
1942 %{_mandir}/man1/virt-xml-validate.1*
1943 %{_mandir}/man1/virt-pki-validate.1*
1944 %{_mandir}/man1/virt-host-validate.1*
1946 %{_bindir}/virt-xml-validate
1947 %{_bindir}/virt-pki-validate
1948 %{_bindir}/virt-host-validate
1949 %{_libdir}/lib*.so.*
1952 %{_datadir}/systemtap/tapset/libvirt_probes*.stp
1953 %{_datadir}/systemtap/tapset/libvirt_qemu_probes*.stp
1954 %{_datadir}/systemtap/tapset/libvirt_functions.stp
1957 %dir %{_datadir}/libvirt/
1958 %dir %{_datadir}/libvirt/schemas/
1960 %{_datadir}/libvirt/schemas/basictypes.rng
1961 %{_datadir}/libvirt/schemas/capability.rng
1962 %{_datadir}/libvirt/schemas/domain.rng
1963 %{_datadir}/libvirt/schemas/domaincommon.rng
1964 %{_datadir}/libvirt/schemas/domainsnapshot.rng
1965 %{_datadir}/libvirt/schemas/interface.rng
1966 %{_datadir}/libvirt/schemas/network.rng
1967 %{_datadir}/libvirt/schemas/networkcommon.rng
1968 %{_datadir}/libvirt/schemas/nodedev.rng
1969 %{_datadir}/libvirt/schemas/nwfilter.rng
1970 %{_datadir}/libvirt/schemas/secret.rng
1971 %{_datadir}/libvirt/schemas/storageencryption.rng
1972 %{_datadir}/libvirt/schemas/storagepool.rng
1973 %{_datadir}/libvirt/schemas/storagevol.rng
1975 %{_datadir}/libvirt/cpu_map.xml
1978 %{_unitdir}/libvirt-guests.service
1980 %{_sysconfdir}/rc.d/init.d/libvirt-guests
1982 %config(noreplace) %{_sysconfdir}/sysconfig/libvirt-guests
1983 %attr(0755, root, root) %{_libexecdir}/libvirt-guests.sh
1984 %dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/
1987 %config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
1991 %defattr(-, root, root)
1994 %dir %{_includedir}/libvirt
1995 %{_includedir}/libvirt/*.h
1996 %{_libdir}/pkgconfig/libvirt.pc
1998 %dir %{_datadir}/libvirt/api/
1999 %{_datadir}/libvirt/api/libvirt-api.xml
2000 %{_datadir}/libvirt/api/libvirt-qemu-api.xml
2001 %{_datadir}/libvirt/api/libvirt-lxc-api.xml
2003 %doc docs/*.html docs/html docs/*.gif
2004 %doc docs/libvirt-api.xml
2005 %doc examples/hellolibvirt
2006 %doc examples/domain-events/events-c
2007 %doc examples/dominfo
2008 %doc examples/domsuspend
2009 %doc examples/openauth
2011 %doc examples/systemtap
2015 %defattr(-, root, root)
2017 %doc AUTHORS NEWS README COPYING.LIB
2018 %{_libdir}/python*/site-packages/libvirt.py*
2019 %{_libdir}/python*/site-packages/libvirt_qemu.py*
2020 %{_libdir}/python*/site-packages/libvirt_lxc.py*
2021 %{_libdir}/python*/site-packages/libvirtmod*
2022 %doc python/tests/*.py
2024 %doc examples/python
2025 %doc examples/domain-events/events-python
2029 * Wed Jan 30 2013 Daniel Veillard <veillard@redhat.com> - 1.0.2-1
2031 - S390 architecture improvement
2032 - Power architecture improvement
2033 - large Coverity report cleanups and associated bug fixes
2034 - virTypedParams* APIs to helps with those data structures
2035 - a lot of bug fixes and overall improvements
2037 * Fri Nov 2 2012 Daniel Veillard <veillard@redhat.com> - 1.0.0-1
2038 - virNodeGetCPUMap: Define public API
2039 - Add systemd journal support
2040 - Add a qemu capabilities cache manager
2041 - USB migration support
2042 - various improvement and fixes when using QMP QEmu interface
2043 - Support for Xen 4.2
2044 - Lot of localization enhancements
2045 - a lot of bug fixes, improvements and portability work
2047 * Mon Sep 24 2012 Daniel Veillard <veillard@redhat.com> - 0.10.2-1
2048 - network: define new API virNetworkUpdate
2049 - add support for QEmu sandbox support
2050 - blockjob: add virDomainBlockCommit
2051 - New APIs to get/set Node memory parameters
2052 - new API virConnectListAllSecrets
2053 - new API virConnectListAllNWFilters
2054 - new API virConnectListAllNodeDevices
2055 - parallels: add support of containers to the driver
2056 - new API virConnectListAllInterfaces
2057 - new API virConnectListAllNetworks
2058 - new API virStoragePoolListAllVolumes
2059 - Add PMSUSPENDED life cycle event
2060 - new API virStorageListAllStoragePools
2061 - Add per-guest S3/S4 state configuration
2062 - qemu: Support for Block Device IO Limits
2063 - a lot of bug fixes, improvements and portability work
2065 * Fri Aug 31 2012 Daniel Veillard <veillard@redhat.com> - 0.10.1-1
2066 - bugfixes and a brown paper bag
2068 * Wed Aug 29 2012 Daniel Veillard <veillard@redhat.com> - 0.10.0-1
2069 - agent: add qemuAgentArbitraryCommand() for general qemu agent command
2070 - Introduce virDomainPinEmulator and virDomainGetEmulatorPinInfo functions
2071 - network: use firewalld instead of iptables, when available
2072 - network: make network driver vlan-aware
2073 - esx: Implement network driver
2074 - driver for parallels hypervisor
2075 - Various LXC improvements
2076 - Add virDomainGetHostname
2077 - a lot of bug fixes, improvements and portability work
2079 * Mon Jul 2 2012 Daniel Veillard <veillard@redhat.com> - 0.9.13-1
2080 - S390: support for s390(x)
2081 - snapshot: implement new APIs for esx and vbox
2082 - snapshot: new query APIs and many improvements
2083 - virsh: Allow users to reedit rejected XML
2084 - nwfilter: add DHCP snooping
2085 - Enable driver modules in libvirt RPM
2086 - Default to enable driver modules for libvirtd
2087 - storage backend: Add RBD (RADOS Block Device) support
2088 - sVirt support for LXC domains inprovement
2089 - a lot of bug fixes, improvements and portability work
2091 * Mon May 14 2012 Daniel Veillard <veillard@redhat.com> - 0.9.12-1
2092 - qemu: allow snapshotting of sheepdog and rbd disks
2093 - blockjob: add new APIs
2094 - a lot of bug fixes, improvements and portability work
2096 * Tue Apr 3 2012 Daniel Veillard <veillard@redhat.com> - 0.9.11-1
2097 - Add support for the suspend event
2098 - Add support for event tray moved of removable disks
2099 - qemu: Support numad
2100 - cpustats: API, improvements and qemu support
2101 - qemu: support type='hostdev' network devices at domain start
2102 - Introduce virDomainPMWakeup API
2103 - network: support Open vSwitch
2104 - a number of snapshot improvements
2105 - many improvements and bug fixes
2107 * Mon Feb 13 2012 Daniel Veillard <veillard@redhat.com> - 0.9.10-1
2108 - Add support for sVirt in the LXC driver
2109 - block rebase: add new API virDomainBlockRebase
2110 - API: Add api to set and get domain metadata
2111 - virDomainGetDiskErrors public API
2112 - conf: add rawio attribute to disk element of domain XML
2113 - Add new public API virDomainGetCPUStats()
2114 - Introduce virDomainPMSuspendForDuration API
2115 - resize: add virStorageVolResize() API
2116 - Add a virt-host-validate command to sanity check HV config
2117 - Add new virDomainShutdownFlags API
2118 - QEMU guest agent support
2119 - many improvements and bug fixes
2121 * Sat Jan 7 2012 Daniel Veillard <veillard@redhat.com> - 0.9.9-1
2122 - Add API virDomain{S,G}etInterfaceParameters
2123 - Add API virDomain{G, S}etNumaParameters
2124 - Add support for ppc64 qemu
2125 - Support Xen domctl v8
2126 - many improvements and bug fixes
2128 * Thu Dec 8 2011 Daniel Veillard <veillard@redhat.com> - 0.9.8-1
2129 - Add support for QEMU 1.0
2130 - Add preliminary PPC cpu driver
2131 - Add new API virDomain{Set, Get}BlockIoTune
2132 - block_resize: Define the new API
2133 - Add a public API to invoke suspend/resume on the host
2134 - various improvements for LXC containers
2135 - Define keepalive protocol and add virConnectIsAlive API
2136 - Add support for STP and VLAN filtering
2137 - many improvements and bug fixes
2139 * Tue Nov 8 2011 Daniel Veillard <veillard@redhat.com> - 0.9.7-1
2140 - esx: support vSphere 5.x
2141 - vbox: support for VirtualBox 4.1
2142 - Introduce the virDomainOpenGraphics API
2143 - Add AHCI support to qemu driver
2144 - snapshot: many improvements and 2 new APIs
2145 - api: Add public api for 'reset'
2146 - many improvements and bug fixes
2148 * Thu Sep 22 2011 Daniel Veillard <veillard@redhat.com> - 0.9.6-1
2149 - Fix the qemu reboot bug and a few others bug fixes
2151 * Tue Sep 20 2011 Daniel Veillard <veillard@redhat.com> - 0.9.5-1
2152 - many snapshot improvements (Eric Blake)
2153 - latency: Define new public API and structure (Osier Yang)
2154 - USB2 and various USB improvements (Marc-André Lureau)
2155 - storage: Add fs pool formatting (Osier Yang)
2156 - Add public API for getting migration speed (Jim Fehlig)
2157 - Add basic driver for Microsoft Hyper-V (Matthias Bolte)
2158 - many improvements and bug fixes
2160 * Wed Aug 3 2011 Daniel Veillard <veillard@redhat.com> - 0.9.4-1
2161 - network bandwidth QoS control
2162 - Add new API virDomainBlockPull*
2163 - save: new API to manipulate save file images
2164 - CPU bandwidth limits support
2165 - allow to send NMI and key event to guests
2166 - new API virDomainUndefineFlags
2167 - Implement code to attach to external QEMU instances
2168 - bios: Add support for SGA
2169 - various missing python binding
2170 - many improvements and bug fixes
2172 * Mon Jul 4 2011 Daniel Veillard <veillard@redhat.com> - 0.9.3-1
2173 - new API virDomainGetVcpupinInfo
2174 - Add TXT record support for virtual DNS service
2175 - Support reboots with the QEMU driver
2176 - New API virDomainGetControlInfo API
2177 - New API virNodeGetMemoryStats
2178 - New API virNodeGetCPUTime
2179 - New API for send-key
2180 - New API virDomainPinVcpuFlags
2181 - support multifunction PCI device
2182 - lxc: various improvements
2183 - many improvements and bug fixes
2185 * Mon Jun 6 2011 Daniel Veillard <veillard@redhat.com> - 0.9.2-1
2186 - Framework for lock manager plugins
2187 - API for network config change transactions
2188 - flags for setting memory parameters
2189 - virDomainGetState public API
2190 - qemu: allow blkstat/blkinfo calls during migration
2191 - Introduce migration v3 API
2192 - Defining the Screenshot public API
2193 - public API for NMI injection
2194 - Various improvements and bug fixes
2196 * Thu May 5 2011 Daniel Veillard <veillard@redhat.com> - 0.9.1-1
2197 - support various persistent domain updates
2198 - improvements on memory APIs
2199 - Add virDomainEventRebootNew
2200 - various improvements to libxl driver
2201 - Spice: support audio, images and stream compression
2202 - Various improvements and bug fixes
2204 * Mon Apr 4 2011 Daniel Veillard <veillard@redhat.com> - 0.9.0-1
2205 - Support cputune cpu usage tuning
2206 - Add public APIs for storage volume upload/download
2207 - Add public API for setting migration speed on the fly
2208 - Add libxenlight driver
2209 - qemu: support migration to fd
2210 - libvirt: add virDomain{Get,Set}BlkioParameters
2211 - setmem: introduce a new libvirt API (virDomainSetMemoryFlags)
2212 - Expose event loop implementation as a public API
2213 - Dump the debug buffer to libvirtd.log on fatal signal
2215 - Various improvements and bug fixes
2217 * Thu Feb 17 2011 Daniel Veillard <veillard@redhat.com> - 0.8.8-1
2218 - expose new API for sysinfo extraction
2219 - cgroup blkio weight support
2220 - smartcard device support
2221 - qemu: Support per-device boot ordering
2222 - Various improvements and bug fixes
2224 * Tue Jan 4 2011 Daniel Veillard <veillard@redhat.com> - 0.8.7-1
2225 - Preliminary support for VirtualBox 4.0
2227 - Add VMware Workstation and Player driver driver
2228 - Add network disk support
2229 - Various improvements and bug fixes
2231 * Tue Nov 30 2010 Daniel Veillard <veillard@redhat.com> - 0.8.6-1
2232 - Add support for iSCSI target auto-discovery
2233 - QED: Basic support for QED images
2234 - remote console support
2235 - support for SPICE graphics
2236 - sysinfo and VMBIOS support
2237 - virsh qemu-monitor-command
2238 - various improvements and bug fixes
2240 * Fri Oct 29 2010 Daniel Veillard <veillard@redhat.com> - 0.8.5-1
2241 - Enable JSON and netdev features in QEMU >= 0.13
2242 - framework for auditing integration
2243 - framework DTrace/SystemTap integration
2244 - Setting the number of vcpu at boot
2245 - Enable support for nested SVM
2246 - Virtio plan9fs filesystem QEMU
2247 - Memory parameter controls
2248 - various improvements and bug fixes
2250 * Fri Sep 10 2010 Daniel Veillard <veillard@redhat.com> - 0.8.4-1
2251 - big improvements to UML driver
2252 - various improvements and bug fixes
2254 * Wed Aug 4 2010 Daniel Veillard <veillard@redhat.com> - 0.8.3-1
2255 - esx: Support vSphere 4.1
2256 - Qemu arbitrary monitor commands
2257 - Qemu Monitor API entry point
2258 - various improvements and bug fixes
2260 * Mon Jul 5 2010 Daniel Veillard <veillard@redhat.com> - 0.8.2-1
2261 - phyp: adding support for IVM
2262 - libvirt: introduce domainCreateWithFlags API
2263 - add 802.1Qbh and 802.1Qbg switches handling
2264 - Support for VirtualBox version 3.2
2265 - Init script for handling guests on shutdown/boot
2266 - qemu: live migration with non-shared storage for kvm
2268 * Fri Apr 30 2010 Daniel Veillard <veillard@redhat.com> - 0.8.1-1
2269 - Starts dnsmasq from libvirtd with --dhcp-hostsfile
2270 - Add virDomainGetBlockInfo API to query disk sizing
2271 - a lot of bug fixes and cleanups
2273 * Mon Apr 12 2010 Daniel Veillard <veillard@redhat.com> - 0.8.0-1
2274 - Snapshotting support (QEmu/VBox/ESX)
2275 - Network filtering API
2277 - new APIs for domain events
2278 - Libvirt managed save API
2279 - timer subselection for domain clock
2281 - API to update guest CPU to host CPU
2282 - virDomainUpdateDeviceFlags new API
2283 - migrate max downtime API
2285 - and many bug fixes
2287 * Fri Mar 5 2010 Daniel Veillard <veillard@redhat.com> - 0.7.7-1
2289 - async job handling
2291 - computing baseline CPU
2292 - virDomain{Attach,Detach}DeviceFlags
2293 - assorted bug fixes and lots of cleanups
2295 * Wed Feb 3 2010 Daniel Veillard <veillard@redhat.com> - 0.7.6-1
2297 * Wed Dec 23 2009 Daniel Veillard <veillard@redhat.com> - 0.7.5-1
2298 - Add new API virDomainMemoryStats
2299 - Public API and domain extension for CPU flags
2300 - vbox: Add support for version 3.1
2301 - Support QEMU's virtual FAT block device driver
2304 * Fri Nov 20 2009 Daniel Veillard <veillard@redhat.com> - 0.7.3-1
2305 - udev node device backend
2306 - API to check object properties
2307 - better QEmu monitor processing
2308 - MAC address based port filtering for qemu
2309 - support IPv6 and multiple addresses per interfaces
2312 * Tue Sep 15 2009 Daniel Veillard <veillard@redhat.com> - 0.7.1-1
2313 - ESX, VBox driver updates
2315 - support for encrypted (qcow) volume
2316 - compressed save image format for Qemu/KVM
2317 - QEmu host PCI device hotplug support
2318 - configuration of huge pages in guests
2321 * Wed Aug 5 2009 Daniel Veillard <veillard@redhat.com> - 0.7.0-1
2322 - ESX, VBox3, Power Hypervisor drivers
2323 - new net filesystem glusterfs
2324 - Storage cloning for LVM and Disk backends
2325 - interface implementation based on netcf
2326 - Support cgroups in QEMU driver
2327 - QEmu hotplug NIC support
2330 * Fri Jul 3 2009 Daniel Veillard <veillard@redhat.com> - 0.6.5-1
2333 * Fri May 29 2009 Daniel Veillard <veillard@redhat.com> - 0.6.4-1
2337 * Fri Apr 24 2009 Daniel Veillard <veillard@redhat.com> - 0.6.3-1
2341 * Fri Apr 3 2009 Daniel Veillard <veillard@redhat.com> - 0.6.2-1
2344 * Fri Mar 4 2009 Daniel Veillard <veillard@redhat.com> - 0.6.1-1
2347 * Sat Jan 31 2009 Daniel Veillard <veillard@redhat.com> - 0.6.0-1
2350 * Tue Nov 25 2008 Daniel Veillard <veillard@redhat.com> - 0.5.0-1
2353 * Tue Sep 23 2008 Daniel Veillard <veillard@redhat.com> - 0.4.6-1
2356 * Mon Sep 8 2008 Daniel Veillard <veillard@redhat.com> - 0.4.5-1
2359 * Wed Jun 25 2008 Daniel Veillard <veillard@redhat.com> - 0.4.4-1
2361 - mostly a few bug fixes from 0.4.3
2363 * Thu Jun 12 2008 Daniel Veillard <veillard@redhat.com> - 0.4.3-1
2365 - lots of bug fixes and small improvements
2367 * Tue Apr 8 2008 Daniel Veillard <veillard@redhat.com> - 0.4.2-1
2369 - lots of bug fixes and small improvements
2371 * Mon Mar 3 2008 Daniel Veillard <veillard@redhat.com> - 0.4.1-1
2375 - lots of assorted improvements, bugfixes and cleanups
2376 - documentation and localization improvements
2378 * Tue Dec 18 2007 Daniel Veillard <veillard@redhat.com> - 0.4.0-1
2380 - SASL based authentication
2381 - PolicyKit authentication
2382 - improved NUMA and statistics support
2383 - lots of assorted improvements, bugfixes and cleanups
2384 - documentation and localization improvements
2386 * Sun Sep 30 2007 Daniel Veillard <veillard@redhat.com> - 0.3.3-1
2390 - lots of assorted improvements, bugfixes and cleanups
2391 - documentation and localization improvements
2393 * Tue Aug 21 2007 Daniel Veillard <veillard@redhat.com> - 0.3.2-1
2395 - API for domains migration
2396 - APIs for collecting statistics on disks and interfaces
2397 - lots of assorted bugfixes and cleanups
2398 - documentation and localization improvements
2400 * Tue Jul 24 2007 Daniel Veillard <veillard@redhat.com> - 0.3.1-1
2402 - localtime clock support
2403 - PS/2 and USB input devices
2404 - lots of assorted bugfixes and cleanups
2405 - documentation and localization improvements
2407 * Mon Jul 9 2007 Daniel Veillard <veillard@redhat.com> - 0.3.0-1
2409 - Secure remote access support
2410 - unification of daemons
2411 - lots of assorted bugfixes and cleanups
2412 - documentation and localization improvements
2414 * Fri Jun 8 2007 Daniel Veillard <veillard@redhat.com> - 0.2.3-1
2416 - lot of assorted bugfixes and cleanups
2417 - support for Xen-3.1
2420 * Tue Apr 17 2007 Daniel Veillard <veillard@redhat.com> - 0.2.2-1
2422 - lot of assorted bugfixes and cleanups
2423 - preparing for Xen-3.0.5
2425 * Thu Mar 22 2007 Jeremy Katz <katzj@redhat.com> - 0.2.1-2.fc7
2426 - don't require xen; we don't need the daemon and can control non-xen now
2427 - fix scriptlet error (need to own more directories)
2428 - update description text
2430 * Fri Mar 16 2007 Daniel Veillard <veillard@redhat.com> - 0.2.1-1
2432 - lot of bug and portability fixes
2433 - Add support for network autostart and init scripts
2434 - New API to detect the virtualization capabilities of a host
2435 - Documentation updates
2437 * Fri Feb 23 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-4.fc7
2438 - Fix loading of guest & network configs
2440 * Fri Feb 16 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-3.fc7
2441 - Disable kqemu support since its not in Fedora qemu binary
2442 - Fix for -vnc arg syntax change in 0.9.0 QEMU
2444 * Thu Feb 15 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-2.fc7
2445 - Fixed path to qemu daemon for autostart
2446 - Fixed generation of <features> block in XML
2447 - Pre-create config directory at startup
2449 * Wed Feb 14 2007 Daniel Veillard <veillard@redhat.com> 0.2.0-1.fc7
2450 - support for KVM and QEmu
2451 - support for network configuration
2454 * Mon Jan 22 2007 Daniel Veillard <veillard@redhat.com> 0.1.11-1.fc7
2455 - finish inactive Xen domains support
2457 - RelaxNG schemas for XML configs
2459 * Wed Dec 20 2006 Daniel Veillard <veillard@redhat.com> 0.1.10-1.fc7
2460 - support for inactive Xen domains
2461 - improved support for Xen display and vnc
2463 - localization updates
2465 * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 0.1.9-2
2466 - rebuild against python 2.5
2468 * Wed Nov 29 2006 Daniel Veillard <veillard@redhat.com> 0.1.9-1
2469 - better error reporting
2470 - python bindings fixes and extensions
2471 - add support for shareable drives
2472 - add support for non-bridge style networking
2473 - hot plug device support
2474 - added support for inactive domains
2475 - API to dump core of domains
2476 - various bug fixes, cleanups and improvements
2477 - updated the localization
2479 * Tue Nov 7 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-3
2480 - it's pkgconfig not pgkconfig !
2482 * Mon Nov 6 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-2
2483 - fixing spec file, added %dist, -devel requires pkgconfig and xen-devel
2484 - Resolves: rhbz#202320
2486 * Mon Oct 16 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-1
2487 - fix missing page size detection code for ia64
2488 - fix mlock size when getting domain info list from hypervisor
2489 - vcpu number initialization
2490 - don't label crashed domains as shut off
2491 - fix virsh man page
2492 - blktapdd support for alternate drivers like blktap
2493 - memory leak fixes (xend interface and XML parsing)
2495 - mlock/munlock size fixes
2497 * Fri Sep 22 2006 Daniel Veillard <veillard@redhat.com> 0.1.7-1
2498 - Fix bug when running against xen-3.0.3 hypercalls
2499 - Fix memory bug when getting vcpus info from xend
2501 * Fri Sep 22 2006 Daniel Veillard <veillard@redhat.com> 0.1.6-1
2502 - Support for localization
2503 - Support for new Xen-3.0.3 cdrom and disk configuration
2504 - Support for setting VNC port
2505 - Fix bug when running against xen-3.0.2 hypercalls
2506 - Fix reconnection problem when talking directly to http xend
2508 * Tue Sep 5 2006 Jeremy Katz <katzj@redhat.com> - 0.1.5-3
2509 - patch from danpb to support new-format cd devices for HVM guests
2511 * Tue Sep 5 2006 Daniel Veillard <veillard@redhat.com> 0.1.5-2
2512 - reactivating ia64 support
2514 * Tue Sep 5 2006 Daniel Veillard <veillard@redhat.com> 0.1.5-1
2517 - support for new hypervisor calls
2518 - early code for config files and defined domains
2520 * Mon Sep 4 2006 Daniel Berrange <berrange@redhat.com> - 0.1.4-5
2521 - add patch to address dom0_ops API breakage in Xen 3.0.3 tree
2523 * Mon Aug 28 2006 Jeremy Katz <katzj@redhat.com> - 0.1.4-4
2524 - add patch to support paravirt framebuffer in Xen
2526 * Mon Aug 21 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-3
2527 - another patch to fix network handling in non-HVM guests
2529 * Thu Aug 17 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-2
2530 - patch to fix virParseUUID()
2532 * Wed Aug 16 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-1
2533 - vCPUs and affinity support
2534 - more complete XML, console and boot options
2535 - specific features support
2536 - enforced read-only connections
2537 - various improvements, bug fixes
2539 * Wed Aug 2 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-6
2540 - add patch from pvetere to allow getting uuid from libvirt
2542 * Wed Aug 2 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-5
2545 * Thu Jul 27 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-4
2546 - don't BR xen, we just need xen-devel
2548 * Thu Jul 27 2006 Daniel Veillard <veillard@redhat.com> 0.1.3-3
2549 - need rebuild since libxenstore is now versionned
2551 * Mon Jul 24 2006 Mark McLoughlin <markmc@redhat.com> - 0.1.3-2
2552 - Add BuildRequires: xen-devel
2554 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.1.3-1.1
2557 * Tue Jul 11 2006 Daniel Veillard <veillard@redhat.com> 0.1.3-1
2558 - support for HVM Xen guests
2561 * Mon Jul 3 2006 Daniel Veillard <veillard@redhat.com> 0.1.2-1
2562 - added a proxy mechanism for read only access using httpu
2563 - fixed header includes paths
2565 * Wed Jun 21 2006 Daniel Veillard <veillard@redhat.com> 0.1.1-1
2566 - extend and cleanup the driver infrastructure and code
2568 - extend uuid support
2569 - bug fixes, buffer handling cleanups
2570 - support for new Xen hypervisor API
2571 - test driver for unit testing
2572 - virsh --conect argument
2574 * Mon Apr 10 2006 Daniel Veillard <veillard@redhat.com> 0.1.0-1
2576 - new APIs: for Node information and Reboot
2577 - virsh improvements and extensions
2578 - documentation updates and man page
2579 - enhancement and fixes of the XML description format
2581 * Tue Feb 28 2006 Daniel Veillard <veillard@redhat.com> 0.0.6-1
2582 - added error handling APIs
2584 - improve python bindings
2585 - augment documentation and regression tests
2587 * Thu Feb 23 2006 Daniel Veillard <veillard@redhat.com> 0.0.5-1
2588 - new domain creation API
2589 - new UUID based APIs
2590 - more tests, documentation, devhelp
2593 * Fri Feb 10 2006 Daniel Veillard <veillard@redhat.com> 0.0.4-1
2594 - fixes some problems in 0.0.3 due to the change of names
2596 * Wed Feb 8 2006 Daniel Veillard <veillard@redhat.com> 0.0.3-1
2597 - changed library name to libvirt from libvir, complete and test the python
2600 * Sun Jan 29 2006 Daniel Veillard <veillard@redhat.com> 0.0.2-1
2601 - upstream release of 0.0.2, use xend, save and restore added, python bindings
2604 * Wed Nov 2 2005 Daniel Veillard <veillard@redhat.com> 0.0.1-1