3 # If neither fedora nor rhel was defined, try to guess them from %{dist}
4 %if !0%{?rhel} && !0%{?fedora}
5 %{expand:%(echo "%{?dist}" | \
6 sed -ne 's/^\.el\([0-9]\+\).*/%%define rhel \1/p')}
7 %{expand:%(echo "%{?dist}" | \
8 sed -ne 's/^\.fc\?\([0-9]\+\).*/%%define fedora \1/p')}
11 # Default to skipping autoreconf. Distros can change just this one line
12 # (or provide a command-line override) if they backport any patches that
13 # touch configure.ac or Makefile.am.
14 %{!?enable_autotools:%define enable_autotools 0}
16 # A client only build will create a libvirt.so only containing
17 # the generic RPC driver, and test driver and no libvirtd
18 # Default to a full server + client build
21 # Now turn off server build in certain cases
23 # RHEL-5 builds are client-only for s390, ppc
25 %ifnarch %{ix86} x86_64 ia64
30 # Disable all server side drivers if client only build requested
32 %define server_drivers 0
34 %define server_drivers 1
38 # Now set the defaults for all the important features, independent
39 # of any particular OS
41 # First the daemon itself
42 %define with_libvirtd 0%{!?_without_libvirtd:%{server_drivers}}
43 %define with_avahi 0%{!?_without_avahi:%{server_drivers}}
45 # Then the hypervisor drivers that run in libvirtd
46 %define with_xen 0%{!?_without_xen:%{server_drivers}}
47 %define with_qemu 0%{!?_without_qemu:%{server_drivers}}
48 %define with_lxc 0%{!?_without_lxc:%{server_drivers}}
49 %define with_uml 0%{!?_without_uml:%{server_drivers}}
50 %define with_libxl 0%{!?_without_libxl:%{server_drivers}}
52 %define with_qemu_tcg %{with_qemu}
53 # Change if we ever provide qemu-kvm binaries on non-x86 hosts
54 %ifarch %{ix86} x86_64
55 %define with_qemu_kvm %{with_qemu}
57 %define with_qemu_kvm 0
60 # Then the hypervisor drivers that run outside libvirtd, in libvirt.so
61 %define with_openvz 0%{!?_without_openvz:1}
62 %define with_vbox 0%{!?_without_vbox:1}
63 %define with_vmware 0%{!?_without_vmware:1}
64 %define with_phyp 0%{!?_without_phyp:1}
65 %define with_esx 0%{!?_without_esx:1}
66 %define with_hyperv 0%{!?_without_hyperv:1}
67 %define with_xenapi 0%{!?_without_xenapi:1}
69 # Then the secondary host drivers, which run inside libvirtd
70 %define with_network 0%{!?_without_network:%{server_drivers}}
71 %define with_storage_fs 0%{!?_without_storage_fs:%{server_drivers}}
72 %define with_storage_lvm 0%{!?_without_storage_lvm:%{server_drivers}}
73 %define with_storage_iscsi 0%{!?_without_storage_iscsi:%{server_drivers}}
74 %define with_storage_disk 0%{!?_without_storage_disk:%{server_drivers}}
75 %define with_storage_mpath 0%{!?_without_storage_mpath:%{server_drivers}}
76 %define with_numactl 0%{!?_without_numactl:%{server_drivers}}
77 %define with_selinux 0%{!?_without_selinux:%{server_drivers}}
79 # A few optional bits off by default, we enable later
80 %define with_polkit 0%{!?_without_polkit:0}
81 %define with_capng 0%{!?_without_capng:0}
82 %define with_netcf 0%{!?_without_netcf:0}
83 %define with_udev 0%{!?_without_udev:0}
84 %define with_hal 0%{!?_without_hal:0}
85 %define with_yajl 0%{!?_without_yajl:0}
86 %define with_nwfilter 0%{!?_without_nwfilter:0}
87 %define with_libpcap 0%{!?_without_libpcap:0}
88 %define with_macvtap 0%{!?_without_macvtap:0}
89 %define with_libnl 0%{!?_without_libnl:0}
90 %define with_audit 0%{!?_without_audit:0}
91 %define with_dtrace 0%{!?_without_dtrace:0}
92 %define with_cgconfig 0%{!?_without_cgconfig:0}
93 %define with_sanlock 0%{!?_without_sanlock:0}
94 %define with_systemd 0%{!?_without_systemd:0}
95 %define with_numad 0%{!?_without_numad:0}
97 # Non-server/HV driver defaults which are always enabled
98 %define with_python 0%{!?_without_python:1}
99 %define with_sasl 0%{!?_without_sasl:1}
102 # Finally set the OS / architecture specific special cases
104 # Xen is available only on i386 x86_64 ia64
105 %ifnarch %{ix86} x86_64 ia64
110 # Numactl is not available on s390[x] and ARM
111 %ifarch s390 s390x %{arm}
112 %define with_numactl 0
115 # RHEL doesn't ship OpenVZ, VBox, UML, PowerHypervisor,
116 # VMWare, libxenserver (xenapi), libxenlight (Xen 4.1 and newer),
119 %define with_openvz 0
123 %define with_vmware 0
124 %define with_xenapi 0
126 %define with_hyperv 0
129 # Although earlier Fedora has systemd, libvirt still used sysvinit
130 %if 0%{?fedora} >= 17
131 %define with_systemd 1
134 # RHEL-5 has restricted QEMU to x86_64 only and is too old for LXC
136 %define with_qemu_tcg 0
139 %define with_qemu_kvm 0
144 # RHEL-6 has restricted QEMU to x86_64 only, stopped including Xen
145 # on all archs. Other archs all have LXC available though
147 %define with_qemu_tcg 0
150 %define with_qemu_kvm 0
155 # Fedora doesn't have any QEMU on ppc64 until FC16 - only ppc
156 %if 0%{?fedora} && 0%{?fedora} < 16
162 # Fedora doesn't have new enough Xen for libxl until F16
163 %if 0%{?fedora} && 0%{?fedora} < 16
167 # PolicyKit was introduced in Fedora 8 / RHEL-6 or newer
168 %if 0%{?fedora} >= 8 || 0%{?rhel} >= 6
169 %define with_polkit 0%{!?_without_polkit:1}
172 # libcapng is used to manage capabilities in Fedora 12 / RHEL-6 or newer
173 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
174 %define with_capng 0%{!?_without_capng:1}
177 # netcf is used to manage network interfaces in Fedora 12 / RHEL-6 or newer
178 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
179 %define with_netcf 0%{!?_without_netcf:%{server_drivers}}
182 # udev is used to manage host devices in Fedora 12 / RHEL-6 or newer
183 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
184 %define with_udev 0%{!?_without_udev:%{server_drivers}}
186 %define with_hal 0%{!?_without_hal:%{server_drivers}}
189 # Enable yajl library for JSON mode with QEMU
190 %if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
191 %define with_yajl 0%{!?_without_yajl:%{server_drivers}}
194 # Enable sanlock library for lock management with QEMU
195 # Sanlock is available only on i686 x86_64 for RHEL
196 %if 0%{?fedora} >= 16
197 %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
200 %ifarch %{ix86} x86_64
201 %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
205 # Disable some drivers when building without libvirt daemon.
206 # The logic is the same as in configure.ac
207 %if ! %{with_libvirtd}
208 %define with_network 0
214 %define with_storage_fs 0
215 %define with_storage_lvm 0
216 %define with_storage_iscsi 0
217 %define with_storage_mpath 0
218 %define with_storage_disk 0
221 %if %{with_qemu} || %{with_lxc} || %{with_uml}
222 %define with_nwfilter 0%{!?_without_nwfilter:%{server_drivers}}
223 # Enable libpcap library
224 %define with_libpcap 0%{!?_without_libpcap:%{server_drivers}}
225 %define with_macvtap 0%{!?_without_macvtap:%{server_drivers}}
227 # numad is used to manage the CPU and memory placement dynamically,
228 # it's not available on s390[x] and ARM.
229 %if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
230 %ifnarch s390 s390x %{arm}
231 %define with_numad 0%{!?_without_numad:%{server_drivers}}
240 %if 0%{?fedora} >= 11 || 0%{?rhel} >= 5
241 %define with_audit 0%{!?_without_audit:1}
244 %if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
245 %define with_dtrace 1
248 # Pull in cgroups config system
249 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
250 %if %{with_qemu} || %{with_lxc}
251 %define with_cgconfig 0%{!?_without_cgconfig:1}
255 # Force QEMU to run as non-root
256 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
257 %define qemu_user qemu
258 %define qemu_group qemu
260 %define qemu_user root
261 %define qemu_group root
265 # The RHEL-5 Xen package has some feature backports. This
266 # flag is set to enable use of those special bits on RHEL-5
273 Summary: Library providing a simple virtualization API
276 Release: 1%{?dist}%{?extra_release}
278 Group: Development/Libraries
279 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
280 URL: http://libvirt.org/
282 %if %(echo %{version} | grep -o \\. | wc -l) == 3
283 %define mainturl stable_updates/
285 Source: http://libvirt.org/sources/%{?mainturl}libvirt-%{version}.tar.gz
288 Requires: libvirt-daemon = %{version}-%{release}
290 Requires: libvirt-daemon-config-network = %{version}-%{release}
293 Requires: libvirt-daemon-config-nwfilter = %{version}-%{release}
295 # XXX when we turn on driver modules, we need to add
296 # deps on each driver (Requires: libvirt-daemon-drv-qemu)
298 Requires: libvirt-client = %{version}-%{release}
300 # All build-time requirements. Run-time requirements are
301 # listed against each sub-RPM
302 %if 0%{?enable_autotools}
303 BuildRequires: autoconf
304 BuildRequires: automake
305 BuildRequires: gettext-devel
306 BuildRequires: libtool
308 BuildRequires: python-devel
310 BuildRequires: systemd-units
313 BuildRequires: xen-devel
315 BuildRequires: libxml2-devel
316 BuildRequires: xhtml1-dtds
317 BuildRequires: libxslt
318 BuildRequires: readline-devel
319 BuildRequires: ncurses-devel
320 BuildRequires: gettext
321 BuildRequires: libtasn1-devel
322 BuildRequires: gnutls-devel
323 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
324 # for augparse, optionally used in testing
325 BuildRequires: augeas
328 BuildRequires: hal-devel
331 BuildRequires: libudev-devel >= 145
332 BuildRequires: libpciaccess-devel >= 0.10.9
335 BuildRequires: yajl-devel
338 BuildRequires: sanlock-devel >= 1.8
341 BuildRequires: libpcap-devel
344 BuildRequires: libnl-devel
347 BuildRequires: avahi-devel
350 BuildRequires: libselinux-devel
353 BuildRequires: dnsmasq >= 2.41
354 BuildRequires: iptables
355 BuildRequires: iptables-ipv6
359 BuildRequires: ebtables
361 BuildRequires: module-init-tools
363 BuildRequires: cyrus-sasl-devel
366 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
367 # Only need the binary, not -devel
368 BuildRequires: polkit >= 0.93
370 BuildRequires: PolicyKit-devel >= 0.6
373 %if %{with_storage_fs}
374 # For mount/umount in FS driver
375 BuildRequires: util-linux
379 BuildRequires: /usr/bin/qemu-img
383 BuildRequires: /usr/sbin/qcow-create
386 %if %{with_storage_lvm}
390 %if %{with_storage_iscsi}
392 BuildRequires: iscsi-initiator-utils
394 %if %{with_storage_disk}
396 BuildRequires: parted-devel
398 # Broken RHEL-5 parted RPM is missing a dep
399 BuildRequires: e2fsprogs-devel
402 %if %{with_storage_mpath}
403 # For Multipath support
405 # Broken RHEL-5 packaging has header files in main RPM :-(
406 BuildRequires: device-mapper
408 BuildRequires: device-mapper-devel
412 # For QEMU/LXC numa info
413 BuildRequires: numactl-devel
416 BuildRequires: libcap-ng-devel >= 0.5.0
419 BuildRequires: libssh2-devel
422 %if 0%{?fedora} >= 16 || 0%{?rhel} >= 6
423 BuildRequires: netcf-devel >= 0.1.8
425 BuildRequires: netcf-devel >= 0.1.4
429 %if 0%{?fedora} >= 9 || 0%{?rhel} >= 6
430 BuildRequires: libcurl-devel
432 BuildRequires: curl-devel
436 BuildRequires: libwsman-devel >= 2.2.3
439 BuildRequires: audit-libs-devel
442 # we need /usr/sbin/dtrace
443 BuildRequires: systemtap-sdt-devel
446 %if %{with_storage_fs}
447 # For mount/umount in FS driver
448 BuildRequires: util-linux
449 # For showmount in FS driver (netfs discovery)
450 BuildRequires: nfs-utils
453 # Fedora build root suckage
456 # For storage wiping with different algorithms
464 Libvirt is a C toolkit to interact with the virtualization capabilities
465 of recent versions of Linux (and other OSes). The main package includes
466 the libvirtd server exporting the virtualization support.
469 Summary: API reference and website documentation
470 Group: Development/Libraries
473 Includes the API reference for the libvirt C library, and a complete
474 copy of the libvirt.org website documentation.
478 Summary: Server side daemon and supporting files for libvirt library
479 Group: Development/Libraries
481 # All runtime requirements for the libvirt package (runtime requrements
482 # for subpackages are listed later in those subpackages)
484 # The client side, i.e. shared libs and virsh are in a subpackage
485 Requires: %{name}-client = %{version}-%{release}
487 # for modprobe of pci devices
488 Requires: module-init-tools
489 # for /sbin/ip & /sbin/tc
495 Requires: dnsmasq >= 2.41
498 %if %{with_network} || %{with_nwfilter}
500 Requires: iptables-ipv6
505 # needed for device enumeration
510 Requires: udev >= 145
513 %if 0%{?fedora} >= 12 || 0%{?rhel} >=6
514 Requires: polkit >= 0.93
516 Requires: PolicyKit >= 0.6
519 %if %{with_storage_fs}
522 Requires: util-linux-ng
523 # For pool-build probing for existing pools
524 BuildRequires: libblkid-devel >= 2.17
526 %if 0%{?fedora} >= 11
527 Requires: glusterfs-client >= 2.0.1
532 Requires: /usr/bin/qemu-img
533 # For image compression
541 Requires: /usr/sbin/qcow-create
544 %if %{with_storage_lvm}
548 %if %{with_storage_iscsi}
550 Requires: iscsi-initiator-utils
552 %if %{with_storage_disk}
555 Requires: device-mapper
557 %if %{with_storage_mpath}
558 # For multipath support
559 Requires: device-mapper
564 %ifarch %{ix86} x86_64 ia64
565 # For virConnectGetSysinfo
568 # For service management
570 Requires(post): systemd-units
571 Requires(post): systemd-sysv
572 Requires(preun): systemd-units
573 Requires(postun): systemd-units
580 Server side daemon required to manage the virtualization capabilities
581 of recent versions of Linux. Requires a hypervisor specific sub-RPM
582 for specific drivers.
585 %package daemon-config-network
586 Summary: Default configuration files for the libvirtd daemon
587 Group: Development/Libraries
589 Requires: libvirt-daemon = %{version}-%{release}
591 %description daemon-config-network
592 Default configuration files for setting up NAT based networking
596 %package daemon-config-nwfilter
597 Summary: Network filter configuration files for the libvirtd daemon
598 Group: Development/Libraries
600 Requires: libvirt-daemon = %{version}-%{release}
602 %description daemon-config-nwfilter
603 Network filter configuration files for cleaning guest traffic
606 # XXX when we turn on driver modules, we will need to
607 # create daemon-drv-XXX sub-RPMs and add them as deps
608 # to all of the following daemon-XXX RPMs
612 Summary: Server side daemon & driver required to run QEMU guests
613 Group: Development/Libraries
615 Requires: libvirt-daemon = %{version}-%{release}
618 %description daemon-qemu
619 Server side daemon and driver required to manage the virtualization
620 capabilities of the QEMU TCG emulators
626 Summary: Server side daemon & driver required to run KVM guests
627 Group: Development/Libraries
629 Requires: libvirt-daemon = %{version}-%{release}
632 %description daemon-kvm
633 Server side daemon and driver required to manage the virtualization
634 capabilities of the KVM hypervisor
640 Summary: Server side daemon & driver required to run LXC guests
641 Group: Development/Libraries
643 Requires: libvirt-daemon = %{version}-%{release}
645 %description daemon-lxc
646 Server side daemon and driver required to manage the virtualization
653 Summary: Server side daemon & driver required to run UML guests
654 Group: Development/Libraries
656 Requires: libvirt-daemon = %{version}-%{release}
657 # There are no UML kernel RPMs in Fedora/RHEL to depend on.
659 %description daemon-uml
660 Server side daemon and driver required to manage the virtualization
665 %if %{with_xen} || %{with_libxl}
667 Summary: Server side daemon & driver required to run XEN guests
668 Group: Development/Libraries
670 Requires: libvirt-daemon = %{version}-%{release}
673 %description daemon-xen
674 Server side daemon and driver required to manage the virtualization
680 Summary: Client side library and utilities of the libvirt library
681 Group: Development/Libraries
684 # So remote clients can access libvirt over SSH tunnel
685 # (client invokes 'nc' against the UNIX socket on the server)
687 # Needed by libvirt-guests init script.
689 # Needed by virt-pki-validate script.
690 Requires: gnutls-utils
691 # Needed for probing the power management features of the host.
695 # Not technically required, but makes 'out-of-box' config
696 # work correctly & doesn't have onerous dependencies
697 Requires: cyrus-sasl-md5
701 Shared libraries and client binaries needed to access to the
702 virtualization capabilities of recent versions of Linux (and other OSes).
705 Summary: Libraries, includes, etc. to compile with the libvirt library
706 Group: Development/Libraries
707 Requires: %{name}-client = %{version}-%{release}
708 Requires: %{name}-docs = %{version}-%{release}
712 Include header files & development libraries for the libvirt C library.
715 %package lock-sanlock
716 Summary: Sanlock lock manager plugin for QEMU driver
717 Group: Development/Libraries
718 Requires: sanlock >= 1.8
719 #for virt-sanlock-cleanup require augeas
721 Requires: %{name} = %{version}-%{release}
723 %description lock-sanlock
724 Includes the Sanlock lock manager plugin for the QEMU
730 Summary: Python bindings for the libvirt library
731 Group: Development/Libraries
732 Requires: %{name}-client = %{version}-%{release}
735 The libvirt-python package contains a module that permits applications
736 written in the Python programming language to use the interface
737 supplied by the libvirt library to use the virtualization capabilities
738 of recent versions of Linux (and other OSes).
746 %define _without_xen --without-xen
750 %define _without_qemu --without-qemu
754 %define _without_openvz --without-openvz
758 %define _without_lxc --without-lxc
762 %define _without_vbox --without-vbox
766 %define _without_xenapi --without-xenapi
770 %define _without_libxl --without-libxl
774 %define _without_sasl --without-sasl
778 %define _without_avahi --without-avahi
782 %define _without_phyp --without-phyp
786 %define _without_esx --without-esx
790 %define _without_hyperv --without-hyperv
794 %define _without_vmware --without-vmware
798 %define _without_polkit --without-polkit
802 %define _without_python --without-python
805 %if ! %{with_libvirtd}
806 %define _without_libvirtd --without-libvirtd
810 %define _without_uml --without-uml
814 %define _with_rhel5_api --with-rhel5-api
817 %if ! %{with_network}
818 %define _without_network --without-network
821 %if ! %{with_storage_fs}
822 %define _without_storage_fs --without-storage-fs
825 %if ! %{with_storage_lvm}
826 %define _without_storage_lvm --without-storage-lvm
829 %if ! %{with_storage_iscsi}
830 %define _without_storage_iscsi --without-storage-iscsi
833 %if ! %{with_storage_disk}
834 %define _without_storage_disk --without-storage-disk
837 %if ! %{with_storage_mpath}
838 %define _without_storage_mpath --without-storage-mpath
841 %if ! %{with_numactl}
842 %define _without_numactl --without-numactl
846 %define _without_numad --without-numad
850 %define _without_capng --without-capng
854 %define _without_netcf --without-netcf
857 %if ! %{with_selinux}
858 %define _without_selinux --without-selinux
862 %define _without_hal --without-hal
866 %define _without_udev --without-udev
870 %define _without_yajl --without-yajl
873 %if ! %{with_sanlock}
874 %define _without_sanlock --without-sanlock
877 %if ! %{with_libpcap}
878 %define _without_libpcap --without-libpcap
881 %if ! %{with_macvtap}
882 %define _without_macvtap --without-macvtap
886 %define _without_audit --without-audit
890 %define _without_dtrace --without-dtrace
893 %define when %(date +"%%F-%%T")
894 %define where %(hostname)
895 %define who %{?packager}%{!?packager:Unknown}
896 %define with_packager --with-packager="%{who}, %{when}, %{where}"
897 %define with_packager_version --with-packager-version="%{release}"
900 # We use 'systemd+redhat', so if someone installs upstart or
901 # legacy init scripts, they can still start libvirtd, etc
902 %define init_scripts --with-init_script=systemd+redhat
904 %define init_scripts --with-init_script=redhat
907 %if 0%{?enable_autotools}
910 %configure %{?_without_xen} \
912 %{?_without_openvz} \
916 %{?_without_xenapi} \
919 %{?_without_polkit} \
920 %{?_without_python} \
921 %{?_without_libvirtd} \
925 %{?_without_hyperv} \
926 %{?_without_vmware} \
927 %{?_without_network} \
928 %{?_with_rhel5_api} \
929 %{?_without_storage_fs} \
930 %{?_without_storage_lvm} \
931 %{?_without_storage_iscsi} \
932 %{?_without_storage_disk} \
933 %{?_without_storage_mpath} \
934 %{?_without_numactl} \
941 %{?_without_sanlock} \
942 %{?_without_libpcap} \
943 %{?_without_macvtap} \
945 %{?_without_dtrace} \
947 %{with_packager_version} \
948 --with-qemu-user=%{qemu_user} \
949 --with-qemu-group=%{qemu_group} \
960 %makeinstall SYSTEMD_UNIT_DIR=%{buildroot}%{_unitdir}
961 for i in domain-events/events-c dominfo domsuspend hellolibvirt openauth python xml/nwfilter systemtap
963 (cd examples/$i ; make clean ; rm -rf .deps .libs Makefile Makefile.in)
965 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
966 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
967 rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.la
968 rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a
969 rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/lock-driver/*.la
970 rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/lock-driver/*.a
973 install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/lib/libvirt/dnsmasq/
974 # We don't want to install /etc/libvirt/qemu/networks in the main %files list
975 # because if the admin wants to delete the default network completely, we don't
976 # want to end up re-incarnating it on every RPM upgrade.
977 install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/
978 cp $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml \
979 $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
980 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
981 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
982 # Strip auto-generated UUID - we need it generated per-install
983 sed -i -e "/<uuid>/d" $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
985 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
986 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
989 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_qemu.aug
990 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
995 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_lxc.aug
996 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
1000 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-python-%{version}
1004 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu.conf
1005 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.qemu
1008 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/lxc.conf
1009 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.lxc
1012 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.uml
1015 mv $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-%{version} \
1016 $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-docs-%{version}
1023 # These 3 tests don't current work in a mock build root
1024 for i in nodeinfotest daemon-conf seclabeltest
1027 printf "#!/bin/sh\nexit 0\n" > $i
1032 %if %{with_libvirtd}
1034 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
1035 # Normally 'setup' adds this in /etc/passwd, but this is
1036 # here for case of upgrades from earlier Fedora/RHEL. This
1037 # UID/GID pair is reserved for qemu:qemu
1038 getent group kvm >/dev/null || groupadd -g 36 -r kvm
1039 getent group qemu >/dev/null || groupadd -g 107 -r qemu
1040 getent passwd qemu >/dev/null || \
1041 useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
1048 # All newly defined networks will have a mac address for the bridge
1049 # auto-generated, but networks already existing at the time of upgrade
1050 # will not. We need to go through all the network configs, look for
1051 # those that don't have a mac address, and add one.
1053 network_files=$( (cd %{_localstatedir}/lib/libvirt/network && \
1054 grep -L "mac address" *.xml; \
1055 cd %{_sysconfdir}/libvirt/qemu/networks && \
1056 grep -L "mac address" *.xml) 2>/dev/null \
1059 for file in $network_files
1061 # each file exists in either the config or state directory (or both) and
1062 # does not have a mac address specified in either. We add the same mac
1063 # address to both files (or just one, if the other isn't there)
1065 mac4=`printf '%X' $(($RANDOM % 256))`
1066 mac5=`printf '%X' $(($RANDOM % 256))`
1067 mac6=`printf '%X' $(($RANDOM % 256))`
1068 for dir in %{_localstatedir}/lib/libvirt/network \
1069 %{_sysconfdir}/libvirt/qemu/networks
1071 if test -f $dir/$file
1074 "s|\(<bridge.*$\)|\0\n <mac address='52:54:00:$mac4:$mac5:$mac6'/>|" \
1078 echo "failed to add <mac address='52:54:00:$mac4:$mac5:$mac6'/>" \
1080 mv -f $dir/$file.orig $dir/$file
1082 rm -f $dir/$file.orig
1090 if [ $1 -eq 1 ] ; then
1091 # Initial installation
1092 /bin/systemctl enable libvirtd.service >/dev/null 2>&1 || :
1093 /bin/systemctl enable cgconfig.service >/dev/null 2>&1 || :
1096 %if %{with_cgconfig}
1097 # Starting with Fedora 16, systemd automounts all cgroups, and cgconfig is
1098 # no longer a necessary service.
1099 %if 0%{?rhel} || (0%{?fedora} && 0%{?fedora} < 16)
1100 if [ "$1" -eq "1" ]; then
1101 /sbin/chkconfig cgconfig on
1106 /sbin/chkconfig --add libvirtd
1107 if [ "$1" -ge "1" ]; then
1108 /sbin/service libvirtd condrestart > /dev/null 2>&1
1114 if [ $1 -eq 0 ] ; then
1115 # Package removal, not upgrade
1116 /bin/systemctl --no-reload disable libvirtd.service > /dev/null 2>&1 || :
1117 /bin/systemctl stop libvirtd.service > /dev/null 2>&1 || :
1121 /sbin/service libvirtd stop 1>/dev/null 2>&1
1122 /sbin/chkconfig --del libvirtd
1128 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
1129 if [ $1 -ge 1 ] ; then
1130 # Package upgrade, not uninstall
1131 /bin/systemctl try-restart libvirtd.service >/dev/null 2>&1 || :
1136 %post daemon-config-network
1137 if test $1 -eq 1 && test ! -f %{_sysconfdir}/libvirt/qemu/networks/default.xml ; then
1138 UUID=`/usr/bin/uuidgen`
1139 sed -e "s,</name>,</name>\n <uuid>$UUID</uuid>," \
1140 < %{_datadir}/libvirt/networks/default.xml \
1141 > %{_sysconfdir}/libvirt/qemu/networks/default.xml
1142 ln -s ../default.xml %{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
1147 %if %{with_libvirtd}
1149 %triggerun -- libvirt < 0.9.4
1150 %{_bindir}/systemd-sysv-convert --save libvirtd >/dev/null 2>&1 ||:
1152 # If the package is allowed to autostart:
1153 /bin/systemctl --no-reload enable libvirtd.service >/dev/null 2>&1 ||:
1155 # Run these because the SysV package being removed won't do them
1156 /sbin/chkconfig --del libvirtd >/dev/null 2>&1 || :
1157 /bin/systemctl try-restart libvirtd.service >/dev/null 2>&1 || :
1166 /sbin/chkconfig --del libvirt-guests
1167 rm -f /var/lib/libvirt/libvirt-guests
1176 /sbin/chkconfig --add libvirt-guests
1179 %postun client -p /sbin/ldconfig
1182 %triggerun client -- libvirt < 0.9.4
1183 %{_bindir}/systemd-sysv-convert --save libvirt-guests >/dev/null 2>&1 ||:
1185 # If the package is allowed to autostart:
1186 /bin/systemctl --no-reload enable libvirt-guests.service >/dev/null 2>&1 ||:
1188 # Run these because the SysV package being removed won't do them
1189 /sbin/chkconfig --del libvirt-guests >/dev/null 2>&1 || :
1190 /bin/systemctl try-restart libvirt-guests.service >/dev/null 2>&1 || :
1194 %defattr(-, root, root)
1197 %defattr(-, root, root)
1199 %dir %{_datadir}/doc/libvirt-docs-%{version}
1200 %dir %{_datadir}/doc/libvirt-docs-%{version}/html
1201 %{_datadir}/doc/libvirt-docs-%{version}/html/*
1204 %dir %{_datadir}/gtk-doc/html/libvirt/
1205 %doc %{_datadir}/gtk-doc/html/libvirt/*.devhelp
1206 %doc %{_datadir}/gtk-doc/html/libvirt/*.html
1207 %doc %{_datadir}/gtk-doc/html/libvirt/*.png
1208 %doc %{_datadir}/gtk-doc/html/libvirt/*.css
1210 %if %{with_libvirtd}
1212 %defattr(-, root, root)
1214 %doc AUTHORS ChangeLog.gz NEWS README COPYING.LIB TODO
1215 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/
1218 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/
1219 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/
1220 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/autostart
1223 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/nwfilter/
1225 %{_sysconfdir}/rc.d/init.d/libvirtd
1227 %{_unitdir}/libvirtd.service
1229 %doc daemon/libvirtd.upstart
1230 %config(noreplace) %{_sysconfdir}/sysconfig/libvirtd
1231 %config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf
1232 %if 0%{?fedora} >= 14 || 0%{?rhel} >= 6
1233 %config(noreplace) %{_sysconfdir}/sysctl.d/libvirtd
1235 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/sysctl.d/libvirtd
1237 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/
1238 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/lxc/
1239 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/uml/
1241 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/libxl/
1244 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd
1246 %config(noreplace) %{_sysconfdir}/libvirt/qemu.conf
1247 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.qemu
1250 %config(noreplace) %{_sysconfdir}/libvirt/lxc.conf
1251 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.lxc
1254 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.uml
1257 %dir %{_datadir}/libvirt/
1260 %dir %{_datadir}/libvirt/networks/
1261 %{_datadir}/libvirt/networks/default.xml
1264 %ghost %dir %{_localstatedir}/run/libvirt/
1266 %dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/images/
1267 %dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/filesystems/
1268 %dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/boot/
1269 %dir %attr(0711, root, root) %{_localstatedir}/cache/libvirt/
1272 %ghost %dir %attr(0700, root, root) %{_localstatedir}/run/libvirt/qemu/
1273 %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/
1274 %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/cache/libvirt/qemu/
1277 %ghost %dir %{_localstatedir}/run/libvirt/lxc/
1278 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/lxc/
1281 %ghost %dir %{_localstatedir}/run/libvirt/uml/
1282 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/uml/
1285 %ghost %dir %{_localstatedir}/run/libvirt/libxl/
1286 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/libxl/
1289 %ghost %dir %{_localstatedir}/run/libvirt/network/
1290 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/network/
1291 %dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/dnsmasq/
1295 %{_datadir}/augeas/lenses/libvirtd_qemu.aug
1296 %{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
1300 %{_datadir}/augeas/lenses/libvirtd_lxc.aug
1301 %{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
1304 %{_datadir}/augeas/lenses/libvirtd.aug
1305 %{_datadir}/augeas/lenses/tests/test_libvirtd.aug
1308 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
1309 %{_datadir}/polkit-1/actions/org.libvirt.unix.policy
1311 %{_datadir}/PolicyKit/policy/org.libvirt.unix.policy
1315 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/
1318 %attr(0755, root, root) %{_libexecdir}/libvirt_lxc
1321 %if %{with_storage_disk}
1322 %attr(0755, root, root) %{_libexecdir}/libvirt_parthelper
1325 %attr(0755, root, root) %{_libexecdir}/libvirt_iohelper
1326 %attr(0755, root, root) %{_sbindir}/libvirtd
1328 %{_mandir}/man8/libvirtd.8*
1331 %files daemon-config-network
1332 %defattr(-, root, root)
1335 %if %{with_nwfilter}
1336 %files daemon-config-nwfilter
1337 %defattr(-, root, root)
1338 %{_sysconfdir}/libvirt/nwfilter/*.xml
1341 %if %{with_qemu_tcg}
1343 %defattr(-, root, root)
1346 %if %{with_qemu_kvm}
1348 %defattr(-, root, root)
1353 %defattr(-, root, root)
1358 %defattr(-, root, root)
1361 %if %{with_xen} || %{with_libxl}
1363 %defattr(-, root, root)
1367 #%if %{with_sanlock}
1368 #%files lock-sanlock
1369 #%defattr(-, root, root)
1371 #%config(noreplace) %{_sysconfdir}/libvirt/qemu-sanlock.conf
1373 #%attr(0755, root, root) %{_libdir}/libvirt/lock-driver/sanlock.so
1374 #%{_datadir}/augeas/lenses/libvirt_sanlock.aug
1375 #%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
1376 #%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/sanlock
1377 #%{_sbindir}/virt-sanlock-cleanup
1378 #%{_mandir}/man8/virt-sanlock-cleanup.8*
1381 %files client -f %{name}.lang
1382 %defattr(-, root, root)
1383 %doc AUTHORS ChangeLog.gz NEWS README COPYING.LIB TODO
1385 %config(noreplace) %{_sysconfdir}/libvirt/libvirt.conf
1386 %{_mandir}/man1/virsh.1*
1387 %{_mandir}/man1/virt-xml-validate.1*
1388 %{_mandir}/man1/virt-pki-validate.1*
1389 %{_mandir}/man1/virt-host-validate.1*
1391 %{_bindir}/virt-xml-validate
1392 %{_bindir}/virt-pki-validate
1393 %{_bindir}/virt-host-validate
1394 %{_libdir}/lib*.so.*
1397 %{_datadir}/systemtap/tapset/libvirt_probes.stp
1398 %{_datadir}/systemtap/tapset/libvirt_functions.stp
1401 %dir %{_datadir}/libvirt/
1402 %dir %{_datadir}/libvirt/schemas/
1404 %{_datadir}/libvirt/schemas/basictypes.rng
1405 %{_datadir}/libvirt/schemas/capability.rng
1406 %{_datadir}/libvirt/schemas/domain.rng
1407 %{_datadir}/libvirt/schemas/domaincommon.rng
1408 %{_datadir}/libvirt/schemas/domainsnapshot.rng
1409 %{_datadir}/libvirt/schemas/interface.rng
1410 %{_datadir}/libvirt/schemas/network.rng
1411 %{_datadir}/libvirt/schemas/networkcommon.rng
1412 %{_datadir}/libvirt/schemas/nodedev.rng
1413 %{_datadir}/libvirt/schemas/nwfilter.rng
1414 %{_datadir}/libvirt/schemas/secret.rng
1415 %{_datadir}/libvirt/schemas/storageencryption.rng
1416 %{_datadir}/libvirt/schemas/storagepool.rng
1417 %{_datadir}/libvirt/schemas/storagevol.rng
1419 %{_datadir}/libvirt/cpu_map.xml
1421 %{_sysconfdir}/rc.d/init.d/libvirt-guests
1423 %{_unitdir}/libvirt-guests.service
1425 %config(noreplace) %{_sysconfdir}/sysconfig/libvirt-guests
1426 %dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/
1429 %config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
1433 %defattr(-, root, root)
1436 %dir %{_includedir}/libvirt
1437 %{_includedir}/libvirt/*.h
1438 %{_libdir}/pkgconfig/libvirt.pc
1440 %dir %{_datadir}/libvirt/api/
1441 %{_datadir}/libvirt/api/libvirt-api.xml
1442 %{_datadir}/libvirt/api/libvirt-qemu-api.xml
1444 %doc docs/*.html docs/html docs/*.gif
1445 %doc docs/libvirt-api.xml
1446 %doc examples/hellolibvirt
1447 %doc examples/domain-events/events-c
1448 %doc examples/dominfo
1449 %doc examples/domsuspend
1450 %doc examples/openauth
1452 %doc examples/systemtap
1456 %defattr(-, root, root)
1458 %doc AUTHORS NEWS README COPYING.LIB
1459 %{_libdir}/python*/site-packages/libvirt.py*
1460 %{_libdir}/python*/site-packages/libvirt_qemu.py*
1461 %{_libdir}/python*/site-packages/libvirtmod*
1462 %doc python/tests/*.py
1464 %doc examples/python
1465 %doc examples/domain-events/events-python
1469 * Mon May 14 2012 Daniel Veillard <veillard@redhat.com> - 0.9.12-1
1470 - qemu: allow snapshotting of sheepdog and rbd disks
1471 - blockjob: add new APIs
1472 - a lot of bug fixes, improvements and portability work
1474 * Tue Apr 3 2012 Daniel Veillard <veillard@redhat.com> - 0.9.11-1
1475 - Add support for the suspend event
1476 - Add support for event tray moved of removable disks
1477 - qemu: Support numad
1478 - cpustats: API, improvements and qemu support
1479 - qemu: support type='hostdev' network devices at domain start
1480 - Introduce virDomainPMWakeup API
1481 - network: support Open vSwitch
1482 - a number of snapshot improvements
1483 - many improvements and bug fixes
1485 * Mon Feb 13 2012 Daniel Veillard <veillard@redhat.com> - 0.9.10-1
1486 - Add support for sVirt in the LXC driver
1487 - block rebase: add new API virDomainBlockRebase
1488 - API: Add api to set and get domain metadata
1489 - virDomainGetDiskErrors public API
1490 - conf: add rawio attribute to disk element of domain XML
1491 - Add new public API virDomainGetCPUStats()
1492 - Introduce virDomainPMSuspendForDuration API
1493 - resize: add virStorageVolResize() API
1494 - Add a virt-host-validate command to sanity check HV config
1495 - Add new virDomainShutdownFlags API
1496 - QEMU guest agent support
1497 - many improvements and bug fixes
1499 * Sat Jan 7 2012 Daniel Veillard <veillard@redhat.com> - 0.9.9-1
1500 - Add API virDomain{S,G}etInterfaceParameters
1501 - Add API virDomain{G, S}etNumaParameters
1502 - Add support for ppc64 qemu
1503 - Support Xen domctl v8
1504 - many improvements and bug fixes
1506 * Thu Dec 8 2011 Daniel Veillard <veillard@redhat.com> - 0.9.8-1
1507 - Add support for QEMU 1.0
1508 - Add preliminary PPC cpu driver
1509 - Add new API virDomain{Set, Get}BlockIoTune
1510 - block_resize: Define the new API
1511 - Add a public API to invoke suspend/resume on the host
1512 - various improvements for LXC containers
1513 - Define keepalive protocol and add virConnectIsAlive API
1514 - Add support for STP and VLAN filtering
1515 - many improvements and bug fixes
1517 * Tue Nov 8 2011 Daniel Veillard <veillard@redhat.com> - 0.9.7-1
1518 - esx: support vSphere 5.x
1519 - vbox: support for VirtualBox 4.1
1520 - Introduce the virDomainOpenGraphics API
1521 - Add AHCI support to qemu driver
1522 - snapshot: many improvements and 2 new APIs
1523 - api: Add public api for 'reset'
1524 - many improvements and bug fixes
1526 * Thu Sep 22 2011 Daniel Veillard <veillard@redhat.com> - 0.9.6-1
1527 - Fix the qemu reboot bug and a few others bug fixes
1529 * Tue Sep 20 2011 Daniel Veillard <veillard@redhat.com> - 0.9.5-1
1530 - many snapshot improvements (Eric Blake)
1531 - latency: Define new public API and structure (Osier Yang)
1532 - USB2 and various USB improvements (Marc-André Lureau)
1533 - storage: Add fs pool formatting (Osier Yang)
1534 - Add public API for getting migration speed (Jim Fehlig)
1535 - Add basic driver for Microsoft Hyper-V (Matthias Bolte)
1536 - many improvements and bug fixes
1538 * Wed Aug 3 2011 Daniel Veillard <veillard@redhat.com> - 0.9.4-1
1539 - network bandwidth QoS control
1540 - Add new API virDomainBlockPull*
1541 - save: new API to manipulate save file images
1542 - CPU bandwidth limits support
1543 - allow to send NMI and key event to guests
1544 - new API virDomainUndefineFlags
1545 - Implement code to attach to external QEMU instances
1546 - bios: Add support for SGA
1547 - various missing python binding
1548 - many improvements and bug fixes
1550 * Mon Jul 4 2011 Daniel Veillard <veillard@redhat.com> - 0.9.3-1
1551 - new API virDomainGetVcpupinInfo
1552 - Add TXT record support for virtual DNS service
1553 - Support reboots with the QEMU driver
1554 - New API virDomainGetControlInfo API
1555 - New API virNodeGetMemoryStats
1556 - New API virNodeGetCPUTime
1557 - New API for send-key
1558 - New API virDomainPinVcpuFlags
1559 - support multifunction PCI device
1560 - lxc: various improvements
1561 - many improvements and bug fixes
1563 * Mon Jun 6 2011 Daniel Veillard <veillard@redhat.com> - 0.9.2-1
1564 - Framework for lock manager plugins
1565 - API for network config change transactions
1566 - flags for setting memory parameters
1567 - virDomainGetState public API
1568 - qemu: allow blkstat/blkinfo calls during migration
1569 - Introduce migration v3 API
1570 - Defining the Screenshot public API
1571 - public API for NMI injection
1572 - Various improvements and bug fixes
1574 * Thu May 5 2011 Daniel Veillard <veillard@redhat.com> - 0.9.1-1
1575 - support various persistent domain updates
1576 - improvements on memory APIs
1577 - Add virDomainEventRebootNew
1578 - various improvements to libxl driver
1579 - Spice: support audio, images and stream compression
1580 - Various improvements and bug fixes
1582 * Mon Apr 4 2011 Daniel Veillard <veillard@redhat.com> - 0.9.0-1
1583 - Support cputune cpu usage tuning
1584 - Add public APIs for storage volume upload/download
1585 - Add public API for setting migration speed on the fly
1586 - Add libxenlight driver
1587 - qemu: support migration to fd
1588 - libvirt: add virDomain{Get,Set}BlkioParameters
1589 - setmem: introduce a new libvirt API (virDomainSetMemoryFlags)
1590 - Expose event loop implementation as a public API
1591 - Dump the debug buffer to libvirtd.log on fatal signal
1593 - Various improvements and bug fixes
1595 * Thu Feb 17 2011 Daniel Veillard <veillard@redhat.com> - 0.8.8-1
1596 - expose new API for sysinfo extraction
1597 - cgroup blkio weight support
1598 - smartcard device support
1599 - qemu: Support per-device boot ordering
1600 - Various improvements and bug fixes
1602 * Tue Jan 4 2011 Daniel Veillard <veillard@redhat.com> - 0.8.7-1
1603 - Preliminary support for VirtualBox 4.0
1605 - Add VMware Workstation and Player driver driver
1606 - Add network disk support
1607 - Various improvements and bug fixes
1609 * Tue Nov 30 2010 Daniel Veillard <veillard@redhat.com> - 0.8.6-1
1610 - Add support for iSCSI target auto-discovery
1611 - QED: Basic support for QED images
1612 - remote console support
1613 - support for SPICE graphics
1614 - sysinfo and VMBIOS support
1615 - virsh qemu-monitor-command
1616 - various improvements and bug fixes
1618 * Fri Oct 29 2010 Daniel Veillard <veillard@redhat.com> - 0.8.5-1
1619 - Enable JSON and netdev features in QEMU >= 0.13
1620 - framework for auditing integration
1621 - framework DTrace/SystemTap integration
1622 - Setting the number of vcpu at boot
1623 - Enable support for nested SVM
1624 - Virtio plan9fs filesystem QEMU
1625 - Memory parameter controls
1626 - various improvements and bug fixes
1628 * Fri Sep 10 2010 Daniel Veillard <veillard@redhat.com> - 0.8.4-1
1629 - big improvements to UML driver
1630 - various improvements and bug fixes
1632 * Wed Aug 4 2010 Daniel Veillard <veillard@redhat.com> - 0.8.3-1
1633 - esx: Support vSphere 4.1
1634 - Qemu arbitrary monitor commands
1635 - Qemu Monitor API entry point
1636 - various improvements and bug fixes
1638 * Mon Jul 5 2010 Daniel Veillard <veillard@redhat.com> - 0.8.2-1
1639 - phyp: adding support for IVM
1640 - libvirt: introduce domainCreateWithFlags API
1641 - add 802.1Qbh and 802.1Qbg switches handling
1642 - Support for VirtualBox version 3.2
1643 - Init script for handling guests on shutdown/boot
1644 - qemu: live migration with non-shared storage for kvm
1646 * Fri Apr 30 2010 Daniel Veillard <veillard@redhat.com> - 0.8.1-1
1647 - Starts dnsmasq from libvirtd with --dhcp-hostsfile
1648 - Add virDomainGetBlockInfo API to query disk sizing
1649 - a lot of bug fixes and cleanups
1651 * Mon Apr 12 2010 Daniel Veillard <veillard@redhat.com> - 0.8.0-1
1652 - Snapshotting support (QEmu/VBox/ESX)
1653 - Network filtering API
1655 - new APIs for domain events
1656 - Libvirt managed save API
1657 - timer subselection for domain clock
1659 - API to update guest CPU to host CPU
1660 - virDomainUpdateDeviceFlags new API
1661 - migrate max downtime API
1663 - and many bug fixes
1665 * Fri Mar 5 2010 Daniel Veillard <veillard@redhat.com> - 0.7.7-1
1667 - async job handling
1669 - computing baseline CPU
1670 - virDomain{Attach,Detach}DeviceFlags
1671 - assorted bug fixes and lots of cleanups
1673 * Wed Feb 3 2010 Daniel Veillard <veillard@redhat.com> - 0.7.6-1
1675 * Wed Dec 23 2009 Daniel Veillard <veillard@redhat.com> - 0.7.5-1
1676 - Add new API virDomainMemoryStats
1677 - Public API and domain extension for CPU flags
1678 - vbox: Add support for version 3.1
1679 - Support QEMU's virtual FAT block device driver
1682 * Fri Nov 20 2009 Daniel Veillard <veillard@redhat.com> - 0.7.3-1
1683 - udev node device backend
1684 - API to check object properties
1685 - better QEmu monitor processing
1686 - MAC address based port filtering for qemu
1687 - support IPv6 and multiple addresses per interfaces
1690 * Tue Sep 15 2009 Daniel Veillard <veillard@redhat.com> - 0.7.1-1
1691 - ESX, VBox driver updates
1693 - support for encrypted (qcow) volume
1694 - compressed save image format for Qemu/KVM
1695 - QEmu host PCI device hotplug support
1696 - configuration of huge pages in guests
1699 * Wed Aug 5 2009 Daniel Veillard <veillard@redhat.com> - 0.7.0-1
1700 - ESX, VBox3, Power Hypervisor drivers
1701 - new net filesystem glusterfs
1702 - Storage cloning for LVM and Disk backends
1703 - interface implementation based on netcf
1704 - Support cgroups in QEMU driver
1705 - QEmu hotplug NIC support
1708 * Fri Jul 3 2009 Daniel Veillard <veillard@redhat.com> - 0.6.5-1
1711 * Fri May 29 2009 Daniel Veillard <veillard@redhat.com> - 0.6.4-1
1715 * Fri Apr 24 2009 Daniel Veillard <veillard@redhat.com> - 0.6.3-1
1719 * Fri Apr 3 2009 Daniel Veillard <veillard@redhat.com> - 0.6.2-1
1722 * Fri Mar 4 2009 Daniel Veillard <veillard@redhat.com> - 0.6.1-1
1725 * Sat Jan 31 2009 Daniel Veillard <veillard@redhat.com> - 0.6.0-1
1728 * Tue Nov 25 2008 Daniel Veillard <veillard@redhat.com> - 0.5.0-1
1731 * Tue Sep 23 2008 Daniel Veillard <veillard@redhat.com> - 0.4.6-1
1734 * Mon Sep 8 2008 Daniel Veillard <veillard@redhat.com> - 0.4.5-1
1737 * Wed Jun 25 2008 Daniel Veillard <veillard@redhat.com> - 0.4.4-1
1739 - mostly a few bug fixes from 0.4.3
1741 * Thu Jun 12 2008 Daniel Veillard <veillard@redhat.com> - 0.4.3-1
1743 - lots of bug fixes and small improvements
1745 * Tue Apr 8 2008 Daniel Veillard <veillard@redhat.com> - 0.4.2-1
1747 - lots of bug fixes and small improvements
1749 * Mon Mar 3 2008 Daniel Veillard <veillard@redhat.com> - 0.4.1-1
1753 - lots of assorted improvements, bugfixes and cleanups
1754 - documentation and localization improvements
1756 * Tue Dec 18 2007 Daniel Veillard <veillard@redhat.com> - 0.4.0-1
1758 - SASL based authentication
1759 - PolicyKit authentication
1760 - improved NUMA and statistics support
1761 - lots of assorted improvements, bugfixes and cleanups
1762 - documentation and localization improvements
1764 * Sun Sep 30 2007 Daniel Veillard <veillard@redhat.com> - 0.3.3-1
1768 - lots of assorted improvements, bugfixes and cleanups
1769 - documentation and localization improvements
1771 * Tue Aug 21 2007 Daniel Veillard <veillard@redhat.com> - 0.3.2-1
1773 - API for domains migration
1774 - APIs for collecting statistics on disks and interfaces
1775 - lots of assorted bugfixes and cleanups
1776 - documentation and localization improvements
1778 * Tue Jul 24 2007 Daniel Veillard <veillard@redhat.com> - 0.3.1-1
1780 - localtime clock support
1781 - PS/2 and USB input devices
1782 - lots of assorted bugfixes and cleanups
1783 - documentation and localization improvements
1785 * Mon Jul 9 2007 Daniel Veillard <veillard@redhat.com> - 0.3.0-1
1787 - Secure remote access support
1788 - unification of daemons
1789 - lots of assorted bugfixes and cleanups
1790 - documentation and localization improvements
1792 * Fri Jun 8 2007 Daniel Veillard <veillard@redhat.com> - 0.2.3-1
1794 - lot of assorted bugfixes and cleanups
1795 - support for Xen-3.1
1798 * Tue Apr 17 2007 Daniel Veillard <veillard@redhat.com> - 0.2.2-1
1800 - lot of assorted bugfixes and cleanups
1801 - preparing for Xen-3.0.5
1803 * Thu Mar 22 2007 Jeremy Katz <katzj@redhat.com> - 0.2.1-2.fc7
1804 - don't require xen; we don't need the daemon and can control non-xen now
1805 - fix scriptlet error (need to own more directories)
1806 - update description text
1808 * Fri Mar 16 2007 Daniel Veillard <veillard@redhat.com> - 0.2.1-1
1810 - lot of bug and portability fixes
1811 - Add support for network autostart and init scripts
1812 - New API to detect the virtualization capabilities of a host
1813 - Documentation updates
1815 * Fri Feb 23 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-4.fc7
1816 - Fix loading of guest & network configs
1818 * Fri Feb 16 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-3.fc7
1819 - Disable kqemu support since its not in Fedora qemu binary
1820 - Fix for -vnc arg syntax change in 0.9.0 QEMU
1822 * Thu Feb 15 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-2.fc7
1823 - Fixed path to qemu daemon for autostart
1824 - Fixed generation of <features> block in XML
1825 - Pre-create config directory at startup
1827 * Wed Feb 14 2007 Daniel Veillard <veillard@redhat.com> 0.2.0-1.fc7
1828 - support for KVM and QEmu
1829 - support for network configuration
1832 * Mon Jan 22 2007 Daniel Veillard <veillard@redhat.com> 0.1.11-1.fc7
1833 - finish inactive Xen domains support
1835 - RelaxNG schemas for XML configs
1837 * Wed Dec 20 2006 Daniel Veillard <veillard@redhat.com> 0.1.10-1.fc7
1838 - support for inactive Xen domains
1839 - improved support for Xen display and vnc
1841 - localization updates
1843 * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 0.1.9-2
1844 - rebuild against python 2.5
1846 * Wed Nov 29 2006 Daniel Veillard <veillard@redhat.com> 0.1.9-1
1847 - better error reporting
1848 - python bindings fixes and extensions
1849 - add support for shareable drives
1850 - add support for non-bridge style networking
1851 - hot plug device support
1852 - added support for inactive domains
1853 - API to dump core of domains
1854 - various bug fixes, cleanups and improvements
1855 - updated the localization
1857 * Tue Nov 7 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-3
1858 - it's pkgconfig not pgkconfig !
1860 * Mon Nov 6 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-2
1861 - fixing spec file, added %dist, -devel requires pkgconfig and xen-devel
1862 - Resolves: rhbz#202320
1864 * Mon Oct 16 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-1
1865 - fix missing page size detection code for ia64
1866 - fix mlock size when getting domain info list from hypervisor
1867 - vcpu number initialization
1868 - don't label crashed domains as shut off
1869 - fix virsh man page
1870 - blktapdd support for alternate drivers like blktap
1871 - memory leak fixes (xend interface and XML parsing)
1873 - mlock/munlock size fixes
1875 * Fri Sep 22 2006 Daniel Veillard <veillard@redhat.com> 0.1.7-1
1876 - Fix bug when running against xen-3.0.3 hypercalls
1877 - Fix memory bug when getting vcpus info from xend
1879 * Fri Sep 22 2006 Daniel Veillard <veillard@redhat.com> 0.1.6-1
1880 - Support for localization
1881 - Support for new Xen-3.0.3 cdrom and disk configuration
1882 - Support for setting VNC port
1883 - Fix bug when running against xen-3.0.2 hypercalls
1884 - Fix reconnection problem when talking directly to http xend
1886 * Tue Sep 5 2006 Jeremy Katz <katzj@redhat.com> - 0.1.5-3
1887 - patch from danpb to support new-format cd devices for HVM guests
1889 * Tue Sep 5 2006 Daniel Veillard <veillard@redhat.com> 0.1.5-2
1890 - reactivating ia64 support
1892 * Tue Sep 5 2006 Daniel Veillard <veillard@redhat.com> 0.1.5-1
1895 - support for new hypervisor calls
1896 - early code for config files and defined domains
1898 * Mon Sep 4 2006 Daniel Berrange <berrange@redhat.com> - 0.1.4-5
1899 - add patch to address dom0_ops API breakage in Xen 3.0.3 tree
1901 * Mon Aug 28 2006 Jeremy Katz <katzj@redhat.com> - 0.1.4-4
1902 - add patch to support paravirt framebuffer in Xen
1904 * Mon Aug 21 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-3
1905 - another patch to fix network handling in non-HVM guests
1907 * Thu Aug 17 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-2
1908 - patch to fix virParseUUID()
1910 * Wed Aug 16 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-1
1911 - vCPUs and affinity support
1912 - more complete XML, console and boot options
1913 - specific features support
1914 - enforced read-only connections
1915 - various improvements, bug fixes
1917 * Wed Aug 2 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-6
1918 - add patch from pvetere to allow getting uuid from libvirt
1920 * Wed Aug 2 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-5
1923 * Thu Jul 27 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-4
1924 - don't BR xen, we just need xen-devel
1926 * Thu Jul 27 2006 Daniel Veillard <veillard@redhat.com> 0.1.3-3
1927 - need rebuild since libxenstore is now versionned
1929 * Mon Jul 24 2006 Mark McLoughlin <markmc@redhat.com> - 0.1.3-2
1930 - Add BuildRequires: xen-devel
1932 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.1.3-1.1
1935 * Tue Jul 11 2006 Daniel Veillard <veillard@redhat.com> 0.1.3-1
1936 - support for HVM Xen guests
1939 * Mon Jul 3 2006 Daniel Veillard <veillard@redhat.com> 0.1.2-1
1940 - added a proxy mechanism for read only access using httpu
1941 - fixed header includes paths
1943 * Wed Jun 21 2006 Daniel Veillard <veillard@redhat.com> 0.1.1-1
1944 - extend and cleanup the driver infrastructure and code
1946 - extend uuid support
1947 - bug fixes, buffer handling cleanups
1948 - support for new Xen hypervisor API
1949 - test driver for unit testing
1950 - virsh --conect argument
1952 * Mon Apr 10 2006 Daniel Veillard <veillard@redhat.com> 0.1.0-1
1954 - new APIs: for Node information and Reboot
1955 - virsh improvements and extensions
1956 - documentation updates and man page
1957 - enhancement and fixes of the XML description format
1959 * Tue Feb 28 2006 Daniel Veillard <veillard@redhat.com> 0.0.6-1
1960 - added error handling APIs
1962 - improve python bindings
1963 - augment documentation and regression tests
1965 * Thu Feb 23 2006 Daniel Veillard <veillard@redhat.com> 0.0.5-1
1966 - new domain creation API
1967 - new UUID based APIs
1968 - more tests, documentation, devhelp
1971 * Fri Feb 10 2006 Daniel Veillard <veillard@redhat.com> 0.0.4-1
1972 - fixes some problems in 0.0.3 due to the change of names
1974 * Wed Feb 8 2006 Daniel Veillard <veillard@redhat.com> 0.0.3-1
1975 - changed library name to libvirt from libvir, complete and test the python
1978 * Sun Jan 29 2006 Daniel Veillard <veillard@redhat.com> 0.0.2-1
1979 - upstream release of 0.0.2, use xend, save and restore added, python bindings
1982 * Wed Nov 2 2005 Daniel Veillard <veillard@redhat.com> 0.0.1-1