Upstream release of 0.8.5

- Enable JSON and netdev features in QEMU >= 0.13
- framework for auditing integration
- framework DTrace/SystemTap integration
- Setting the number of vcpu at boot
- Enable support for nested SVM
- Virtio plan9fs filesystem QEMU
- Memory parameter controls
- various improvements and bug fixes
Daniel
This commit is contained in:
Daniel Veillard 2010-10-29 17:57:15 +02:00
parent f713d63bab
commit fca1fccfad
3 changed files with 53 additions and 14 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ i686
x86_64 x86_64
libvirt-*.tar.gz libvirt-*.tar.gz
/libvirt-0.8.4.tar.gz /libvirt-0.8.4.tar.gz
/libvirt-0.8.5.tar.gz

View File

@ -37,6 +37,7 @@
%define with_lxc 0%{!?_without_lxc:%{server_drivers}} %define with_lxc 0%{!?_without_lxc:%{server_drivers}}
%define with_vbox 0%{!?_without_vbox:%{server_drivers}} %define with_vbox 0%{!?_without_vbox:%{server_drivers}}
%define with_uml 0%{!?_without_uml:%{server_drivers}} %define with_uml 0%{!?_without_uml:%{server_drivers}}
%define with_xenapi 0%{!?_without_xenapi:%{server_drivers}}
# XXX this shouldn't be here, but it mistakenly links into libvirtd # XXX this shouldn't be here, but it mistakenly links into libvirtd
%define with_one 0%{!?_without_one:%{server_drivers}} %define with_one 0%{!?_without_one:%{server_drivers}}
@ -65,6 +66,8 @@
%define with_libpcap 0%{!?_without_libpcap:0} %define with_libpcap 0%{!?_without_libpcap:0}
%define with_macvtap 0%{!?_without_macvtap:0} %define with_macvtap 0%{!?_without_macvtap:0}
%define with_libnl 0%{!?_without_libnl:0} %define with_libnl 0%{!?_without_libnl:0}
%define with_audit 0%{!?_without_audit:0}
%define with_dtrace 0%{!?_without_dtrace:0}
# Non-server/HV driver defaults which are always enabled # Non-server/HV driver defaults which are always enabled
%define with_python 0%{!?_without_python:1} %define with_python 0%{!?_without_python:1}
@ -83,7 +86,8 @@
%define with_numactl 0 %define with_numactl 0
%endif %endif
# RHEL doesn't ship OpenVZ, VBox, UML, OpenNebula, PowerHypervisor or ESX # RHEL doesn't ship OpenVZ, VBox, UML, OpenNebula, PowerHypervisor, ESX,
# or libxenserver (xenapi)
%if 0%{?rhel} %if 0%{?rhel}
%define with_openvz 0 %define with_openvz 0
%define with_vbox 0 %define with_vbox 0
@ -91,6 +95,7 @@
%define with_one 0 %define with_one 0
%define with_phyp 0 %define with_phyp 0
%define with_esx 0 %define with_esx 0
%define with_xenapi 0
%endif %endif
# RHEL-5 has restricted QEMU to x86_64 only and is too old for LXC # RHEL-5 has restricted QEMU to x86_64 only and is too old for LXC
@ -162,6 +167,14 @@
%define with_libnl 1 %define with_libnl 1
%endif %endif
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 5
%define with_audit 0%{!?_without_audit:1}
%endif
%if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
%define with_dtrace 1
%endif
# Force QEMU to run as non-root # Force QEMU to run as non-root
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
%define qemu_user qemu %define qemu_user qemu
@ -183,8 +196,8 @@
Summary: Library providing a simple API virtualization Summary: Library providing a simple API virtualization
Name: libvirt Name: libvirt
Version: 0.8.4 Version: 0.8.5
Release: 3%{?dist}%{?extra_release} Release: 1%{?dist}%{?extra_release}
License: LGPLv2+ License: LGPLv2+
Group: Development/Libraries Group: Development/Libraries
Source: http://libvirt.org/sources/libvirt-%{version}.tar.gz Source: http://libvirt.org/sources/libvirt-%{version}.tar.gz
@ -367,6 +380,9 @@ BuildRequires: netcf-devel >= 0.1.4
%if %{with_esx} %if %{with_esx}
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
%endif %endif
%if %{with_audit}
BuildRequires: audit-libs-devel
%endif
# Fedora build root suckage # Fedora build root suckage
BuildRequires: gawk BuildRequires: gawk
@ -445,6 +461,10 @@ of recent versions of Linux (and other OSes).
%define _without_vbox --without-vbox %define _without_vbox --without-vbox
%endif %endif
%if ! %{with_xenapi}
%define _without_xenapi --without-xenapi
%endif
%if ! %{with_sasl} %if ! %{with_sasl}
%define _without_sasl --without-sasl %define _without_sasl --without-sasl
%endif %endif
@ -545,11 +565,20 @@ of recent versions of Linux (and other OSes).
%define _without_macvtap --without-macvtap %define _without_macvtap --without-macvtap
%endif %endif
%if ! %{with_audit}
%define _without_audit --without-audit
%endif
%if ! %{with_dtrace}
%define _without_dtrace --without-dtrace
%endif
%configure %{?_without_xen} \ %configure %{?_without_xen} \
%{?_without_qemu} \ %{?_without_qemu} \
%{?_without_openvz} \ %{?_without_openvz} \
%{?_without_lxc} \ %{?_without_lxc} \
%{?_without_vbox} \ %{?_without_vbox} \
%{?_without_xenapi} \
%{?_without_sasl} \ %{?_without_sasl} \
%{?_without_avahi} \ %{?_without_avahi} \
%{?_without_polkit} \ %{?_without_polkit} \
@ -575,6 +604,8 @@ of recent versions of Linux (and other OSes).
%{?_without_yajl} \ %{?_without_yajl} \
%{?_without_libpcap} \ %{?_without_libpcap} \
%{?_without_macvtap} \ %{?_without_macvtap} \
%{?_without_audit} \
%{?_without_dtrace} \
--with-qemu-user=%{qemu_user} \ --with-qemu-user=%{qemu_user} \
--with-qemu-group=%{qemu_group} \ --with-qemu-group=%{qemu_group} \
--with-init-script=redhat \ --with-init-script=redhat \
@ -586,7 +617,7 @@ gzip -9 ChangeLog
rm -fr %{buildroot} rm -fr %{buildroot}
%makeinstall %makeinstall
for i in domain-events/events-c dominfo domsuspend hellolibvirt openauth python xml/nwfilter for i in domain-events/events-c dominfo domsuspend hellolibvirt openauth python xml/nwfilter systemtap
do do
(cd examples/$i ; make clean ; rm -rf .deps .libs Makefile Makefile.in) (cd examples/$i ; make clean ; rm -rf .deps .libs Makefile Makefile.in)
done done
@ -658,13 +689,6 @@ do
printf "#!/bin/sh\nexit 0\n" > $i printf "#!/bin/sh\nexit 0\n" > $i
chmod +x $i chmod +x $i
done done
# Temp hack till we figure out why its broken on ppc and s390(x)
# a big endian issue?
%ifarch ppc s390 s390x
rm -f nwfilterxml2xmltest
printf "#!/bin/sh\nexit 0\n" > nwfilterxml2xmltest
chmod +x nwfilterxml2xmltest
%endif
make check make check
%pre %pre
@ -749,6 +773,9 @@ fi
%{_sysconfdir}/rc.d/init.d/libvirtd %{_sysconfdir}/rc.d/init.d/libvirtd
%config(noreplace) %{_sysconfdir}/sysconfig/libvirtd %config(noreplace) %{_sysconfdir}/sysconfig/libvirtd
%config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf %config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf
%if %{with_dtrace}
%{_datadir}/systemtap/tapsets/libvirtd.stp
%endif
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/ %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/lxc/ %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/lxc/
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/uml/ %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/uml/
@ -781,8 +808,8 @@ fi
%if %{with_qemu} %if %{with_qemu}
%dir %attr(0700, root, root) %{_localstatedir}/run/libvirt/qemu/ %dir %attr(0700, root, root) %{_localstatedir}/run/libvirt/qemu/
%dir %attr(0700, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/ %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/
%dir %attr(0700, %{qemu_user}, %{qemu_group}) %{_localstatedir}/cache/libvirt/qemu/ %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/cache/libvirt/qemu/
%endif %endif
%if %{with_lxc} %if %{with_lxc}
%dir %{_localstatedir}/run/libvirt/lxc/ %dir %{_localstatedir}/run/libvirt/lxc/
@ -895,6 +922,7 @@ fi
%doc examples/domsuspend %doc examples/domsuspend
%doc examples/openauth %doc examples/openauth
%doc examples/xml %doc examples/xml
%doc examples/systemtap
%if %{with_python} %if %{with_python}
%files python %files python
@ -910,6 +938,16 @@ fi
%endif %endif
%changelog %changelog
* Fri Oct 29 2010 Daniel Veillard <veillard@redhat.com> - 0.8.5-1
- Enable JSON and netdev features in QEMU >= 0.13
- framework for auditing integration
- framework DTrace/SystemTap integration
- Setting the number of vcpu at boot
- Enable support for nested SVM
- Virtio plan9fs filesystem QEMU
- Memory parameter controls
- various improvements and bug fixes
* Wed Sep 29 2010 jkeating - 0.8.4-3 * Wed Sep 29 2010 jkeating - 0.8.4-3
- Rebuilt for gcc bug 634757 - Rebuilt for gcc bug 634757

View File

@ -1 +1 @@
a9300a068a07bcd72f86e4967d7f4d69 libvirt-0.8.4.tar.gz 92a96b3e534209a6103fa7a4bee9fbc1 libvirt-0.8.5.tar.gz