render / rpms / libvirt

Forked from rpms/libvirt 4 months ago
Clone
Daniel Veillard 5c1d88
# -*- rpm-spec -*-
Daniel Veillard 5c1d88
Daniel Veillard ed6c49
# If neither fedora nor rhel was defined, try to guess them from %{dist}
Daniel Veillard ed6c49
%if !0%{?rhel} && !0%{?fedora}
Daniel Veillard ed6c49
%{expand:%(echo "%{?dist}" | \
Daniel Veillard ed6c49
  sed -ne 's/^\.el\([0-9]\+\).*/%%define rhel \1/p')}
Daniel Veillard ed6c49
%{expand:%(echo "%{?dist}" | \
Daniel Veillard ed6c49
  sed -ne 's/^\.fc\?\([0-9]\+\).*/%%define fedora \1/p')}
Daniel Veillard ed6c49
%endif
Daniel Veillard ed6c49
Daniel P. Berrange f99eeb
# Default to skipping autoreconf.  Distros can change just this one line
Daniel P. Berrange f99eeb
# (or provide a command-line override) if they backport any patches that
Daniel P. Berrange f99eeb
# touch configure.ac or Makefile.am.
Daniel Veillard 4e460d
%{!?enable_autotools:%define enable_autotools 0}
Daniel P. Berrange f99eeb
Daniel Veillard 3cf75c
# A client only build will create a libvirt.so only containing
Daniel Veillard 3cf75c
# the generic RPC driver, and test driver and no libvirtd
Daniel Veillard 3cf75c
# Default to a full server + client build
Daniel Veillard 3cf75c
%define client_only        0
Daniel Veillard 3cf75c
Daniel Veillard 3cf75c
# Now turn off server build in certain cases
Daniel Veillard 3cf75c
Daniel Veillard 3cf75c
# RHEL-5 builds are client-only for s390, ppc
Daniel Veillard 3cf75c
%if 0%{?rhel} == 5
Peter Robinson 79ae80
%ifnarch %{ix86} x86_64 ia64
Daniel Veillard 3cf75c
%define client_only        1
Daniel Veillard 3cf75c
%endif
Daniel Veillard 3cf75c
%endif
Daniel Veillard 3cf75c
Daniel Veillard 3cf75c
# Disable all server side drivers if client only build requested
Daniel Veillard 3cf75c
%if %{client_only}
Daniel Veillard 3cf75c
%define server_drivers     0
Daniel Veillard 3cf75c
%else
Daniel Veillard 3cf75c
%define server_drivers     1
Daniel Veillard 3cf75c
%endif
Daniel Veillard 3cf75c
Daniel Veillard 3cf75c
Mark McLoughlin 86abd5
# Now set the defaults for all the important features, independent
Daniel Veillard 3cf75c
# of any particular OS
Daniel Veillard 3cf75c
Daniel Veillard 3cf75c
# First the daemon itself
Daniel Veillard 3cf75c
%define with_libvirtd      0%{!?_without_libvirtd:%{server_drivers}}
Daniel Veillard 3cf75c
%define with_avahi         0%{!?_without_avahi:%{server_drivers}}
Daniel Veillard 3cf75c
Mark McLoughlin 86abd5
# Then the hypervisor drivers that run on local host
Daniel Veillard 3cf75c
%define with_xen           0%{!?_without_xen:%{server_drivers}}
Daniel Veillard 3cf75c
%define with_qemu          0%{!?_without_qemu:%{server_drivers}}
Daniel Veillard 3cf75c
%define with_openvz        0%{!?_without_openvz:%{server_drivers}}
Daniel Veillard 3cf75c
%define with_lxc           0%{!?_without_lxc:%{server_drivers}}
Daniel Veillard 3cf75c
%define with_vbox          0%{!?_without_vbox:%{server_drivers}}
Daniel Veillard 3cf75c
%define with_uml           0%{!?_without_uml:%{server_drivers}}
Daniel Veillard ed6c49
%define with_libxl         0%{!?_without_libxl:%{server_drivers}}
Daniel Veillard d7b412
%define with_vmware        0%{!?_without_vmware:%{server_drivers}}
Mark McLoughlin 86abd5
Daniel P. Berrange 8c8aca
# Then the hypervisor drivers that talk via a native remote protocol
Mark McLoughlin 86abd5
%define with_phyp          0%{!?_without_phyp:1}
Mark McLoughlin 86abd5
%define with_esx           0%{!?_without_esx:1}
Daniel Veillard a6831c
%define with_hyperv        0%{!?_without_hyperv:1}
Daniel Veillard d7b412
%define with_xenapi        0%{!?_without_xenapi:1}
Daniel Veillard 3cf75c
Daniel Veillard 3cf75c
# Then the secondary host drivers
Daniel Veillard 3cf75c
%define with_network       0%{!?_without_network:%{server_drivers}}
Daniel Veillard 3cf75c
%define with_storage_fs    0%{!?_without_storage_fs:%{server_drivers}}
Daniel Veillard 3cf75c
%define with_storage_lvm   0%{!?_without_storage_lvm:%{server_drivers}}
Daniel Veillard 3cf75c
%define with_storage_iscsi 0%{!?_without_storage_iscsi:%{server_drivers}}
Daniel Veillard 3cf75c
%define with_storage_disk  0%{!?_without_storage_disk:%{server_drivers}}
Daniel Veillard 3cf75c
%define with_storage_mpath 0%{!?_without_storage_mpath:%{server_drivers}}
Daniel Veillard 3cf75c
%define with_numactl       0%{!?_without_numactl:%{server_drivers}}
Daniel Veillard 3cf75c
%define with_selinux       0%{!?_without_selinux:%{server_drivers}}
Daniel Veillard 3cf75c
Daniel Veillard 3cf75c
# A few optional bits off by default, we enable later
Mark McLoughlin 2e7812
%define with_polkit        0%{!?_without_polkit:0}
Daniel Veillard bae7a0
%define with_capng         0%{!?_without_capng:0}
Mark McLoughlin 2e7812
%define with_netcf         0%{!?_without_netcf:0}
Daniel Veillard ee0273
%define with_udev          0%{!?_without_udev:0}
Daniel Veillard ee0273
%define with_hal           0%{!?_without_hal:0}
Daniel Veillard 4717aa
%define with_yajl          0%{!?_without_yajl:0}
Daniel Veillard 7e9981
%define with_nwfilter      0%{!?_without_nwfilter:0}
Daniel Veillard 36cab8
%define with_libpcap       0%{!?_without_libpcap:0}
Daniel Veillard 7e9981
%define with_macvtap       0%{!?_without_macvtap:0}
Daniel Veillard 742b24
%define with_libnl         0%{!?_without_libnl:0}
Daniel Veillard fca1fc
%define with_audit         0%{!?_without_audit:0}
Daniel Veillard fca1fc
%define with_dtrace        0%{!?_without_dtrace:0}
Daniel Veillard ed9e42
%define with_cgconfig      0%{!?_without_cgconfig:0}
Daniel Veillard e79d30
%define with_sanlock       0%{!?_without_sanlock:0}
Daniel Veillard 7069f7
%define with_systemd       0%{!?_without_systemd:0}
Daniel P. Berrange 24e912
%define with_numad         0%{!?_without_numad:0}
Mark McLoughlin 2e7812
Daniel Veillard 3cf75c
# Non-server/HV driver defaults which are always enabled
Daniel Veillard 3cf75c
%define with_python        0%{!?_without_python:1}
Daniel Veillard 3cf75c
%define with_sasl          0%{!?_without_sasl:1}
Daniel Veillard 3cf75c
Daniel Veillard 3cf75c
Daniel Veillard 3cf75c
# Finally set the OS / architecture specific special cases
Daniel Veillard 3cf75c
Mark McLoughlin 67a2f2
# Xen is available only on i386 x86_64 ia64
Peter Robinson 79ae80
%ifnarch %{ix86} x86_64 ia64
Mark McLoughlin 67a2f2
%define with_xen 0
Dan HorĂ¡k daf8e1
%define with_libxl 0
Mark McLoughlin 67a2f2
%endif
Mark McLoughlin 67a2f2
Peter Robinson 459eb4
# Numactl is not available on s390[x] and ARM
Peter Robinson 459eb4
%ifarch s390 s390x %{arm}
Daniel P. Berrange e29f71
%define with_numactl 0
Daniel P. Berrange e29f71
%endif
Daniel Veillard 3cf75c
Daniel Veillard ed6c49
# RHEL doesn't ship OpenVZ, VBox, UML, PowerHypervisor,
Laine Stump 38c4b7
# VMWare, libxenserver (xenapi), libxenlight (Xen 4.1 and newer),
Laine Stump 38c4b7
# or HyperV.
Daniel Veillard 3cf75c
%if 0%{?rhel}
Daniel Veillard 3cf75c
%define with_openvz 0
Daniel Veillard 3cf75c
%define with_vbox 0
Daniel Veillard 3cf75c
%define with_uml 0
Daniel Veillard 3cf75c
%define with_phyp 0
Daniel Veillard ed9e42
%define with_vmware 0
Daniel Veillard fca1fc
%define with_xenapi 0
Daniel Veillard ed6c49
%define with_libxl 0
Laine Stump 38c4b7
%define with_hyperv 0
Daniel Veillard 3cf75c
%endif
Daniel Veillard 3cf75c
Daniel Veillard 7069f7
# Although earlier Fedora has systemd, libvirt still used sysvinit
Daniel Veillard 7069f7
%if 0%{?fedora} >= 17
Daniel Veillard 7069f7
%define with_systemd 1
Daniel Veillard 7069f7
%endif
Daniel Veillard 7069f7
Daniel Veillard 3cf75c
# RHEL-5 has restricted QEMU to x86_64 only and is too old for LXC
Daniel Veillard 3cf75c
%if 0%{?rhel} == 5
Daniel Veillard 3cf75c
%ifnarch x86_64
Daniel Veillard 3cf75c
%define with_qemu 0
Daniel Veillard 3cf75c
%endif
Daniel Veillard 3cf75c
%define with_lxc 0
Daniel Veillard 3cf75c
%endif
Daniel Veillard 3cf75c
Daniel Veillard 3cf75c
# RHEL-6 has restricted QEMU to x86_64 only, stopped including Xen
Daniel Veillard 3cf75c
# on all archs. Other archs all have LXC available though
Daniel Veillard 3cf75c
%if 0%{?rhel} >= 6
Daniel Veillard 3cf75c
%ifnarch x86_64
Daniel Veillard 3cf75c
%define with_qemu 0
Daniel Veillard 3cf75c
%endif
Daniel Veillard 3cf75c
%define with_xen 0
Daniel Veillard 3cf75c
%endif
Mark McLoughlin 86abd5
Daniel P. Berrange 15dec9
# Fedora doesn't have any QEMU on ppc64 until FC16 - only ppc
Daniel P. Berrange 15dec9
%if 0%{?fedora} && 0%{?fedora} < 16
Daniel Veillard 2b9efc
%ifarch ppc64
Daniel Veillard 2b9efc
%define with_qemu 0
Daniel Veillard 2b9efc
%endif
Mark McLoughlin 67a2f2
%endif
Mark McLoughlin 67a2f2
Daniel Veillard ed6c49
# Fedora doesn't have new enough Xen for libxl until F16
Daniel Veillard 4e460d
%if 0%{?fedora} && 0%{?fedora} < 16
Daniel Veillard ed6c49
%define with_libxl 0
Daniel Veillard ed6c49
%endif
Daniel Veillard ed6c49
Daniel Veillard ed9e42
# PolicyKit was introduced in Fedora 8 / RHEL-6 or newer
Daniel Veillard 3cf75c
%if 0%{?fedora} >= 8 || 0%{?rhel} >= 6
Daniel Veillard f294b4
%define with_polkit    0%{!?_without_polkit:1}
Daniel Veillard bf744f
%endif
Daniel Veillard bf744f
Daniel Veillard 3cf75c
# libcapng is used to manage capabilities in Fedora 12 / RHEL-6 or newer
Daniel Veillard 3cf75c
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
Daniel Veillard bae7a0
%define with_capng     0%{!?_without_capng:1}
Daniel Veillard bae7a0
%endif
Daniel Veillard bae7a0
Daniel Veillard 3cf75c
# netcf is used to manage network interfaces in Fedora 12 / RHEL-6 or newer
Daniel Veillard 3cf75c
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
Daniel Veillard 3cf75c
%define with_netcf     0%{!?_without_netcf:%{server_drivers}}
Mark McLoughlin 635912
%endif
Mark McLoughlin 635912
Daniel Veillard ee0273
# udev is used to manage host devices in Fedora 12 / RHEL-6 or newer
Daniel Veillard ee0273
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
Daniel Veillard ee0273
%define with_udev     0%{!?_without_udev:%{server_drivers}}
Daniel Veillard ee0273
%else
Daniel Veillard ee0273
%define with_hal       0%{!?_without_hal:%{server_drivers}}
Daniel Veillard ee0273
%endif
Daniel Veillard ee0273
Daniel Veillard 4717aa
# Enable yajl library for JSON mode with QEMU
Daniel Veillard 4717aa
%if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
Daniel Veillard 4717aa
%define with_yajl     0%{!?_without_yajl:%{server_drivers}}
Daniel Veillard 4717aa
%endif
Daniel Veillard 4717aa
Daniel Veillard e79d30
# Enable sanlock library for lock management with QEMU
Daniel Veillard 7069f7
# Sanlock is available only on i686 x86_64 for RHEL
Daniel Veillard 7069f7
%if 0%{?fedora} >= 16
Daniel Veillard 7069f7
%define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
Daniel Veillard 7069f7
%endif
Daniel Veillard 7069f7
%if 0%{?rhel} >= 6
Peter Robinson 79ae80
%ifarch %{ix86} x86_64
Daniel Veillard 7069f7
%define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
Daniel Veillard 7069f7
%endif
Daniel Veillard e79d30
%endif
Daniel Veillard e79d30
Daniel Veillard c363c7
# Disable some drivers when building without libvirt daemon.
Daniel Veillard c363c7
# The logic is the same as in configure.ac
Daniel Veillard c363c7
%if ! %{with_libvirtd}
Daniel Veillard c363c7
%define with_network 0
Daniel Veillard c363c7
%define with_qemu 0
Daniel Veillard c363c7
%define with_lxc 0
Daniel Veillard c363c7
%define with_uml 0
Daniel Veillard c363c7
%define with_hal 0
Daniel Veillard c363c7
%define with_udev 0
Daniel Veillard c363c7
%define with_storage_fs 0
Daniel Veillard c363c7
%define with_storage_lvm 0
Daniel Veillard c363c7
%define with_storage_iscsi 0
Daniel Veillard c363c7
%define with_storage_mpath 0
Daniel Veillard c363c7
%define with_storage_disk 0
Daniel Veillard c363c7
%endif
Daniel Veillard c363c7
Daniel P. Berrange 37ddbd
%if %{with_qemu}
Daniel P. Berrange 6253f9
%define with_nwfilter 0%{!?_without_nwfilter:%{server_drivers}}
Daniel P. Berrange 24e912
# Enable libpcap library
Daniel P. Berrange 6253f9
%define with_libpcap  0%{!?_without_libpcap:%{server_drivers}}
Daniel Veillard 7e9981
%define with_macvtap  0%{!?_without_macvtap:%{server_drivers}}
Daniel P. Berrange 24e912
Daniel P. Berrange 24e912
# numad is used to manage the CPU placement dynamically,
Daniel P. Berrange 24e912
# it's not available on s390[x] and ARM.
Daniel P. Berrange 24e912
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
Daniel P. Berrange 24e912
%ifnarch s390 s390x %{arm}
Daniel P. Berrange 24e912
%define with_numad    0%{!?_without_numad:%{server_drivers}}
Daniel P. Berrange 24e912
%endif
Daniel P. Berrange 24e912
%endif
Daniel Veillard 7e9981
%endif
Daniel Veillard 7e9981
Daniel Veillard 7e9981
%if %{with_macvtap}
Daniel Veillard 7e9981
%define with_libnl 1
Daniel Veillard 36cab8
%endif
Daniel Veillard 36cab8
Daniel Veillard fca1fc
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 5
Daniel Veillard fca1fc
%define with_audit    0%{!?_without_audit:1}
Daniel Veillard fca1fc
%endif
Daniel Veillard fca1fc
Daniel Veillard fca1fc
%if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
Daniel Veillard fca1fc
%define with_dtrace 1
Daniel Veillard fca1fc
%endif
Daniel Veillard fca1fc
Daniel Veillard ed9e42
# Pull in cgroups config system
Daniel Veillard ed9e42
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
Daniel Veillard ed9e42
%if %{with_qemu} || %{with_lxc}
Daniel Veillard ed9e42
%define with_cgconfig 0%{!?_without_cgconfig:1}
Daniel Veillard ed9e42
%endif
Daniel Veillard 659feb
%endif
Daniel Veillard 659feb
Daniel Veillard 3cf75c
# Force QEMU to run as non-root
Daniel Veillard 3cf75c
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
Daniel Veillard a3e1cc
%define qemu_user  qemu
Daniel Veillard a3e1cc
%define qemu_group  qemu
Daniel Veillard a3e1cc
%else
Daniel Veillard a3e1cc
%define qemu_user  root
Daniel Veillard a3e1cc
%define qemu_group  root
Daniel Veillard a3e1cc
%endif
Daniel Veillard a3e1cc
Daniel Veillard 3cf75c
Daniel Veillard 3cf75c
# The RHEL-5 Xen package has some feature backports. This
Daniel Veillard 3cf75c
# flag is set to enable use of those special bits on RHEL-5
Daniel Veillard 3cf75c
%if 0%{?rhel} == 5
Daniel Veillard bae7a0
%define with_rhel5  1
Daniel Veillard 3cf75c
%else
Daniel Veillard 3cf75c
%define with_rhel5  0
Daniel Veillard 958f1c
%endif
Daniel Veillard 958f1c
Daniel Veillard ed9e42
Summary: Library providing a simple virtualization API
Daniel Veillard e2b90f
Name: libvirt
Daniel P. Berrange e31df5
Version: 0.9.11
Daniel P. Berrange e31df5
Release: 1%{?dist}%{?extra_release}
Tom Callaway af1116
License: LGPLv2+
Daniel Veillard e2b90f
Group: Development/Libraries
Daniel P. Berrange f19e30
Source: http://libvirt.org/sources/libvirt-%{version}.tar.gz
Daniel Veillard 072c9c
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Daniel Veillard 5c1d88
URL: http://libvirt.org/
Daniel Veillard ed6c49
Daniel P. Berrange 6253f9
# All runtime requirements for the libvirt package (runtime requrements
Daniel P. Berrange 6253f9
# for subpackages are listed later in those subpackages)
Daniel P. Berrange 6253f9
Daniel P. Berrange 6253f9
# The client side, i.e. shared libs and virsh are in a subpackage
Daniel P. Berrange 6253f9
Requires: %{name}-client = %{version}-%{release}
Daniel P. Berrange 6253f9
Daniel P. Berrange 6253f9
# Used by many of the drivers, so turn it on whenever the
Daniel P. Berrange 6253f9
# daemon is present
Daniel Veillard 3cf75c
%if %{with_libvirtd}
Daniel P. Berrange 6253f9
# for modprobe of pci devices
Daniel P. Berrange 6253f9
Requires: module-init-tools
Daniel P. Berrange 6253f9
# for /sbin/ip & /sbin/tc
Daniel P. Berrange 6253f9
Requires: iproute
Daniel P. Berrange 6253f9
%if %{with_avahi}
Daniel P. Berrange 6253f9
Requires: avahi-libs
Daniel P. Berrange 6253f9
%endif
Daniel P. Berrange 6253f9
%endif
Daniel Veillard 3cf75c
%if %{with_network}
Daniel P. Berrange 6253f9
Requires: dnsmasq >= 2.41
Daniel P. Berrange 6253f9
Requires: radvd
Daniel P. Berrange 6253f9
%endif
Daniel P. Berrange 6253f9
%if %{with_network} || %{with_nwfilter}
Daniel P. Berrange 6253f9
Requires: iptables
Daniel P. Berrange 6253f9
Requires: iptables-ipv6
Daniel Veillard 3cf75c
%endif
Daniel Veillard 7e9981
%if %{with_nwfilter}
Daniel P. Berrange 6253f9
Requires: ebtables
Daniel P. Berrange 6253f9
%endif
Daniel P. Berrange 6253f9
# needed for device enumeration
Daniel P. Berrange 6253f9
%if %{with_hal}
Daniel P. Berrange 6253f9
Requires: hal
Daniel P. Berrange 6253f9
%endif
Daniel P. Berrange 6253f9
%if %{with_udev}
Daniel P. Berrange 6253f9
Requires: udev >= 145
Daniel P. Berrange 6253f9
%endif
Daniel P. Berrange 6253f9
%if %{with_polkit}
Daniel P. Berrange 6253f9
%if 0%{?fedora} >= 12 || 0%{?rhel} >=6
Daniel P. Berrange 6253f9
Requires: polkit >= 0.93
Daniel P. Berrange 6253f9
%else
Daniel P. Berrange 6253f9
Requires: PolicyKit >= 0.6
Daniel P. Berrange 6253f9
%endif
Daniel P. Berrange 6253f9
%endif
Daniel P. Berrange 6253f9
%if %{with_storage_fs}
Daniel P. Berrange 6253f9
Requires: nfs-utils
Daniel P. Berrange 6253f9
# For mkfs
Daniel P. Berrange 6253f9
Requires: util-linux-ng
Daniel P. Berrange 6253f9
# For pool-build probing for existing pools
Daniel P. Berrange 6253f9
BuildRequires: libblkid-devel >= 2.17
Daniel P. Berrange 6253f9
# For glusterfs
Daniel P. Berrange 6253f9
%if 0%{?fedora} >= 11
Daniel P. Berrange 6253f9
Requires: glusterfs-client >= 2.0.1
Daniel P. Berrange 6253f9
%endif
Daniel P. Berrange 6253f9
%endif
Daniel P. Berrange 6253f9
%if %{with_qemu}
Daniel P. Berrange 6253f9
# From QEMU RPMs
Daniel P. Berrange 6253f9
Requires: /usr/bin/qemu-img
Daniel P. Berrange 6253f9
# For image compression
Daniel P. Berrange 6253f9
Requires: gzip
Daniel P. Berrange 6253f9
Requires: bzip2
Daniel P. Berrange 6253f9
Requires: lzop
Daniel P. Berrange 6253f9
Requires: xz
Daniel P. Berrange 6253f9
%else
Daniel P. Berrange 6253f9
%if %{with_xen}
Daniel P. Berrange 6253f9
# From Xen RPMs
Daniel P. Berrange 6253f9
Requires: /usr/sbin/qcow-create
Daniel P. Berrange 6253f9
%endif
Daniel P. Berrange 6253f9
%endif
Daniel P. Berrange 6253f9
%if %{with_storage_lvm}
Daniel P. Berrange 6253f9
# For LVM drivers
Daniel P. Berrange 6253f9
Requires: lvm2
Daniel P. Berrange 6253f9
%endif
Daniel P. Berrange 6253f9
%if %{with_storage_iscsi}
Daniel P. Berrange 6253f9
# For ISCSI driver
Daniel P. Berrange 6253f9
Requires: iscsi-initiator-utils
Daniel P. Berrange 6253f9
%endif
Daniel P. Berrange 6253f9
%if %{with_storage_disk}
Daniel P. Berrange 6253f9
# For disk driver
Daniel P. Berrange 6253f9
Requires: parted
Daniel P. Berrange 6253f9
Requires: device-mapper
Daniel P. Berrange 6253f9
%endif
Daniel P. Berrange 6253f9
%if %{with_storage_mpath}
Daniel P. Berrange 6253f9
# For multipath support
Daniel P. Berrange 6253f9
Requires: device-mapper
Daniel P. Berrange 6253f9
%endif
Daniel P. Berrange 6253f9
%if %{with_cgconfig}
Daniel P. Berrange 6253f9
Requires: libcgroup
Daniel Veillard ed9e42
%endif
Daniel P. Berrange 6253f9
%ifarch %{ix86} x86_64 ia64
Daniel P. Berrange 6253f9
# For virConnectGetSysinfo
Daniel P. Berrange 6253f9
Requires: dmidecode
Daniel P. Berrange 6253f9
%endif
Daniel P. Berrange 6253f9
# For service management
Daniel P. Berrange 6253f9
%if %{with_systemd}
Daniel P. Berrange 6253f9
Requires(post): systemd-units
Daniel P. Berrange 6253f9
Requires(post): systemd-sysv
Daniel P. Berrange 6253f9
Requires(preun): systemd-units
Daniel P. Berrange 6253f9
Requires(postun): systemd-units
Daniel Veillard 7069f7
%endif
Daniel P. Berrange 24e912
%if %{with_numad}
Daniel P. Berrange 24e912
Requires: numad
Daniel P. Berrange 24e912
%endif
Daniel Veillard ed6c49
Daniel P. Berrange 6253f9
# All build-time requirements
Daniel P. Berrange f99eeb
%if 0%{?enable_autotools}
Daniel P. Berrange f99eeb
BuildRequires: autoconf
Daniel P. Berrange f99eeb
BuildRequires: automake
Daniel Veillard 4e460d
BuildRequires: gettext-devel
Daniel P. Berrange f99eeb
BuildRequires: libtool
Daniel P. Berrange f99eeb
%endif
Daniel Veillard ed6c49
BuildRequires: python-devel
Daniel Veillard 7069f7
%if %{with_systemd}
Daniel Veillard 7069f7
BuildRequires: systemd-units
Daniel Veillard 7069f7
%endif
Mark McLoughlin 67a2f2
%if %{with_xen}
Daniel Veillard 313e00
BuildRequires: xen-devel
Daniel Veillard 7069f7
%endif
Daniel Veillard ba3d2d
BuildRequires: libxml2-devel
Daniel Veillard 072c9c
BuildRequires: xhtml1-dtds
Daniel Veillard ed6c49
BuildRequires: libxslt
Daniel Veillard d55c7f
BuildRequires: readline-devel
Daniel Veillard 609ab7
BuildRequires: ncurses-devel
Daniel Veillard 5c1d88
BuildRequires: gettext
Daniel Veillard c363c7
BuildRequires: libtasn1-devel
Daniel Veillard c70baa
BuildRequires: gnutls-devel
Daniel Veillard ed6c49
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
Daniel Veillard ed6c49
# for augparse, optionally used in testing
Daniel Veillard ed6c49
BuildRequires: augeas
Daniel Veillard ed6c49
%endif
Daniel Veillard 3cf75c
%if %{with_hal}
Daniel Veillard 7244d1
BuildRequires: hal-devel
Daniel Veillard 3cf75c
%endif
Daniel Veillard ee0273
%if %{with_udev}
Daniel Veillard ee0273
BuildRequires: libudev-devel >= 145
Daniel Veillard ee0273
BuildRequires: libpciaccess-devel >= 0.10.9
Daniel Veillard ee0273
%endif
Daniel Veillard 4717aa
%if %{with_yajl}
Justin M. Forbes 2cac7d
BuildRequires: yajl-devel
Daniel Veillard 4717aa
%endif
Daniel Veillard e79d30
%if %{with_sanlock}
Daniel Veillard a6831c
BuildRequires: sanlock-devel >= 1.8
Daniel Veillard e79d30
%endif
Daniel Veillard 36cab8
%if %{with_libpcap}
Daniel Veillard 36cab8
BuildRequires: libpcap-devel
Daniel Veillard 36cab8
%endif
Daniel Veillard 7e9981
%if %{with_libnl}
Daniel Veillard 7e9981
BuildRequires: libnl-devel
Daniel Veillard 7e9981
%endif
Daniel Veillard f294b4
%if %{with_avahi}
Daniel Veillard 5ad8bc
BuildRequires: avahi-devel
Daniel Veillard f294b4
%endif
Daniel Veillard 3cf75c
%if %{with_selinux}
Daniel Veillard bf744f
BuildRequires: libselinux-devel
Daniel Veillard 3cf75c
%endif
Daniel Veillard 3cf75c
%if %{with_network}
Daniel P. Berrange e8394a
BuildRequires: dnsmasq >= 2.41
Daniel Veillard ed6c49
BuildRequires: iptables
Daniel Veillard ed6c49
BuildRequires: iptables-ipv6
Daniel Veillard ed6c49
BuildRequires: radvd
Daniel Veillard ed6c49
%endif
Daniel Veillard ed6c49
%if %{with_nwfilter}
Daniel Veillard ed6c49
BuildRequires: ebtables
Daniel Veillard 3cf75c
%endif
Daniel Veillard ed6c49
BuildRequires: module-init-tools
Daniel Veillard f294b4
%if %{with_sasl}
Daniel Veillard 4f6679
BuildRequires: cyrus-sasl-devel
Daniel Veillard f294b4
%endif
Daniel Veillard 4f6679
%if %{with_polkit}
Daniel Veillard 3cf75c
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
Daniel P. Berrange c476c8
# Only need the binary, not -devel
Daniel P. Berrange c476c8
BuildRequires: polkit >= 0.93
Daniel P. Berrange c476c8
%else
Daniel Veillard 4f6679
BuildRequires: PolicyKit-devel >= 0.6
Daniel Veillard 4f6679
%endif
Daniel P. Berrange c476c8
%endif
Daniel Veillard f5edf7
%if %{with_storage_fs}
Daniel Veillard bf744f
# For mount/umount in FS driver
Daniel Veillard bf744f
BuildRequires: util-linux
Daniel Veillard f5edf7
%endif
Daniel Veillard bf744f
%if %{with_qemu}
Daniel Veillard bf744f
# From QEMU RPMs
Daniel Veillard bf744f
BuildRequires: /usr/bin/qemu-img
Daniel Veillard bf744f
%else
Mark McLoughlin 67a2f2
%if %{with_xen}
Daniel Veillard bf744f
# From Xen RPMs
Daniel Veillard bf744f
BuildRequires: /usr/sbin/qcow-create
Daniel Veillard bf744f
%endif
Daniel Veillard 2b9efc
%endif
Daniel Veillard f5edf7
%if %{with_storage_lvm}
Daniel Veillard bf744f
# For LVM drivers
Daniel Veillard bf744f
BuildRequires: lvm2
Daniel Veillard f5edf7
%endif
Daniel Veillard f5edf7
%if %{with_storage_iscsi}
Daniel Veillard bf744f
# For ISCSI driver
Daniel Veillard bf744f
BuildRequires: iscsi-initiator-utils
Daniel Veillard f5edf7
%endif
Daniel Veillard f5edf7
%if %{with_storage_disk}
Daniel Veillard bf744f
# For disk driver
Daniel Veillard bf744f
BuildRequires: parted-devel
Daniel Veillard 3cf75c
%if 0%{?rhel} == 5
Daniel Veillard 3cf75c
# Broken RHEL-5 parted RPM is missing a dep
Daniel Veillard 3cf75c
BuildRequires: e2fsprogs-devel
Daniel Veillard 3cf75c
%endif
Daniel Veillard f5edf7
%endif
Mark McLoughlin 897506
%if %{with_storage_mpath}
Mark McLoughlin 897506
# For Multipath support
Daniel Veillard 3cf75c
%if 0%{?rhel} == 5
Daniel Veillard 3cf75c
# Broken RHEL-5 packaging has header files in main RPM :-(
Daniel Veillard 3cf75c
BuildRequires: device-mapper
Daniel Veillard 3cf75c
%else
Mark McLoughlin 897506
BuildRequires: device-mapper-devel
Mark McLoughlin 897506
%endif
Daniel Veillard 3cf75c
%endif
Daniel Veillard f5edf7
%if %{with_numactl}
Daniel Veillard 958f1c
# For QEMU/LXC numa info
Daniel Veillard 958f1c
BuildRequires: numactl-devel
Daniel Veillard f5edf7
%endif
Daniel Veillard bae7a0
%if %{with_capng}
Daniel Veillard 705fd2
BuildRequires: libcap-ng-devel >= 0.5.0
Daniel Veillard bae7a0
%endif
Daniel Veillard a3e1cc
%if %{with_phyp}
Mark McLoughlin e4bf8f
BuildRequires: libssh2-devel
Daniel Veillard a3e1cc
%endif
Mark McLoughlin 635912
%if %{with_netcf}
Laine Stump ee9521
%if 0%{?fedora} >= 16 || 0%{?rhel} >= 6
Laine Stump ee9521
BuildRequires: netcf-devel >= 0.1.8
Laine Stump ee9521
%else
Daniel Veillard b550f9
BuildRequires: netcf-devel >= 0.1.4
Mark McLoughlin 635912
%endif
Laine Stump ee9521
%endif
Daniel Veillard 7e9981
%if %{with_esx}
Daniel Veillard ed6c49
%if 0%{?fedora} >= 9 || 0%{?rhel} >= 6
Daniel Veillard 7e9981
BuildRequires: libcurl-devel
Daniel Veillard ed6c49
%else
Daniel Veillard ed6c49
BuildRequires: curl-devel
Daniel Veillard ed6c49
%endif
Daniel Veillard 7e9981
%endif
Daniel Veillard a6831c
%if %{with_hyperv}
Daniel Veillard a6831c
BuildRequires: libwsman-devel >= 2.2.3
Daniel Veillard a6831c
%endif
Daniel Veillard fca1fc
%if %{with_audit}
Daniel Veillard fca1fc
BuildRequires: audit-libs-devel
Daniel Veillard fca1fc
%endif
Daniel Veillard ed9e42
%if %{with_dtrace}
Daniel Veillard ed9e42
# we need /usr/sbin/dtrace
Daniel Veillard ed9e42
BuildRequires: systemtap-sdt-devel
Daniel Veillard ed9e42
%endif
Daniel Veillard ed9e42
Daniel Veillard ed6c49
%if %{with_storage_fs}
Daniel Veillard ed6c49
# For mount/umount in FS driver
Daniel Veillard ed6c49
BuildRequires: util-linux
Daniel Veillard ed6c49
# For showmount in FS driver (netfs discovery)
Daniel Veillard ed6c49
BuildRequires: nfs-utils
Daniel Veillard ed6c49
%endif
Daniel P. Berrange 36d558
Daniel Veillard 31802d
# Fedora build root suckage
Daniel Veillard 31802d
BuildRequires: gawk
Daniel Veillard 31802d
Daniel P. Berrange 336a93
# For storage wiping with different algorithms
Daniel P. Berrange 336a93
BuildRequires: scrub
Daniel P. Berrange 336a93
Daniel P. Berrange 24e912
%if %{with_numad}
Daniel P. Berrange 24e912
BuildRequires: numad
Daniel P. Berrange 24e912
%endif
Daniel P. Berrange 24e912
Daniel Veillard e2b90f
%description
Daniel Veillard bf744f
Libvirt is a C toolkit to interact with the virtualization capabilities
Daniel Veillard a3e1cc
of recent versions of Linux (and other OSes). The main package includes
Daniel Veillard a3e1cc
the libvirtd server exporting the virtualization support.
Daniel Veillard a3e1cc
Daniel Veillard a3e1cc
%package client
Mark McLoughlin 854b87
Summary: Client side library and utilities of the libvirt library
Daniel Veillard a3e1cc
Group: Development/Libraries
Daniel Veillard a3e1cc
Requires: readline
Daniel Veillard a3e1cc
Requires: ncurses
Daniel Veillard a3e1cc
# So remote clients can access libvirt over SSH tunnel
Daniel Veillard a3e1cc
# (client invokes 'nc' against the UNIX socket on the server)
Daniel Veillard a3e1cc
Requires: nc
Daniel Veillard ed6c49
# Needed by libvirt-guests init script.
Daniel Veillard ed6c49
Requires: gettext
Daniel Veillard ed6c49
# Needed by virt-pki-validate script.
Daniel Veillard ed6c49
Requires: gnutls-utils
Daniel Veillard 7069f7
# Needed for probing the power management features of the host.
Daniel Veillard 7069f7
Requires: pm-utils
Daniel Veillard a3e1cc
%if %{with_sasl}
Daniel Veillard a3e1cc
Requires: cyrus-sasl
Daniel Veillard a3e1cc
# Not technically required, but makes 'out-of-box' config
Daniel Veillard a3e1cc
# work correctly & doesn't have onerous dependencies
Daniel Veillard a3e1cc
Requires: cyrus-sasl-md5
Daniel Veillard a3e1cc
%endif
Daniel Veillard a3e1cc
Daniel Veillard a3e1cc
%description client
Daniel Veillard a3e1cc
Shared libraries and client binaries needed to access to the
Daniel Veillard a3e1cc
virtualization capabilities of recent versions of Linux (and other OSes).
Daniel Veillard a3e1cc
Daniel Veillard e2b90f
%package devel
Daniel Veillard e2b90f
Summary: Libraries, includes, etc. to compile with the libvirt library
Daniel Veillard e2b90f
Group: Development/Libraries
Daniel Veillard 7e9981
Requires: %{name}-client = %{version}-%{release}
Daniel Veillard 68efef
Requires: pkgconfig
Mark McLoughlin 67a2f2
%if %{with_xen}
Daniel Veillard b2a1a0
Requires: xen-devel
Daniel Veillard cc3975
%endif
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%description devel
Daniel Veillard e2b90f
Includes and documentations for the C library providing an API to use
Jeremy Katz f6cef9
the virtualization capabilities of recent versions of Linux (and other OSes).
Daniel Veillard e2b90f
Daniel Veillard e79d30
%if %{with_sanlock}
Daniel Veillard e79d30
%package lock-sanlock
Daniel Veillard e79d30
Summary: Sanlock lock manager plugin for QEMU driver
Daniel Veillard e79d30
Group: Development/Libraries
Daniel Veillard a6831c
Requires: sanlock >= 1.8
Daniel Veillard a6831c
#for virt-sanlock-cleanup require augeas
Daniel Veillard a6831c
Requires: augeas
Daniel P. Berrange 6253f9
Requires: %{name} = %{version}-%{release}
Daniel Veillard e79d30
Daniel Veillard e79d30
%description lock-sanlock
Daniel Veillard e79d30
Includes the Sanlock lock manager plugin for the QEMU
Daniel Veillard e79d30
driver
Daniel Veillard e79d30
%endif
Daniel Veillard e79d30
Daniel Veillard f294b4
%if %{with_python}
Daniel Veillard e2b90f
%package python
Daniel Veillard e2b90f
Summary: Python bindings for the libvirt library
Daniel Veillard e2b90f
Group: Development/Libraries
Daniel Veillard 7e9981
Requires: %{name}-client = %{version}-%{release}
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%description python
Daniel Veillard e2b90f
The libvirt-python package contains a module that permits applications
Daniel Veillard e2b90f
written in the Python programming language to use the interface
Daniel Veillard bf744f
supplied by the libvirt library to use the virtualization capabilities
Jeremy Katz f6cef9
of recent versions of Linux (and other OSes).
Daniel Veillard f294b4
%endif
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%prep
Daniel Veillard e2b90f
%setup -q
Daniel Veillard f5edf7
Daniel Veillard e2b90f
%build
Mark McLoughlin 67a2f2
%if ! %{with_xen}
Mark McLoughlin 67a2f2
%define _without_xen --without-xen
Daniel Veillard 2b9efc
%endif
Mark McLoughlin 67a2f2
Mark McLoughlin 67a2f2
%if ! %{with_qemu}
Mark McLoughlin f7a6d9
%define _without_qemu --without-qemu
Daniel Veillard cc3975
%endif
Daniel Veillard cc3975
Daniel Veillard 072c9c
%if ! %{with_openvz}
Daniel Veillard 072c9c
%define _without_openvz --without-openvz
Daniel Veillard 072c9c
%endif
Daniel Veillard 072c9c
Daniel Veillard 072c9c
%if ! %{with_lxc}
Daniel Veillard 072c9c
%define _without_lxc --without-lxc
Daniel Veillard 072c9c
%endif
Daniel Veillard 072c9c
Daniel Veillard 6a7311
%if ! %{with_vbox}
Daniel Veillard 6a7311
%define _without_vbox --without-vbox
Daniel Veillard 6a7311
%endif
Daniel Veillard 6a7311
Daniel Veillard fca1fc
%if ! %{with_xenapi}
Daniel Veillard fca1fc
%define _without_xenapi --without-xenapi
Daniel Veillard fca1fc
%endif
Daniel Veillard fca1fc
Daniel Veillard ed6c49
%if ! %{with_libxl}
Daniel Veillard ed6c49
%define _without_libxl --without-libxl
Daniel Veillard ed6c49
%endif
Daniel Veillard ed6c49
Daniel Veillard f294b4
%if ! %{with_sasl}
Daniel Veillard f294b4
%define _without_sasl --without-sasl
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard f294b4
%if ! %{with_avahi}
Daniel Veillard f294b4
%define _without_avahi --without-avahi
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard a3e1cc
%if ! %{with_phyp}
Daniel Veillard a3e1cc
%define _without_phyp --without-phyp
Daniel Veillard a3e1cc
%endif
Daniel Veillard a3e1cc
Daniel Veillard 3cf75c
%if ! %{with_esx}
Daniel Veillard 3cf75c
%define _without_esx --without-esx
Daniel Veillard 3cf75c
%endif
Daniel Veillard 3cf75c
Daniel Veillard a6831c
%if ! %{with_hyperv}
Daniel Veillard a6831c
%define _without_hyperv --without-hyperv
Daniel Veillard a6831c
%endif
Daniel Veillard a6831c
Daniel Veillard ed9e42
%if ! %{with_vmware}
Daniel Veillard ed9e42
%define _without_vmware --without-vmware
Daniel Veillard ed9e42
%endif
Daniel Veillard ed9e42
Daniel Veillard f294b4
%if ! %{with_polkit}
Daniel Veillard f294b4
%define _without_polkit --without-polkit
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard f294b4
%if ! %{with_python}
Daniel Veillard f294b4
%define _without_python --without-python
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard f294b4
%if ! %{with_libvirtd}
Daniel Veillard f294b4
%define _without_libvirtd --without-libvirtd
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard 7244d1
%if ! %{with_uml}
Daniel Veillard 7244d1
%define _without_uml --without-uml
Daniel Veillard 7244d1
%endif
Daniel Veillard 7244d1
Daniel Veillard 958f1c
%if %{with_rhel5}
Daniel Veillard 958f1c
%define _with_rhel5_api --with-rhel5-api
Daniel Veillard 958f1c
%endif
Daniel Veillard 958f1c
Daniel Veillard 958f1c
%if ! %{with_network}
Daniel Veillard 958f1c
%define _without_network --without-network
Daniel Veillard 958f1c
%endif
Daniel Veillard 958f1c
Daniel Veillard f5edf7
%if ! %{with_storage_fs}
Daniel Veillard f5edf7
%define _without_storage_fs --without-storage-fs
Daniel Veillard f5edf7
%endif
Daniel Veillard f5edf7
Daniel Veillard f5edf7
%if ! %{with_storage_lvm}
Daniel Veillard f5edf7
%define _without_storage_lvm --without-storage-lvm
Daniel Veillard f5edf7
%endif
Daniel Veillard f5edf7
Daniel Veillard f5edf7
%if ! %{with_storage_iscsi}
Daniel Veillard f5edf7
%define _without_storage_iscsi --without-storage-iscsi
Daniel Veillard f5edf7
%endif
Daniel Veillard f5edf7
Daniel Veillard f5edf7
%if ! %{with_storage_disk}
Daniel Veillard f5edf7
%define _without_storage_disk --without-storage-disk
Daniel Veillard f5edf7
%endif
Daniel Veillard f5edf7
Mark McLoughlin 897506
%if ! %{with_storage_mpath}
Mark McLoughlin 897506
%define _without_storage_mpath --without-storage-mpath
Mark McLoughlin 897506
%endif
Mark McLoughlin 897506
Daniel Veillard f5edf7
%if ! %{with_numactl}
Daniel Veillard f5edf7
%define _without_numactl --without-numactl
Daniel Veillard f5edf7
%endif
Daniel Veillard f5edf7
Daniel P. Berrange 24e912
%if ! %{with_numad}
Daniel P. Berrange 24e912
%define _without_numad --without-numad
Daniel P. Berrange 24e912
%endif
Daniel P. Berrange 24e912
Mark McLoughlin ccafc8
%if ! %{with_capng}
Mark McLoughlin ccafc8
%define _without_capng --without-capng
Mark McLoughlin ccafc8
%endif
Mark McLoughlin ccafc8
Mark McLoughlin 635912
%if ! %{with_netcf}
Mark McLoughlin 635912
%define _without_netcf --without-netcf
Mark McLoughlin 635912
%endif
Mark McLoughlin 635912
Daniel Veillard 3cf75c
%if ! %{with_selinux}
Daniel Veillard 3cf75c
%define _without_selinux --without-selinux
Daniel Veillard 3cf75c
%endif
Daniel Veillard 3cf75c
Daniel Veillard 3cf75c
%if ! %{with_hal}
Daniel Veillard 3cf75c
%define _without_hal --without-hal
Daniel Veillard 3cf75c
%endif
Daniel Veillard 3cf75c
Daniel Veillard ee0273
%if ! %{with_udev}
Daniel Veillard ee0273
%define _without_udev --without-udev
Daniel Veillard ee0273
%endif
Daniel Veillard ee0273
Daniel Veillard 4717aa
%if ! %{with_yajl}
Daniel Veillard 4717aa
%define _without_yajl --without-yajl
Daniel Veillard 4717aa
%endif
Daniel Veillard 4717aa
Daniel Veillard e79d30
%if ! %{with_sanlock}
Daniel Veillard e79d30
%define _without_sanlock --without-sanlock
Daniel Veillard e79d30
%endif
Daniel Veillard e79d30
Daniel Veillard 7e9981
%if ! %{with_libpcap}
Daniel Veillard 7e9981
%define _without_libpcap --without-libpcap
Daniel Veillard 7e9981
%endif
Daniel Veillard 7e9981
Daniel Veillard 7e9981
%if ! %{with_macvtap}
Daniel Veillard 7e9981
%define _without_macvtap --without-macvtap
Daniel Veillard 7e9981
%endif
Daniel Veillard 7e9981
Daniel Veillard fca1fc
%if ! %{with_audit}
Daniel Veillard fca1fc
%define _without_audit --without-audit
Daniel Veillard fca1fc
%endif
Daniel Veillard fca1fc
Daniel Veillard fca1fc
%if ! %{with_dtrace}
Daniel Veillard fca1fc
%define _without_dtrace --without-dtrace
Daniel Veillard fca1fc
%endif
Daniel Veillard fca1fc
Daniel Veillard f13fb1
%define when  %(date +"%%F-%%T")
Daniel Veillard f13fb1
%define where %(hostname)
Daniel Veillard f13fb1
%define who   %{?packager}%{!?packager:Unknown}
Daniel Veillard f13fb1
%define with_packager --with-packager="%{who}, %{when}, %{where}"
Daniel Veillard f13fb1
%define with_packager_version --with-packager-version="%{release}"
Daniel Veillard f13fb1
Daniel Veillard 7069f7
%if %{with_systemd}
Daniel Veillard 7069f7
# We use 'systemd+redhat', so if someone installs upstart or
Daniel Veillard 7069f7
# legacy init scripts, they can still start libvirtd, etc
Daniel Veillard 7069f7
%define init_scripts --with-init_script=systemd+redhat
Daniel Veillard 7069f7
%else
Daniel Veillard 7069f7
%define init_scripts --with-init_script=redhat
Daniel Veillard 7069f7
%endif
Daniel Veillard f13fb1
Daniel P. Berrange f99eeb
%if 0%{?enable_autotools}
Daniel P. Berrange f99eeb
autoreconf -if
Daniel P. Berrange f99eeb
%endif
Mark McLoughlin 67a2f2
%configure %{?_without_xen} \
Mark McLoughlin 67a2f2
           %{?_without_qemu} \
Daniel Veillard 072c9c
           %{?_without_openvz} \
Daniel Veillard 072c9c
           %{?_without_lxc} \
Daniel Veillard 6a7311
           %{?_without_vbox} \
Daniel P. Berrange 6763b2
           %{?_without_libxl} \
Daniel Veillard fca1fc
           %{?_without_xenapi} \
Daniel Veillard f294b4
           %{?_without_sasl} \
Daniel Veillard f294b4
           %{?_without_avahi} \
Daniel Veillard f294b4
           %{?_without_polkit} \
Daniel Veillard f294b4
           %{?_without_python} \
Daniel Veillard f294b4
           %{?_without_libvirtd} \
Daniel Veillard 7244d1
           %{?_without_uml} \
Daniel Veillard a3e1cc
           %{?_without_phyp} \
Daniel Veillard 3cf75c
           %{?_without_esx} \
Daniel Veillard a6831c
           %{?_without_hyperv} \
Daniel Veillard ed9e42
           %{?_without_vmware} \
Daniel Veillard 958f1c
           %{?_without_network} \
Daniel Veillard 958f1c
           %{?_with_rhel5_api} \
Daniel Veillard f5edf7
           %{?_without_storage_fs} \
Daniel Veillard f5edf7
           %{?_without_storage_lvm} \
Daniel Veillard f5edf7
           %{?_without_storage_iscsi} \
Daniel Veillard f5edf7
           %{?_without_storage_disk} \
Mark McLoughlin 897506
           %{?_without_storage_mpath} \
Daniel Veillard f5edf7
           %{?_without_numactl} \
Daniel P. Berrange 24e912
           %{?_without_numad} \
Mark McLoughlin ccafc8
           %{?_without_capng} \
Mark McLoughlin 635912
           %{?_without_netcf} \
Daniel Veillard 3cf75c
           %{?_without_selinux} \
Daniel Veillard 3cf75c
           %{?_without_hal} \
Daniel Veillard ee0273
           %{?_without_udev} \
Daniel Veillard 4717aa
           %{?_without_yajl} \
Daniel Veillard e79d30
           %{?_without_sanlock} \
Daniel Veillard 7e9981
           %{?_without_libpcap} \
Daniel Veillard 7e9981
           %{?_without_macvtap} \
Daniel Veillard fca1fc
           %{?_without_audit} \
Daniel Veillard fca1fc
           %{?_without_dtrace} \
Daniel Veillard f13fb1
           %{with_packager} \
Daniel Veillard f13fb1
           %{with_packager_version} \
Mark McLoughlin 593255
           --with-qemu-user=%{qemu_user} \
Mark McLoughlin 593255
           --with-qemu-group=%{qemu_group} \
Daniel P. Berrange 6763b2
           %{init_scripts}
Daniel Veillard 072c9c
make %{?_smp_mflags}
Daniel Veillard a3e1cc
gzip -9 ChangeLog
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%install
Mark McLoughlin a38fb9
rm -fr %{buildroot}
Daniel Veillard e2b90f
Daniel P. Berrange f99eeb
%makeinstall SYSTEMD_UNIT_DIR=%{buildroot}%{_unitdir}
Daniel Veillard fca1fc
for i in domain-events/events-c dominfo domsuspend hellolibvirt openauth python xml/nwfilter systemtap
Daniel Veillard 6383d6
do
Daniel Veillard 6383d6
  (cd examples/$i ; make clean ; rm -rf .deps .libs Makefile Makefile.in)
Daniel Veillard 6383d6
done
Daniel Veillard e2b90f
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
Daniel Veillard e2b90f
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
Daniel Veillard e2b90f
rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.la
Daniel Veillard e2b90f
rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a
Daniel Veillard e79d30
rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/lock-driver/*.la
Daniel Veillard e79d30
rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/lock-driver/*.a
Daniel Veillard 7a6f07
Daniel Veillard 3cf75c
%if %{with_network}
Daniel Veillard a160d7
install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/lib/libvirt/dnsmasq/
Daniel Veillard 7a6f07
# We don't want to install /etc/libvirt/qemu/networks in the main %files list
Daniel Veillard 7a6f07
# because if the admin wants to delete the default network completely, we don't
Daniel Veillard 7a6f07
# want to end up re-incarnating it on every RPM upgrade.
Daniel Veillard 7a6f07
install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/
Daniel Veillard 7a6f07
cp $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml \
Daniel Veillard 7a6f07
   $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
Daniel Veillard 7a6f07
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
Daniel Veillard 7a6f07
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
Daniel Veillard 7a6f07
# Strip auto-generated UUID - we need it generated per-install
Daniel Veillard 7a6f07
sed -i -e "/<uuid>/d" $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
Daniel Veillard fe0909
%else
Daniel Veillard fe0909
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
Daniel Veillard fe0909
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
Daniel Veillard 3cf75c
%endif
Daniel Veillard 3cf75c
%if ! %{with_qemu}
Daniel Veillard fe0909
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_qemu.aug
Daniel Veillard fe0909
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
Daniel Veillard f294b4
%endif
Daniel Veillard 5c1d88
%find_lang %{name}
Daniel Veillard e2b90f
Daniel Veillard 6383d6
%if ! %{with_lxc}
Daniel Veillard 6383d6
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_lxc.aug
Daniel Veillard 6383d6
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
Daniel Veillard 6383d6
%endif
Daniel Veillard 6383d6
Daniel Veillard f294b4
%if ! %{with_python}
Daniel Veillard f294b4
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-python-%{version}
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard f294b4
%if ! %{with_qemu}
Daniel Veillard f294b4
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu.conf
Daniel Veillard 36cab8
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.qemu
Daniel Veillard f294b4
%endif
Daniel Veillard 6383d6
%if ! %{with_lxc}
Daniel Veillard 6383d6
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/lxc.conf
Daniel Veillard a160d7
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.lxc
Daniel Veillard 36cab8
%endif
Daniel Veillard 36cab8
%if ! %{with_uml}
Daniel Veillard 36cab8
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.uml
Daniel Veillard 6383d6
%endif
Daniel Veillard f294b4
Daniel Veillard e2b90f
%clean
Daniel Veillard e2b90f
rm -fr %{buildroot}
Daniel Veillard e2b90f
Daniel Veillard a160d7
%check
Daniel Veillard a160d7
cd tests
Daniel Veillard a160d7
# These 3 tests don't current work in a mock build root
Daniel P. Berrange a5a4c0
for i in nodeinfotest daemon-conf seclabeltest
Daniel Veillard a160d7
do
Daniel Veillard a160d7
  rm -f $i
Daniel Veillard 7e9981
  printf "#!/bin/sh\nexit 0\n" > $i
Daniel Veillard a160d7
  chmod +x $i
Daniel Veillard a160d7
done
Daniel Veillard a160d7
make check
Daniel Veillard a160d7
Daniel P. Berrange 6253f9
%pre
Daniel Veillard 3cf75c
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
Daniel P. Berrange 7f58f3
# Normally 'setup' adds this in /etc/passwd, but this is
Daniel Veillard 3cf75c
# here for case of upgrades from earlier Fedora/RHEL. This
Daniel P. Berrange 7f58f3
# UID/GID pair is reserved for qemu:qemu
Daniel P. Berrange 7f58f3
getent group kvm >/dev/null || groupadd -g 36 -r kvm
Daniel P. Berrange 7f58f3
getent group qemu >/dev/null || groupadd -g 107 -r qemu
Daniel P. Berrange 7f58f3
getent passwd qemu >/dev/null || \
Daniel P. Berrange 7f58f3
  useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
Daniel P. Berrange 7f58f3
    -c "qemu user" qemu
Daniel P. Berrange 7f58f3
%endif
Daniel P. Berrange 7f58f3
Daniel P. Berrange 6253f9
%post
Daniel Veillard e2b90f
Daniel P. Berrange 6253f9
%if %{with_libvirtd}
Daniel Veillard 3cf75c
%if %{with_network}
Daniel P. Berrange 6253f9
# We want to install the default network for initial RPM installs
Daniel P. Berrange 6253f9
# or on the first upgrade from a non-network aware libvirt only.
Daniel P. Berrange 6253f9
# We check this by looking to see if the daemon is already installed
Daniel P. Berrange 6253f9
if ! /sbin/chkconfig libvirtd && test ! -f %{_sysconfdir}/libvirt/qemu/networks/default.xml
Daniel P. Berrange 6253f9
then
Daniel P. Berrange 6253f9
    UUID=`/usr/bin/uuidgen`
Daniel P. Berrange 6253f9
    sed -e "s,</name>,</name>\n  <uuid>$UUID</uuid>," \
Daniel P. Berrange 6253f9
         < %{_datadir}/libvirt/networks/default.xml \
Daniel P. Berrange 6253f9
         > %{_sysconfdir}/libvirt/qemu/networks/default.xml
Daniel P. Berrange 6253f9
    ln -s ../default.xml %{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
Daniel P. Berrange 6253f9
fi
Daniel P. Berrange 6253f9
Daniel Veillard ed6c49
# All newly defined networks will have a mac address for the bridge
Daniel Veillard ed6c49
# auto-generated, but networks already existing at the time of upgrade
Daniel Veillard ed6c49
# will not. We need to go through all the network configs, look for
Daniel Veillard ed6c49
# those that don't have a mac address, and add one.
Daniel Veillard ed6c49
Daniel Veillard ed6c49
network_files=$( (cd %{_localstatedir}/lib/libvirt/network && \
Daniel Veillard ed6c49
                  grep -L "mac address" *.xml; \
Daniel Veillard ed6c49
                  cd %{_sysconfdir}/libvirt/qemu/networks && \
Daniel Veillard ed6c49
                  grep -L "mac address" *.xml) 2>/dev/null \
Daniel Veillard ed6c49
                | sort -u)
Daniel Veillard ed6c49
Daniel Veillard ed6c49
for file in $network_files
Daniel Veillard ed6c49
do
Daniel Veillard ed6c49
   # each file exists in either the config or state directory (or both) and
Daniel Veillard ed6c49
   # does not have a mac address specified in either. We add the same mac
Daniel Veillard ed6c49
   # address to both files (or just one, if the other isn't there)
Daniel Veillard ed6c49
Daniel Veillard ed6c49
   mac4=`printf '%X' $(($RANDOM % 256))`
Daniel Veillard ed6c49
   mac5=`printf '%X' $(($RANDOM % 256))`
Daniel Veillard ed6c49
   mac6=`printf '%X' $(($RANDOM % 256))`
Daniel Veillard ed6c49
   for dir in %{_localstatedir}/lib/libvirt/network \
Daniel Veillard ed6c49
              %{_sysconfdir}/libvirt/qemu/networks
Daniel Veillard ed6c49
   do
Daniel Veillard ed6c49
      if test -f $dir/$file
Daniel Veillard ed6c49
      then
Daniel Veillard ed6c49
         sed -i.orig -e \
Daniel Veillard ed6c49
           "s|\(<bridge.*$\)|\0\n  <mac address='52:54:00:$mac4:$mac5:$mac6'/>|" \
Daniel Veillard ed6c49
           $dir/$file
Daniel Veillard ed6c49
         if test $? != 0
Daniel Veillard ed6c49
         then
Daniel Veillard ed6c49
             echo "failed to add <mac address='52:54:00:$mac4:$mac5:$mac6'/>" \
Daniel Veillard ed6c49
                  "to $dir/$file"
Daniel Veillard ed6c49
             mv -f $dir/$file.orig $dir/$file
Daniel Veillard ed6c49
         else
Daniel Veillard ed6c49
             rm -f $dir/$file.orig
Daniel Veillard ed6c49
         fi
Daniel Veillard ed6c49
      fi
Daniel Veillard ed6c49
   done
Daniel Veillard ed6c49
done
Daniel Veillard fe0909
%endif
Daniel Veillard 7a6f07
Daniel Veillard 7069f7
%if %{with_systemd}
Daniel Veillard 7069f7
if [ $1 -eq 1 ] ; then
Daniel Veillard 7069f7
    # Initial installation
Daniel Veillard 7069f7
    /bin/systemctl enable libvirtd.service >/dev/null 2>&1 || :
Daniel Veillard 7069f7
    /bin/systemctl enable cgconfig.service >/dev/null 2>&1 || :
Daniel Veillard 7069f7
fi
Daniel Veillard 7069f7
%else
Daniel Veillard ed9e42
%if %{with_cgconfig}
Daniel P. Berrange 8c8aca
# Starting with Fedora 16, systemd automounts all cgroups, and cgconfig is
Daniel Veillard a6831c
# no longer a necessary service.
Daniel Veillard 4e460d
%if 0%{?rhel} || (0%{?fedora} && 0%{?fedora} < 16)
Daniel Veillard ed9e42
if [ "$1" -eq "1" ]; then
Daniel Veillard ed9e42
/sbin/chkconfig cgconfig on
Daniel Veillard ed9e42
fi
Daniel Veillard ed9e42
%endif
Daniel Veillard a6831c
%endif
Daniel Veillard ed9e42
Daniel Veillard 7a6f07
/sbin/chkconfig --add libvirtd
Mark McLoughlin 897506
if [ "$1" -ge "1" ]; then
Mark McLoughlin 86abd5
	/sbin/service libvirtd condrestart > /dev/null 2>&1
Mark McLoughlin 897506
fi
Daniel Veillard f294b4
%endif
Daniel Veillard 7069f7
%endif
Daniel Veillard 7a6f07
Daniel P. Berrange 6253f9
%preun
Daniel Veillard f294b4
%if %{with_libvirtd}
Daniel Veillard 7069f7
%if %{with_systemd}
Daniel Veillard 7069f7
if [ $1 -eq 0 ] ; then
Daniel Veillard 7069f7
    # Package removal, not upgrade
Daniel Veillard 7069f7
    /bin/systemctl --no-reload disable libvirtd.service > /dev/null 2>&1 || :
Daniel Veillard 7069f7
    /bin/systemctl stop libvirtd.service > /dev/null 2>&1 || :
Daniel Veillard 7069f7
fi
Daniel Veillard 7069f7
%else
Daniel Veillard 7a6f07
if [ $1 = 0 ]; then
Daniel Veillard 7a6f07
    /sbin/service libvirtd stop 1>/dev/null 2>&1
Daniel Veillard 7a6f07
    /sbin/chkconfig --del libvirtd
Daniel Veillard 7a6f07
fi
Daniel Veillard f294b4
%endif
Daniel Veillard 7069f7
%endif
Daniel Veillard 7069f7
Daniel P. Berrange 6253f9
%postun
Daniel Veillard 7069f7
%if %{with_libvirtd}
Daniel Veillard 7069f7
%if %{with_systemd}
Daniel Veillard 7069f7
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
Daniel Veillard 7069f7
if [ $1 -ge 1 ] ; then
Daniel Veillard 7069f7
    # Package upgrade, not uninstall
Daniel Veillard 7069f7
    /bin/systemctl try-restart libvirtd.service >/dev/null 2>&1 || :
Daniel Veillard 7069f7
fi
Daniel Veillard 7069f7
%endif
Daniel Veillard 7069f7
%endif
Daniel Veillard 7069f7
Daniel Veillard 7069f7
%if %{with_libvirtd}
Daniel Veillard 7069f7
%if %{with_systemd}
Daniel Veillard 7069f7
%triggerun -- libvirt < 0.9.4
Daniel Veillard 7069f7
%{_bindir}/systemd-sysv-convert --save libvirtd >/dev/null 2>&1 ||:
Daniel Veillard 7069f7
Daniel Veillard 7069f7
# If the package is allowed to autostart:
Daniel Veillard 7069f7
/bin/systemctl --no-reload enable libvirtd.service >/dev/null 2>&1 ||:
Daniel Veillard 7069f7
Daniel Veillard 7069f7
# Run these because the SysV package being removed won't do them
Daniel Veillard 7069f7
/sbin/chkconfig --del libvirtd >/dev/null 2>&1 || :
Daniel Veillard 7069f7
/bin/systemctl try-restart libvirtd.service >/dev/null 2>&1 || :
Daniel Veillard 7069f7
%endif
Daniel Veillard 7069f7
%endif
Daniel Veillard 7a6f07
Daniel Veillard 7e9981
%preun client
Daniel Veillard 7e9981
Daniel Veillard 7069f7
%if %{with_systemd}
Daniel Veillard 7069f7
%else
Daniel Veillard 7e9981
if [ $1 = 0 ]; then
Daniel Veillard 7e9981
    /sbin/chkconfig --del libvirt-guests
Daniel Veillard 7e9981
    rm -f /var/lib/libvirt/libvirt-guests
Daniel Veillard 7e9981
fi
Daniel Veillard 7069f7
%endif
Daniel Veillard 7e9981
Daniel Veillard 7e9981
%post client
Daniel Veillard 7e9981
Daniel Veillard 7e9981
/sbin/ldconfig
Daniel Veillard 7069f7
%if %{with_systemd}
Daniel Veillard 7069f7
%else
Daniel Veillard 7e9981
/sbin/chkconfig --add libvirt-guests
Daniel Veillard 7069f7
%endif
Mark McLoughlin 854b87
Mark McLoughlin 854b87
%postun client -p /sbin/ldconfig
Daniel Veillard e2b90f
Daniel Veillard 7069f7
%if %{with_systemd}
Daniel Veillard 7069f7
%triggerun client -- libvirt < 0.9.4
Daniel Veillard 7069f7
%{_bindir}/systemd-sysv-convert --save libvirt-guests >/dev/null 2>&1 ||:
Daniel Veillard 7069f7
Daniel Veillard 7069f7
# If the package is allowed to autostart:
Daniel Veillard 7069f7
/bin/systemctl --no-reload enable libvirt-guests.service >/dev/null 2>&1 ||:
Daniel Veillard 7069f7
Daniel Veillard 7069f7
# Run these because the SysV package being removed won't do them
Daniel Veillard 7069f7
/sbin/chkconfig --del libvirt-guests >/dev/null 2>&1 || :
Daniel Veillard 7069f7
/bin/systemctl try-restart libvirt-guests.service >/dev/null 2>&1 || :
Daniel Veillard 7069f7
%endif
Daniel Veillard 7069f7
Daniel P. Berrange 37ddbd
%if %{with_libvirtd}
Daniel P. Berrange 6253f9
%files
Daniel P. Berrange 37ddbd
%defattr(-, root, root)
Daniel P. Berrange 37ddbd
Daniel Veillard a3e1cc
%doc AUTHORS ChangeLog.gz NEWS README COPYING.LIB TODO
Daniel Veillard 7a6f07
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/
Daniel Veillard f294b4
Daniel Veillard 3cf75c
%if %{with_network}
Daniel Veillard 7a6f07
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/
Daniel Veillard 7a6f07
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/
Daniel Veillard 2cac8e
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/autostart
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard 36cab8
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/nwfilter/
Daniel P. Berrange 6253f9
%{_sysconfdir}/libvirt/nwfilter/*.xml
Daniel Veillard 36cab8
Daniel Veillard 7a6f07
%{_sysconfdir}/rc.d/init.d/libvirtd
Daniel Veillard 7069f7
%if %{with_systemd}
Daniel Veillard 7069f7
%{_unitdir}/libvirtd.service
Daniel Veillard 7069f7
%endif
Daniel Veillard 957403
%doc daemon/libvirtd.upstart
Daniel Veillard c70baa
%config(noreplace) %{_sysconfdir}/sysconfig/libvirtd
Daniel P. Berrange fdd7e8
%config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf
Daniel P. Berrange 8c8aca
%if 0%{?fedora} >= 14 || 0%{?rhel} >= 6
Daniel P. Berrange 8c8aca
%config(noreplace) %{_sysconfdir}/sysctl.d/libvirtd
Daniel P. Berrange 8c8aca
%else
Daniel P. Berrange 8c8aca
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/sysctl.d/libvirtd
Daniel P. Berrange 8c8aca
%endif
Mark McLoughlin 86abd5
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/
Mark McLoughlin 86abd5
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/lxc/
Mark McLoughlin 86abd5
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/uml/
Daniel Veillard ed6c49
%if %{with_libxl}
Daniel Veillard ed6c49
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/libxl/
Daniel Veillard ed6c49
%endif
Daniel Veillard f294b4
Daniel Veillard ed6c49
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd
Daniel Veillard f294b4
%if %{with_qemu}
Daniel P. Berrange fdd7e8
%config(noreplace) %{_sysconfdir}/libvirt/qemu.conf
Daniel Veillard 36cab8
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.qemu
Daniel Veillard f294b4
%endif
Daniel Veillard 6383d6
%if %{with_lxc}
Daniel Veillard 6383d6
%config(noreplace) %{_sysconfdir}/libvirt/lxc.conf
Daniel Veillard 36cab8
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.lxc
Daniel Veillard 36cab8
%endif
Daniel Veillard 36cab8
%if %{with_uml}
Daniel Veillard 36cab8
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.uml
Daniel Veillard 6383d6
%endif
Daniel Veillard f294b4
Daniel Veillard 7a6f07
%dir %{_datadir}/libvirt/
Daniel Veillard 3cf75c
Daniel Veillard 3cf75c
%if %{with_network}
Daniel Veillard 7a6f07
%dir %{_datadir}/libvirt/networks/
Daniel Veillard 7a6f07
%{_datadir}/libvirt/networks/default.xml
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard 7069f7
%ghost %dir %{_localstatedir}/run/libvirt/
Daniel Veillard 958f1c
Mark McLoughlin 66df92
%dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/images/
Daniel P. Berrange 8c8aca
%dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/filesystems/
Mark McLoughlin 743adf
%dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/boot/
db03f0
%dir %attr(0711, root, root) %{_localstatedir}/cache/libvirt/
Daniel Veillard f294b4
Daniel Veillard f294b4
%if %{with_qemu}
Daniel Veillard 7069f7
%ghost %dir %attr(0700, root, root) %{_localstatedir}/run/libvirt/qemu/
Daniel Veillard fca1fc
%dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/
Daniel Veillard fca1fc
%dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/cache/libvirt/qemu/
Daniel Veillard 958f1c
%endif
Daniel Veillard 958f1c
%if %{with_lxc}
Daniel Veillard 7069f7
%ghost %dir %{_localstatedir}/run/libvirt/lxc/
Daniel Veillard 958f1c
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/lxc/
Daniel Veillard 958f1c
%endif
Daniel Veillard 958f1c
%if %{with_uml}
Daniel Veillard 7069f7
%ghost %dir %{_localstatedir}/run/libvirt/uml/
Daniel Veillard 958f1c
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/uml/
Daniel Veillard 958f1c
%endif
Daniel Veillard ed6c49
%if %{with_libxl}
Daniel Veillard 7069f7
%ghost %dir %{_localstatedir}/run/libvirt/libxl/
Daniel Veillard ed6c49
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/libxl/
Daniel Veillard ed6c49
%endif
Daniel Veillard 958f1c
%if %{with_network}
Daniel Veillard 7069f7
%ghost %dir %{_localstatedir}/run/libvirt/network/
Daniel Veillard 958f1c
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/network/
Daniel Veillard a160d7
%dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/dnsmasq/
Daniel Veillard 958f1c
%endif
Daniel Veillard 958f1c
Daniel Veillard 958f1c
%if %{with_qemu}
Daniel Veillard 072c9c
%{_datadir}/augeas/lenses/libvirtd_qemu.aug
Daniel Veillard 072c9c
%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard 6383d6
%if %{with_lxc}
Daniel Veillard 6383d6
%{_datadir}/augeas/lenses/libvirtd_lxc.aug
Daniel Veillard 6383d6
%{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
Daniel Veillard 6383d6
%endif
Daniel Veillard 6383d6
Daniel Veillard f294b4
%{_datadir}/augeas/lenses/libvirtd.aug
Daniel Veillard f294b4
%{_datadir}/augeas/lenses/tests/test_libvirtd.aug
Daniel Veillard f294b4
Daniel Veillard 4f6679
%if %{with_polkit}
Daniel Veillard 3cf75c
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
Daniel P. Berrange c476c8
%{_datadir}/polkit-1/actions/org.libvirt.unix.policy
Daniel P. Berrange c476c8
%else
Daniel Veillard 072c9c
%{_datadir}/PolicyKit/policy/org.libvirt.unix.policy
Daniel Veillard 4f6679
%endif
Daniel P. Berrange c476c8
%endif
Daniel Veillard f294b4
Daniel P. Berrange c80b7f
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/
Daniel Veillard f294b4
Daniel Veillard 072c9c
%if %{with_lxc}
Daniel Veillard 072c9c
%attr(0755, root, root) %{_libexecdir}/libvirt_lxc
Daniel Veillard 072c9c
%endif
Daniel Veillard f294b4
Daniel Veillard d7b412
%if %{with_storage_disk}
Daniel Veillard f294b4
%attr(0755, root, root) %{_libexecdir}/libvirt_parthelper
Daniel Veillard d7b412
%endif
Daniel Veillard d7b412
Daniel Veillard ed6c49
%attr(0755, root, root) %{_libexecdir}/libvirt_iohelper
Daniel Veillard c70baa
%attr(0755, root, root) %{_sbindir}/libvirtd
Daniel Veillard f294b4
Daniel P. Berrange e8394a
%{_mandir}/man8/libvirtd.8*
Daniel P. Berrange e8394a
Daniel Veillard 55fabd
%doc docs/*.xml
Daniel Veillard 3cf75c
%endif
Daniel Veillard e2b90f
Daniel Veillard e79d30
%if %{with_sanlock}
Daniel Veillard e79d30
%files lock-sanlock
Daniel Veillard e79d30
%defattr(-, root, root)
Daniel Veillard c363c7
%if %{with_qemu}
Daniel Veillard d7b412
%config(noreplace) %{_sysconfdir}/libvirt/qemu-sanlock.conf
Daniel Veillard c363c7
%endif
Daniel Veillard e79d30
%attr(0755, root, root) %{_libdir}/libvirt/lock-driver/sanlock.so
Daniel Veillard d7b412
%{_datadir}/augeas/lenses/libvirt_sanlock.aug
Daniel Veillard d7b412
%{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug
Daniel Veillard c363c7
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/sanlock
Daniel Veillard d7b412
%{_sbindir}/virt-sanlock-cleanup
Daniel Veillard d7b412
%{_mandir}/man8/virt-sanlock-cleanup.8*
Daniel Veillard e79d30
%endif
Daniel Veillard e79d30
Daniel Veillard a3e1cc
%files client -f %{name}.lang
Daniel Veillard a3e1cc
%defattr(-, root, root)
Daniel Veillard a3e1cc
%doc AUTHORS ChangeLog.gz NEWS README COPYING.LIB TODO
Daniel Veillard a3e1cc
Daniel P. Berrange 8c8aca
%config(noreplace) %{_sysconfdir}/libvirt/libvirt.conf
Daniel Veillard a3e1cc
%{_mandir}/man1/virsh.1*
Daniel Veillard a3e1cc
%{_mandir}/man1/virt-xml-validate.1*
Daniel Veillard 6383d6
%{_mandir}/man1/virt-pki-validate.1*
Daniel P. Berrange e9c1d3
%{_mandir}/man1/virt-host-validate.1*
Daniel Veillard a3e1cc
%{_bindir}/virsh
Daniel Veillard a3e1cc
%{_bindir}/virt-xml-validate
Daniel Veillard 6383d6
%{_bindir}/virt-pki-validate
Daniel P. Berrange e9c1d3
%{_bindir}/virt-host-validate
Daniel Veillard a3e1cc
%{_libdir}/lib*.so.*
Daniel Veillard a3e1cc
Daniel P. Berrange 6763b2
%if %{with_dtrace}
Daniel P. Berrange 6763b2
%{_datadir}/systemtap/tapset/libvirt_probes.stp
Daniel P. Berrange 6763b2
%{_datadir}/systemtap/tapset/libvirt_functions.stp
Daniel P. Berrange 6763b2
%endif
Daniel P. Berrange 6763b2
Daniel Veillard a3e1cc
%dir %{_datadir}/libvirt/
Daniel Veillard a3e1cc
%dir %{_datadir}/libvirt/schemas/
Daniel Veillard a3e1cc
Daniel Veillard a6831c
%{_datadir}/libvirt/schemas/basictypes.rng
Daniel Veillard a6831c
%{_datadir}/libvirt/schemas/capability.rng
Daniel Veillard a3e1cc
%{_datadir}/libvirt/schemas/domain.rng
Daniel Veillard a6831c
%{_datadir}/libvirt/schemas/domaincommon.rng
Daniel Veillard 7e9981
%{_datadir}/libvirt/schemas/domainsnapshot.rng
Daniel Veillard a6831c
%{_datadir}/libvirt/schemas/interface.rng
Daniel Veillard a3e1cc
%{_datadir}/libvirt/schemas/network.rng
Daniel Veillard a6831c
%{_datadir}/libvirt/schemas/networkcommon.rng
Daniel Veillard a3e1cc
%{_datadir}/libvirt/schemas/nodedev.rng
Daniel Veillard a6831c
%{_datadir}/libvirt/schemas/nwfilter.rng
Mark McLoughlin e4bf8f
%{_datadir}/libvirt/schemas/secret.rng
Mark McLoughlin e4bf8f
%{_datadir}/libvirt/schemas/storageencryption.rng
Daniel Veillard a6831c
%{_datadir}/libvirt/schemas/storagepool.rng
Daniel Veillard a6831c
%{_datadir}/libvirt/schemas/storagevol.rng
Daniel Veillard a3e1cc
Daniel Veillard 4717aa
%{_datadir}/libvirt/cpu_map.xml
Daniel Veillard 4717aa
Daniel Veillard 7e9981
%{_sysconfdir}/rc.d/init.d/libvirt-guests
Daniel Veillard 7069f7
%if %{with_systemd}
Daniel Veillard 7069f7
%{_unitdir}/libvirt-guests.service
Daniel Veillard 7069f7
%endif
Daniel Veillard 7e9981
%config(noreplace) %{_sysconfdir}/sysconfig/libvirt-guests
Daniel Veillard ed9e42
%dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/
Daniel Veillard 7e9981
Daniel Veillard a3e1cc
%if %{with_sasl}
Daniel Veillard a3e1cc
%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
Daniel Veillard a3e1cc
%endif
Daniel Veillard a3e1cc
Daniel Veillard e2b90f
%files devel
Daniel Veillard e2b90f
%defattr(-, root, root)
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%{_libdir}/lib*.so
Daniel Veillard deefad
%dir %{_includedir}/libvirt
Daniel Veillard e2b90f
%{_includedir}/libvirt/*.h
Daniel Veillard e2b90f
%{_libdir}/pkgconfig/libvirt.pc
Mark McLoughlin db269c
%dir %{_datadir}/gtk-doc/html/libvirt/
Daniel Veillard 4cb72c
%doc %{_datadir}/gtk-doc/html/libvirt/*.devhelp
Daniel Veillard 4cb72c
%doc %{_datadir}/gtk-doc/html/libvirt/*.html
Daniel Veillard 4cb72c
%doc %{_datadir}/gtk-doc/html/libvirt/*.png
Daniel Veillard 4cb72c
%doc %{_datadir}/gtk-doc/html/libvirt/*.css
Daniel Veillard e2b90f
Daniel P. Berrange 6398d1
%dir %{_datadir}/libvirt/api/
Daniel P. Berrange 6398d1
%{_datadir}/libvirt/api/libvirt-api.xml
Daniel P. Berrange 6398d1
%{_datadir}/libvirt/api/libvirt-qemu-api.xml
Daniel P. Berrange 6926ed
Daniel Veillard e2b90f
%doc docs/*.html docs/html docs/*.gif
Daniel Veillard e2b90f
%doc docs/libvirt-api.xml
Daniel Veillard 6383d6
%doc examples/hellolibvirt
Daniel Veillard 6383d6
%doc examples/domain-events/events-c
Daniel Veillard 6383d6
%doc examples/dominfo
Daniel Veillard 6383d6
%doc examples/domsuspend
Daniel P. Berrange e8394a
%doc examples/openauth
Daniel Veillard 6383d6
%doc examples/xml
Daniel Veillard fca1fc
%doc examples/systemtap
Daniel Veillard e2b90f
Daniel Veillard f294b4
%if %{with_python}
Daniel Veillard e2b90f
%files python
Daniel Veillard e2b90f
%defattr(-, root, root)
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%doc AUTHORS NEWS README COPYING.LIB
Daniel Veillard e2b90f
%{_libdir}/python*/site-packages/libvirt.py*
Daniel Veillard a6831c
%{_libdir}/python*/site-packages/libvirt_qemu.py*
Daniel Veillard e2b90f
%{_libdir}/python*/site-packages/libvirtmod*
Daniel Veillard 4cb72c
%doc python/tests/*.py
Daniel Veillard e2b90f
%doc python/TODO
Daniel Veillard 6383d6
%doc examples/python
Daniel Veillard 6383d6
%doc examples/domain-events/events-python
Daniel Veillard f294b4
%endif
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%changelog
Daniel P. Berrange e31df5
* Wed Apr  4 2012 Daniel P. Berrange <berrange@redhat.com> - 0.9.11-1
Daniel P. Berrange e31df5
- Update to 0.9.11 release
Daniel P. Berrange e31df5
Daniel P. Berrange 6253f9
* Tue Apr  3 2012 Daniel P. Berrange <berrange@redhat.com> - 0.9.10-4
Daniel P. Berrange 6253f9
- Revert previous change
Daniel P. Berrange 6253f9
Daniel P. Berrange 37ddbd
* Sat Mar 31 2012 Daniel P. Berrange <berrange@redhat.com> - 0.9.10-3
Daniel P. Berrange 37ddbd
- Refactor RPM spec to allow install without default configs
Daniel P. Berrange 37ddbd
Daniel P. Berrange 95fe7c
* Thu Mar 15 2012 Daniel P. Berrange <berrange@redhat.com> - 0.9.10-2
Daniel P. Berrange 95fe7c
- Rebuild for libparted soname break
Daniel P. Berrange 95fe7c
Daniel P. Berrange f19e30
* Mon Feb 13 2012 Daniel P. Berrange <berrange@redhat.com> - 0.9.10-1
Daniel P. Berrange f19e30
- Update to 0.9.10
Daniel P. Berrange f19e30
Daniel P. Berrange 0f577d
* Thu Jan 12 2012 Daniel P. Berrange <berrange@redhat.com> - 0.9.9-2
Daniel P. Berrange 0f577d
- Fix LXC I/O handling
Daniel P. Berrange 0f577d
Daniel Veillard 4e460d
* Sat Jan  7 2012 Daniel Veillard <veillard@redhat.com> - 0.9.9-1
Daniel Veillard 4e460d
- Add API virDomain{S,G}etInterfaceParameters
Daniel Veillard 4e460d
- Add API virDomain{G, S}etNumaParameters
Daniel Veillard 4e460d
- Add support for ppc64 qemu
Daniel Veillard 4e460d
- Support Xen domctl v8
Daniel Veillard 4e460d
- many improvements and bug fixes
Daniel Veillard 4e460d
Daniel P. Berrange f99eeb
* Thu Dec  8 2011 Daniel P. Berrange <berrange@redhat.com> - 0.9.8-2
Daniel P. Berrange f99eeb
- Fix install of libvirt-guests.service & libvirtd.service
Daniel P. Berrange f99eeb
Daniel Veillard 7069f7
* Thu Dec  8 2011 Daniel Veillard <veillard@redhat.com> - 0.9.8-1
Daniel Veillard 7069f7
- Add support for QEMU 1.0
Daniel Veillard 7069f7
- Add preliminary PPC cpu driver
Daniel Veillard 7069f7
- Add new API virDomain{Set, Get}BlockIoTune
Daniel Veillard 7069f7
- block_resize: Define the new API
Daniel Veillard 7069f7
- Add a public API to invoke suspend/resume on the host
Daniel Veillard 7069f7
- various improvements for LXC containers
Daniel Veillard 7069f7
- Define keepalive protocol and add virConnectIsAlive API
Daniel Veillard 7069f7
- Add support for STP and VLAN filtering
Daniel Veillard 7069f7
- many improvements and bug fixes
Daniel Veillard 7069f7
Justin M. Forbes 2cac7d
* Mon Nov 14 2011 Justin M. Forbes <jforbes@redhat.com> - 0.9.7-3
Justin M. Forbes 2cac7d
- Remove versioned buildreq for yajl as 2.0.x features are not required.
Justin M. Forbes 2cac7d
Daniel P. Berrange 913c3c
* Thu Nov 10 2011 Daniel P. Berrange <berrange@redhat.com> - 0.9.7-2
Daniel P. Berrange 913c3c
- Rebuild for yajl 2.0.1
Daniel P. Berrange 913c3c
Daniel P. Berrange 8c8aca
* Tue Nov  8 2011 Daniel P. Berrange <berrange@redhat.com> - 0.9.7-1
Daniel P. Berrange 8c8aca
- Update to 0.9.7 release
Daniel P. Berrange 8c8aca
Dan HorĂ¡k daf8e1
* Tue Oct 11 2011 Dan HorĂ¡k <dan[at]danny.cz> - 0.9.6-3
Dan HorĂ¡k daf8e1
- xenlight available only on Xen arches (#745020)
Dan HorĂ¡k daf8e1
Laine Stump 38c4b7
* Mon Oct  3 2011 Laine Stump <laine@redhat.com> - 0.9.6-2
Laine Stump 38c4b7
- Make PCI multifunction support more manual - Bug 742836
Laine Stump 38c4b7
- F15 build still uses cgconfig - Bug 738725
Laine Stump 38c4b7
Daniel Veillard 4d0048
* Thu Sep 22 2011 Daniel Veillard <veillard@redhat.com> - 0.9.6-1
Daniel Veillard 4d0048
- Fix the qemu reboot bug and a few others bug fixes
Daniel Veillard 4d0048
Daniel Veillard a6831c
* Tue Sep 20 2011 Daniel Veillard <veillard@redhat.com> - 0.9.5-1
Daniel Veillard a6831c
- many snapshot improvements (Eric Blake)
Daniel Veillard a6831c
- latency: Define new public API and structure (Osier Yang)
Daniel Veillard a6831c
- USB2 and various USB improvements (Marc-André Lureau)
Daniel Veillard a6831c
- storage: Add fs pool formatting (Osier Yang)
Daniel Veillard a6831c
- Add public API for getting migration speed (Jim Fehlig)
Daniel Veillard a6831c
- Add basic driver for Microsoft Hyper-V (Matthias Bolte)
Daniel Veillard a6831c
- many improvements and bug fixes
Daniel Veillard a6831c
Daniel Veillard c363c7
* Wed Aug  3 2011 Daniel Veillard <veillard@redhat.com> - 0.9.4-1
Daniel Veillard c363c7
- network bandwidth QoS control
Daniel Veillard c363c7
- Add new API virDomainBlockPull*
Daniel Veillard c363c7
- save: new API to manipulate save file images
Daniel Veillard c363c7
- CPU bandwidth limits support
Daniel Veillard c363c7
- allow to send NMI and key event to guests
Daniel Veillard c363c7
- new API virDomainUndefineFlags
Daniel Veillard c363c7
- Implement code to attach to external QEMU instances
Daniel Veillard c363c7
- bios: Add support for SGA
Daniel Veillard c363c7
- various missing python binding
Daniel Veillard c363c7
- many improvements and bug fixes
Daniel Veillard c363c7
Dan Horak 18ee6d
* Sat Jul 30 2011 Dan Hor?k <dan[at]danny.cz> - 0.9.3-3
Dan Horak 18ee6d
- xenlight available only on Xen arches
Dan Horak 18ee6d
Peter Robinson 459eb4
* Wed Jul  5 2011 Peter Robinson <pbrobinson@gmail.com> - 0.9.3-2
Peter Robinson 459eb4
- Add ARM to NUMA platform excludes
Peter Robinson 459eb4
Daniel Veillard d7b412
* Mon Jul  4 2011 Daniel Veillard <veillard@redhat.com> - 0.9.3-1
Daniel Veillard d7b412
- new API virDomainGetVcpupinInfo
Daniel Veillard d7b412
- Add TXT record support for virtual DNS service
Daniel Veillard d7b412
- Support reboots with the QEMU driver
Daniel Veillard d7b412
- New API virDomainGetControlInfo API
Daniel Veillard d7b412
- New API virNodeGetMemoryStats
Daniel Veillard d7b412
- New API virNodeGetCPUTime
Daniel Veillard d7b412
- New API for send-key
Daniel Veillard d7b412
- New API virDomainPinVcpuFlags
Daniel Veillard d7b412
- support multifunction PCI device
Daniel Veillard d7b412
- lxc: various improvements
Daniel Veillard d7b412
- many improvements and bug fixes
Daniel Veillard d7b412
2e1539
* Wed Jun 29 2011 Richard W.M. Jones <rjones@redhat.com> - 0.9.2-3
2e1539
- Rebuild because of libparted soname bump (libparted.so.0 -> libparted.so.1).
2e1539
Laine Stump ee9521
* Tue Jun 21 2011 Laine Stump <laine@redhat.com> - 0.9.2-2
Laine Stump ee9521
- add rule to require netcf-0.1.8 during build so that new transactional
Laine Stump ee9521
  network change APIs are included.
Laine Stump ee9521
- document that CVE-2011-2178 has been fixed (by virtue of rebase
Laine Stump ee9521
  to 0.9.2 - see https://bugzilla.redhat.com/show_bug.cgi?id=709777)
Laine Stump ee9521
Daniel Veillard e79d30
* Mon Jun  6 2011 Daniel Veillard <veillard@redhat.com> - 0.9.2-1
Daniel Veillard e79d30
- Framework for lock manager plugins
Daniel Veillard e79d30
- API for network config change transactions
Daniel Veillard e79d30
- flags for setting memory parameters
Daniel Veillard e79d30
- virDomainGetState public API
Daniel Veillard e79d30
- qemu: allow blkstat/blkinfo calls during migration
Daniel Veillard e79d30
- Introduce migration v3 API
Daniel Veillard e79d30
- Defining the Screenshot public API
Daniel Veillard e79d30
- public API for NMI injection
Daniel Veillard e79d30
- Various improvements and bug fixes
Daniel Veillard e79d30
db03f0
* Wed May 25 2011 Richard W.M. Jones <rjones@redhat.com> - 0.9.1-3
db03f0
- Add upstream patches:
db03f0
    0001-json-Avoid-passing-large-positive-64-bit-integers-to.patch
db03f0
    0001-qemudDomainMemoryPeek-change-ownership-selinux-label.patch
db03f0
    0002-remote-remove-bogus-virDomainFree.patch
db03f0
  so that users can try out virt-dmesg.
db03f0
- Change /var/cache mode to 0711.
db03f0
Daniel Veillard 957403
* Thu May  5 2011 Daniel Veillard <veillard@redhat.com> - 0.9.1-1
Daniel Veillard 957403
- support various persistent domain updates
Daniel Veillard 957403
- improvements on memory APIs
Daniel Veillard 957403
- Add virDomainEventRebootNew
Daniel Veillard 957403
- various improvements to libxl driver
Daniel Veillard 957403
- Spice: support audio, images and stream compression
Daniel Veillard 957403
- Various improvements and bug fixes
Daniel Veillard 957403
Daniel Veillard ed6c49
* Thu Apr  7 2011 Daniel Veillard <veillard@redhat.com> - 0.9.0-1
Daniel Veillard ed6c49
- Support cputune cpu usage tuning
Daniel Veillard ed6c49
- Add public APIs for storage volume upload/download
Daniel Veillard ed6c49
- Add public API for setting migration speed on the fly
Daniel Veillard ed6c49
- Add libxenlight driver
Daniel Veillard ed6c49
- qemu: support migration to fd
Daniel Veillard ed6c49
- libvirt: add virDomain{Get,Set}BlkioParameters
Daniel Veillard ed6c49
- setmem: introduce a new libvirt API (virDomainSetMemoryFlags)
Daniel Veillard ed6c49
- Expose event loop implementation as a public API
Daniel Veillard ed6c49
- Dump the debug buffer to libvirtd.log on fatal signal
Daniel Veillard ed6c49
- Audit support
Daniel Veillard ed6c49
- Various improvements and bug fixes
Daniel Veillard ed6c49
Daniel Veillard 47fcec
* Mon Mar 14 2011 Daniel Veillard <veillard@redhat.com> - 0.8.8-3
Daniel Veillard 47fcec
- fix a lack of API check on read-only connections
Daniel Veillard 47fcec
- CVE-2011-1146
Daniel Veillard 47fcec
Daniel P. Berrange d7239a
* Mon Feb 21 2011 Daniel P. Berrange <berrange@redhat.com> - 0.8.8-2
Daniel P. Berrange d7239a
- Fix kernel boot with latest QEMU
Daniel P. Berrange d7239a
Daniel Veillard f13fb1
* Thu Feb 17 2011 Daniel Veillard <veillard@redhat.com> - 0.8.8-1
Daniel Veillard f13fb1
- expose new API for sysinfo extraction
Daniel Veillard f13fb1
- cgroup blkio weight support
Daniel Veillard f13fb1
- smartcard device support
Daniel Veillard f13fb1
- qemu: Support per-device boot ordering
Daniel Veillard f13fb1
- Various improvements and bug fixes
Daniel Veillard f13fb1
Dennis Gilmore d29644
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.7-2
Dennis Gilmore d29644
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
Dennis Gilmore d29644
Daniel Veillard ed9e42
* Thu Jan  6 2011 Daniel Veillard <veillard@redhat.com> - 0.8.7-1
Daniel Veillard ed9e42
- Preliminary support for VirtualBox 4.0
Daniel Veillard ed9e42
- IPv6 support
Daniel Veillard ed9e42
- Add VMware Workstation and Player driver driver
Daniel Veillard ed9e42
- Add network disk support
Daniel Veillard ed9e42
- Various improvements and bug fixes
Daniel Veillard ed9e42
- from 0.8.6:
Daniel Veillard ed9e42
- Add support for iSCSI target auto-discovery
Daniel Veillard ed9e42
- QED: Basic support for QED images
Daniel Veillard ed9e42
- remote console support
Daniel Veillard ed9e42
- support for SPICE graphics
Daniel Veillard ed9e42
- sysinfo and VMBIOS support
Daniel Veillard ed9e42
- virsh qemu-monitor-command
Daniel Veillard ed9e42
- various improvements and bug fixes
Daniel Veillard ed9e42
Daniel Veillard fca1fc
* Fri Oct 29 2010 Daniel Veillard <veillard@redhat.com> - 0.8.5-1
Daniel Veillard fca1fc
- Enable JSON and netdev features in QEMU >= 0.13
Daniel Veillard fca1fc
- framework for auditing integration
Daniel Veillard fca1fc
- framework DTrace/SystemTap integration
Daniel Veillard fca1fc
- Setting the number of vcpu at boot
Daniel Veillard fca1fc
- Enable support for nested SVM
Daniel Veillard fca1fc
- Virtio plan9fs filesystem QEMU
Daniel Veillard fca1fc
- Memory parameter controls
Daniel Veillard fca1fc
- various improvements and bug fixes
Daniel Veillard fca1fc
Jesse Keating f713d6
* Wed Sep 29 2010 jkeating - 0.8.4-3
Jesse Keating f713d6
- Rebuilt for gcc bug 634757
Jesse Keating f713d6
Dan HorĂ¡k 5a45e4
* Thu Sep 16 2010 Dan HorĂ¡k <dan[at]danny.cz> - 0.8.4-2
Dan HorĂ¡k 5a45e4
- disable the nwfilterxml2xmltest also on s390(x)
Dan HorĂ¡k 5a45e4
Daniel Veillard 742b24
* Mon Sep 13 2010 Daniel Veillard <veillard@redhat.com> - 0.8.4-1
Daniel Veillard 742b24
- Upstream release 0.8.4
Daniel Veillard 742b24
Daniel P. Berrange 03369d
* Mon Aug 23 2010 Daniel P. Berrange <berrange@redhat.com> - 0.8.3-2
Daniel P. Berrange 03369d
- Fix potential overflow in boot menu code
Daniel P. Berrange 03369d
Daniel P. Berrange e8394a
* Mon Aug 23 2010 Daniel P. Berrange <berrange@redhat.com> - 0.8.3-1
Daniel P. Berrange e8394a
- Upstream release 0.8.3
Daniel P. Berrange e8394a
dmalcolm f2d6fb
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.8.2-3
dmalcolm f2d6fb
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
dmalcolm f2d6fb
Daniel P. Berrange e3a592
* Mon Jul 12 2010 Daniel P. Berrange <berrange@redhat.com> - 0.8.2-2
Daniel P. Berrange e3a592
- CVE-2010-2237 ignoring defined main disk format when looking up disk backing stores
Daniel P. Berrange e3a592
- CVE-2010-2238 ignoring defined disk backing store format when recursing into disk
Daniel P. Berrange e3a592
  image backing stores
Daniel P. Berrange e3a592
- CVE-2010-2239 not setting user defined backing store format when creating new image
Daniel P. Berrange e3a592
- CVE-2010-2242 libvirt: improperly mapped source privileged ports may allow for
Daniel P. Berrange e3a592
  obtaining privileged resources on the host
Daniel P. Berrange e3a592
Daniel Veillard 7e9981
* Mon Jul  5 2010 Daniel Veillard <veillard@redhat.com> - 0.8.2-1
Daniel Veillard 7e9981
- Upstream release 0.8.2
Daniel Veillard 7e9981
- phyp: adding support for IVM
Daniel Veillard 7e9981
- libvirt: introduce domainCreateWithFlags API
Daniel Veillard 7e9981
- add 802.1Qbh and 802.1Qbg switches handling
Daniel Veillard 7e9981
- Support for VirtualBox version 3.2
Daniel Veillard 7e9981
- Init script for handling guests on shutdown/boot
Daniel Veillard 7e9981
- qemu: live migration with non-shared storage for kvm
Daniel Veillard 7e9981
Daniel Veillard a160d7
* Fri Apr 30 2010 Daniel Veillard <veillard@redhat.com> - 0.8.1-1
Daniel Veillard 7e9981
- Upstream release 0.8.1
Daniel Veillard a160d7
- Starts dnsmasq from libvirtd with --dhcp-hostsfile
Daniel Veillard a160d7
- Add virDomainGetBlockInfo API to query disk sizing
Daniel Veillard a160d7
- a lot of bug fixes and cleanups
Daniel Veillard a160d7
Daniel Veillard 36cab8
* Mon Apr 12 2010 Daniel Veillard <veillard@redhat.com> - 0.8.0-1
Daniel Veillard 36cab8
- Upstream release 0.8.0
Daniel Veillard 36cab8
- Snapshotting support (QEmu/VBox/ESX)
Daniel Veillard 36cab8
- Network filtering API
Daniel Veillard 36cab8
- XenAPI driver
Daniel Veillard 36cab8
- new APIs for domain events
Daniel Veillard 36cab8
- Libvirt managed save API
Daniel Veillard 36cab8
- timer subselection for domain clock
Daniel Veillard 36cab8
- synchronous hooks
Daniel Veillard 36cab8
- API to update guest CPU to host CPU
Daniel Veillard 36cab8
- virDomainUpdateDeviceFlags new API
Daniel Veillard 36cab8
- migrate max downtime API
Daniel Veillard 36cab8
- volume wiping API
Daniel Veillard 36cab8
- and many bug fixes
Daniel Veillard 36cab8
Richard W.M. Jones 7b7b86
* Tue Mar 30 2010 Richard W.M. Jones <rjones@redhat.com> - 0.7.7-3.fc14
Richard W.M. Jones 7b7b86
- No change, just rebuild against new libparted with bumped soname.
Richard W.M. Jones 7b7b86
Cole Robinson f4bfe6
* Mon Mar 22 2010 Cole Robinson <crobinso@redhat.com> - 0.7.7-2.fc14
Cole Robinson f4bfe6
- Fix USB devices by product with security enabled (bz 574136)
Cole Robinson f4bfe6
- Set kernel/initrd in security driver, fixes some URL installs (bz 566425)
Cole Robinson f4bfe6
Daniel Veillard 0e9d24
* Fri Mar  5 2010 Daniel Veillard <veillard@redhat.com> - 0.7.7-1
Daniel Veillard 0e9d24
- macvtap support
Daniel Veillard 0e9d24
- async job handling
Daniel Veillard 0e9d24
- virtio channel
Daniel Veillard 0e9d24
- computing baseline CPU
Daniel Veillard 0e9d24
- virDomain{Attach,Detach}DeviceFlags
Daniel Veillard 0e9d24
- assorted bug fixes and lots of cleanups
Daniel Veillard 0e9d24
Adam Jackson 62e4e7
* Tue Feb 16 2010 Adam Jackson <ajax@redhat.com> 0.7.6-2
Adam Jackson 62e4e7
- libvirt-0.7.6-add-needed.patch: Fix FTBFS from --no-add-needed
Adam Jackson e24467
- Add BuildRequires: xmlrpc-c-client for libxmlrpc_client.so
Adam Jackson 62e4e7
Daniel Veillard 47e7e1
* Wed Feb  3 2010 Daniel Veillard <veillard@redhat.com> - 0.7.6-1
Daniel Veillard 47e7e1
- upstream release of 0.7.6
Daniel Veillard 47e7e1
- Use QEmu new device adressing when possible
Daniel Veillard 47e7e1
- Implement CPU topology support for QEMU driver
Daniel Veillard 47e7e1
- Implement SCSI controller hotplug/unplug for QEMU
Daniel Veillard 47e7e1
- Implement support for multi IQN
Daniel Veillard 47e7e1
- a lot of fixes and improvements
Daniel Veillard 47e7e1
Chris Weyl e73b75
* Thu Jan 14 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.7.5-3
Chris Weyl e73b75
- bump for libssh2 rebuild
Chris Weyl e73b75
Daniel P. Berrange 8193a5
* Tue Jan 12 2010 Daniel P. Berrange <berrange@redhat.com> - 0.7.5-2
Daniel P. Berrange 8193a5
- Rebuild for libparted soname change
Daniel P. Berrange 8193a5
Daniel Veillard 4717aa
* Wed Dec 23 2009 Daniel Veillard <veillard@redhat.com> - 0.7.5-1
Daniel Veillard 4717aa
- Add new API virDomainMemoryStats
Daniel Veillard 4717aa
- Public API and domain extension for CPU flags
Daniel Veillard 4717aa
- vbox: Add support for version 3.1
Daniel Veillard 4717aa
- Support QEMU's virtual FAT block device driver
Daniel Veillard 4717aa
- a lot of fixes
Daniel Veillard 4717aa
Daniel Veillard 6470ed
* Fri Nov 20 2009 Daniel Veillard <veillard@redhat.com> - 0.7.4-1
Daniel Veillard 6470ed
- upstream release of 0.7.4
Daniel Veillard ee0273
- udev node device backend
Daniel Veillard ee0273
- API to check object properties
Daniel Veillard ee0273
- better QEmu monitor processing
Daniel Veillard ee0273
- MAC address based port filtering for qemu
Daniel Veillard ee0273
- support IPv6 and multiple addresses per interfaces
Daniel Veillard ee0273
- a lot of fixes
Daniel Veillard ee0273
Daniel P. Berrange 50fce7
* Thu Nov 19 2009 Daniel P. Berrange <berrange@redhat.com> - 0.7.2-6
Daniel P. Berrange 50fce7
- Really fix restore file labelling this time
Daniel P. Berrange 50fce7
Daniel P. Berrange e29f71
* Wed Nov 11 2009 Daniel P. Berrange <berrange@redhat.com> - 0.7.2-5
Daniel P. Berrange e29f71
- Disable numactl on s390[x]. Again.
Daniel P. Berrange e29f71
Daniel P. Berrange 427ed2
* Wed Nov 11 2009 Daniel P. Berrange <berrange@redhat.com> - 0.7.2-4
Daniel P. Berrange 427ed2
- Fix QEMU save/restore permissions / labelling
Daniel P. Berrange 427ed2
Mark McLoughlin d23e6c
* Thu Oct 29 2009 Mark McLoughlin <markmc@redhat.com> - 0.7.2-3
Mark McLoughlin d23e6c
- Avoid compressing small log files (#531030)
Mark McLoughlin d23e6c
Mark McLoughlin 762435
* Thu Oct 29 2009 Mark McLoughlin <markmc@redhat.com> - 0.7.2-2
Mark McLoughlin 762435
- Make libvirt-devel require libvirt-client, not libvirt
Mark McLoughlin 2c139b
- Fix qemu machine types handling
Mark McLoughlin 762435
Daniel Veillard 6383d6
* Wed Oct 14 2009 Daniel Veillard <veillard@redhat.com> - 0.7.2-1
Daniel Veillard 6383d6
- Upstream release of 0.7.2
Daniel Veillard 6383d6
- Allow to define ESX domains
Daniel Veillard 6383d6
- Allows suspend and resulme of LXC domains
Daniel Veillard 6383d6
- API for data streams
Daniel Veillard 6383d6
- many bug fixes
Daniel Veillard 6383d6
Mark McLoughlin 9d0bc8
* Tue Oct 13 2009 Mark McLoughlin <markmc@redhat.com> - 0.7.1-12
Mark McLoughlin 9d0bc8
- Fix restore of qemu guest using raw save format (#523158)
Mark McLoughlin 9d0bc8
Mark McLoughlin 90dddf
* Fri Oct  9 2009 Mark McLoughlin <markmc@redhat.com> - 0.7.1-11
Mark McLoughlin 90dddf
- Fix libvirtd memory leak during error reply sending (#528162)
Mark McLoughlin 90dddf
- Add several PCI hot-unplug typo fixes from upstream
Mark McLoughlin 90dddf
Mark McLoughlin 86abd5
* Tue Oct  6 2009 Mark McLoughlin <markmc@redhat.com> - 0.7.1-10
Mark McLoughlin 86abd5
- Create /var/log/libvirt/{lxc,uml} dirs for logrotate
Mark McLoughlin 86abd5
- Make libvirt-python dependon on libvirt-client
Mark McLoughlin 86abd5
- Sync misc minor changes from upstream spec
Mark McLoughlin 86abd5
Mark McLoughlin 4ab5ad
* Tue Oct  6 2009 Mark McLoughlin <markmc@redhat.com> - 0.7.1-9
Mark McLoughlin 4ab5ad
- Change logrotate config to weekly (#526769)
Mark McLoughlin 4ab5ad
Mark McLoughlin 38cf1b
* Thu Oct  1 2009 Mark McLoughlin <markmc@redhat.com> - 0.7.1-8
Mark McLoughlin 38cf1b
- Disable sound backend, even when selinux is disabled (#524499)
Mark McLoughlin f9c1b7
- Re-label qcow2 backing files (#497131)
Mark McLoughlin 38cf1b
Mark McLoughlin aeda45
* Wed Sep 30 2009 Mark McLoughlin <markmc@redhat.com> - 0.7.1-7
Mark McLoughlin aeda45
- Fix USB device passthrough (#522683)
Mark McLoughlin aeda45
Chris Weyl 288291
* Mon Sep 21 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.7.1-6
Chris Weyl 288291
- rebuild for libssh2 1.2
Chris Weyl 288291
Mark McLoughlin 7c2073
* Mon Sep 21 2009 Mark McLoughlin <markmc@redhat.com> - 0.7.1-5
Mark McLoughlin 7c2073
- Don't set a bogus error in virDrvSupportsFeature()
Mark McLoughlin 7c2073
- Fix raw save format
Mark McLoughlin 7c2073
Mark McLoughlin 5b528b
* Thu Sep 17 2009 Mark McLoughlin <markmc@redhat.com> - 0.7.1-4
Mark McLoughlin 4f731a
- A couple of hot-unplug memory handling fixes (#523953)
Mark McLoughlin f1ac00
Daniel Veillard e45b9c
* Thu Sep 17 2009 Daniel Veillard <veillard@redhat.com> - 0.7.1-3
Daniel Veillard e45b9c
- disable numactl on s390[x]
Daniel Veillard e45b9c
Daniel Veillard 3cf75c
* Thu Sep 17 2009 Daniel Veillard <veillard@redhat.com> - 0.7.1-2
Daniel Veillard 3cf75c
- revamp of spec file for modularity and RHELs
Daniel Veillard 3cf75c
Daniel Veillard 585033
* Tue Sep 15 2009 Daniel Veillard <veillard@redhat.com> - 0.7.1-1
Daniel Veillard 585033
- Upstream release of 0.7.1
Daniel Veillard 585033
- ESX, VBox driver updates
Daniel Veillard 585033
- mutipath support
Daniel Veillard 585033
- support for encrypted (qcow) volume
Daniel Veillard 585033
- compressed save image format for Qemu/KVM
Daniel Veillard 585033
- QEmu host PCI device hotplug support
Daniel Veillard 585033
- configuration of huge pages in guests
Daniel Veillard 585033
- a lot of fixes
Daniel Veillard 585033
Mark McLoughlin 897506
* Mon Sep 14 2009 Mark McLoughlin <markmc@redhat.com> - 0.7.1-0.2.gitfac3f4c
Mark McLoughlin 897506
- Update to newer snapshot of 0.7.1
Mark McLoughlin 897506
- Stop libvirt using untrusted 'info vcpus' PID data (#520864)
Mark McLoughlin 897506
- Support relabelling of USB and PCI devices
Mark McLoughlin 897506
- Enable multipath storage support
Mark McLoughlin 897506
- Restart libvirtd upon RPM upgrade
Mark McLoughlin 897506
Mark McLoughlin e4bf8f
* Sun Sep  6 2009 Mark McLoughlin <markmc@redhat.com> - 0.7.1-0.1.gitg3ef2e05
Mark McLoughlin e4bf8f
- Update to pre-release git snapshot of 0.7.1
Mark McLoughlin e4bf8f
- Drop upstreamed patches
Mark McLoughlin e4bf8f
Mark McLoughlin aa0373
* Wed Aug 19 2009 Mark McLoughlin <markmc@redhat.com> - 0.7.0-6
Mark McLoughlin aa0373
- Fix migration completion with newer versions of qemu (#516187)
Mark McLoughlin aa0373
Mark McLoughlin c034c1
* Wed Aug 19 2009 Mark McLoughlin <markmc@redhat.com> - 0.7.0-5
Mark McLoughlin c034c1
- Add PCI host device hotplug support
Mark McLoughlin c034c1
- Allow PCI bus reset to reset other devices (#499678)
Mark McLoughlin c034c1
- Fix stupid PCI reset error message (bug #499678)
Mark McLoughlin c034c1
- Allow PM reset on multi-function PCI devices (bug #515689)
Mark McLoughlin c034c1
- Re-attach PCI host devices after guest shuts down (bug #499561)
Mark McLoughlin c034c1
- Fix list corruption after disk hot-unplug
Mark McLoughlin c034c1
- Fix minor 'virsh nodedev-list --tree' annoyance
Mark McLoughlin c034c1
Daniel P. Berrange 581b5f
* Thu Aug 13 2009 Daniel P. Berrange <berrange@redhat.com> - 0.7.0-4
Daniel P. Berrange c476c8
- Rewrite policykit support (rhbz #499970)
Daniel P. Berrange 581b5f
- Log and ignore NUMA topology problems (rhbz #506590)
Daniel P. Berrange c476c8
Mark McLoughlin 2105d6
* Mon Aug 10 2009 Mark McLoughlin <markmc@redhat.com> - 0.7.0-3
Mark McLoughlin b93eaf
- Don't fail to start network if ipv6 modules is not loaded (#516497)
Mark McLoughlin 2105d6
Mark McLoughlin 743adf
* Thu Aug  6 2009 Mark McLoughlin <markmc@redhat.com> - 0.7.0-2
Mark McLoughlin 743adf
- Make sure qemu can access kernel/initrd (bug #516034)
Mark McLoughlin 743adf
- Set perms on /var/lib/libvirt/boot to 0711 (bug #516034)
Mark McLoughlin 743adf
Mark McLoughlin 743adf
* Wed Aug  5 2009 Daniel Veillard <veillard@redhat.com> - 0.7.0-1
Daniel Veillard 11e3b5
- ESX, VBox3, Power Hypervisor drivers
Daniel Veillard 11e3b5
- new net filesystem glusterfs
Daniel Veillard 11e3b5
- Storage cloning for LVM and Disk backends
Daniel Veillard 11e3b5
- interface implementation based on netcf
Daniel Veillard 11e3b5
- Support cgroups in QEMU driver
Daniel Veillard 11e3b5
- QEmu hotplug NIC support
Daniel Veillard 11e3b5
- a lot of fixes
Daniel Veillard 11e3b5
Daniel Veillard 3cf75c
* Fri Jul  3 2009 Daniel Veillard <veillard@redhat.com> - 0.6.5-1
Daniel Veillard 3cf75c
- release of 0.6.5
Richard W.M. Jones c6c507
Daniel Veillard 3cf75c
* Fri May 29 2009 Daniel Veillard <veillard@redhat.com> - 0.6.4-1
Daniel Veillard 3cf75c
- release of 0.6.4
Daniel Veillard 3cf75c
- various new APIs
Daniel Veillard bae7a0
Daniel Veillard 3cf75c
* Fri Apr 24 2009 Daniel Veillard <veillard@redhat.com> - 0.6.3-1
Daniel Veillard 6a7311
- release of 0.6.3
Daniel Veillard 6a7311
- VirtualBox driver
Daniel Veillard 6a7311
Daniel Veillard 3cf75c
* Fri Apr  3 2009 Daniel Veillard <veillard@redhat.com> - 0.6.2-1
Daniel Veillard f5edf7
- release of 0.6.2
Daniel Veillard 481419
Daniel Veillard 3cf75c
* Fri Mar  4 2009 Daniel Veillard <veillard@redhat.com> - 0.6.1-1
Daniel Veillard 3cf75c
- release of 0.6.1
Daniel Veillard 3cf75c
Daniel Veillard 3cf75c
* Sat Jan 31 2009 Daniel Veillard <veillard@redhat.com> - 0.6.0-1
Daniel Veillard 3cf75c
- release of 0.6.0
Daniel Veillard 3cf75c
Daniel Veillard 3cf75c
* Tue Nov 25 2008 Daniel Veillard <veillard@redhat.com> - 0.5.0-1
Daniel Veillard 3cf75c
- release of 0.5.0
Daniel P. Berrange 1e6516
Daniel Veillard 3cf75c
* Tue Sep 23 2008 Daniel Veillard <veillard@redhat.com> - 0.4.6-1
Daniel Veillard 3cf75c
- release of 0.4.6
Chris Lalancette bca27d
Daniel Veillard 3cf75c
* Mon Sep  8 2008 Daniel Veillard <veillard@redhat.com> - 0.4.5-1
Daniel Veillard 3cf75c
- release of 0.4.5
Chris Lalancette 08b914
Daniel Veillard 3cf75c
* Wed Jun 25 2008 Daniel Veillard <veillard@redhat.com> - 0.4.4-1
Daniel Veillard 3cf75c
- release of 0.4.4
Daniel Veillard 3cf75c
- mostly a few bug fixes from 0.4.3
Daniel P. Berrange 206300
Daniel Veillard 3cf75c
* Thu Jun 12 2008 Daniel Veillard <veillard@redhat.com> - 0.4.3-1
Daniel Veillard 3cf75c
- release of 0.4.3
Daniel Veillard 3cf75c
- lots of bug fixes and small improvements
Daniel P. Berrange 81e46c
Daniel Veillard 3cf75c
* Tue Apr  8 2008 Daniel Veillard <veillard@redhat.com> - 0.4.2-1
Daniel Veillard 3cf75c
- release of 0.4.2
Daniel Veillard 3cf75c
- lots of bug fixes and small improvements
Daniel Veillard 263e2f
Daniel Veillard 3cf75c
* Mon Mar  3 2008 Daniel Veillard <veillard@redhat.com> - 0.4.1-1
Daniel Veillard bf744f
- Release of 0.4.1
Daniel Veillard bf744f
- Storage APIs
Daniel Veillard bf744f
- xenner support
Daniel Veillard bf744f
- lots of assorted improvements, bugfixes and cleanups
Daniel Veillard bf744f
- documentation and localization improvements
Daniel Veillard bf744f
Daniel Veillard 3cf75c
* Tue Dec 18 2007 Daniel Veillard <veillard@redhat.com> - 0.4.0-1
Daniel Veillard 4f6679
- Release of 0.4.0
Daniel Veillard 4f6679
- SASL based authentication
Daniel Veillard 4f6679
- PolicyKit authentication
Daniel Veillard 4f6679
- improved NUMA and statistics support
Daniel Veillard 4f6679
- lots of assorted improvements, bugfixes and cleanups
Daniel Veillard 4f6679
- documentation and localization improvements
Daniel Veillard 4f6679
Daniel Veillard 5ad8bc
* Sun Sep 30 2007 Daniel Veillard <veillard@redhat.com> - 0.3.3-1
Daniel Veillard 5ad8bc
- Release of 0.3.3
Daniel Veillard 5ad8bc
- Avahi support
Daniel Veillard 5ad8bc
- NUMA support
Daniel Veillard 5ad8bc
- lots of assorted improvements, bugfixes and cleanups
Daniel Veillard 5ad8bc
- documentation and localization improvements
Daniel Veillard 5ad8bc
Daniel Veillard 3cf75c
* Tue Aug 21 2007 Daniel Veillard <veillard@redhat.com> - 0.3.2-1
Daniel Veillard 55fabd
- Release of 0.3.2
Daniel Veillard 55fabd
- API for domains migration
Daniel Veillard 55fabd
- APIs for collecting statistics on disks and interfaces
Daniel Veillard 55fabd
- lots of assorted bugfixes and cleanups
Daniel Veillard 55fabd
- documentation and localization improvements
Daniel Veillard 55fabd
Daniel Veillard 3cf75c
* Tue Jul 24 2007 Daniel Veillard <veillard@redhat.com> - 0.3.1-1
Daniel Veillard d1a886
- Release of 0.3.1
Daniel Veillard d1a886
- localtime clock support
Daniel Veillard d1a886
- PS/2 and USB input devices
Daniel Veillard d1a886
- lots of assorted bugfixes and cleanups
Daniel Veillard d1a886
- documentation and localization improvements
Daniel Veillard d1a886
Daniel Veillard 3cf75c
* Mon Jul  9 2007 Daniel Veillard <veillard@redhat.com> - 0.3.0-1
Daniel Veillard c70baa
- Release of 0.3.0
Daniel Veillard c70baa
- Secure remote access support
Daniel Veillard c70baa
- unification of daemons
Daniel Veillard c70baa
- lots of assorted bugfixes and cleanups
Daniel Veillard c70baa
- documentation and localization improvements
Daniel Veillard c70baa
Daniel Veillard 3cf75c
* Fri Jun  8 2007 Daniel Veillard <veillard@redhat.com> - 0.2.3-1
Daniel Veillard 52b4d9
- Release of 0.2.3
Daniel Veillard 52b4d9
- lot of assorted bugfixes and cleanups
Daniel Veillard 52b4d9
- support for Xen-3.1
Daniel Veillard 52b4d9
- new scheduler API
Daniel Veillard 52b4d9
Daniel Veillard c70baa
* Tue Apr 17 2007 Daniel Veillard <veillard@redhat.com> - 0.2.2-1
Daniel Veillard 2cac8e
- Release of 0.2.2
Daniel Veillard 2cac8e
- lot of assorted bugfixes and cleanups
Daniel Veillard 2cac8e
- preparing for Xen-3.0.5
Daniel Veillard deefad
Jeremy Katz f6cef9
* Thu Mar 22 2007 Jeremy Katz <katzj@redhat.com> - 0.2.1-2.fc7
Jeremy Katz f6cef9
- don't require xen; we don't need the daemon and can control non-xen now
Jeremy Katz f6cef9
- fix scriptlet error (need to own more directories)
Jeremy Katz f6cef9
- update description text
Jeremy Katz f6cef9
Daniel Veillard c70baa
* Fri Mar 16 2007 Daniel Veillard <veillard@redhat.com> - 0.2.1-1
Daniel Veillard 7a6f07
- Release of 0.2.1
Daniel Veillard 7a6f07
- lot of bug and portability fixes
Daniel Veillard 7a6f07
- Add support for network autostart and init scripts
Daniel Veillard 7a6f07
- New API to detect the virtualization capabilities of a host
Daniel Veillard 7a6f07
- Documentation updates
Daniel Veillard 7a6f07
Daniel P. Berrange 36d558
* Fri Feb 23 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-4.fc7
Daniel P. Berrange 36d558
- Fix loading of guest & network configs
Daniel P. Berrange 36d558
Daniel P. Berrange 98bcee
* Fri Feb 16 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-3.fc7
Daniel P. Berrange 98bcee
- Disable kqemu support since its not in Fedora qemu binary
Daniel P. Berrange 98bcee
- Fix for -vnc arg syntax change in 0.9.0  QEMU
Daniel P. Berrange 98bcee
Daniel P. Berrange 4e70e5
* Thu Feb 15 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-2.fc7
Daniel P. Berrange 4e70e5
- Fixed path to qemu daemon for autostart
Daniel P. Berrange 4e70e5
- Fixed generation of <features> block in XML
Daniel P. Berrange 4e70e5
- Pre-create config directory at startup
Daniel P. Berrange 4e70e5
Daniel Veillard df8a62
* Wed Feb 14 2007 Daniel Veillard <veillard@redhat.com> 0.2.0-1.fc7
Daniel Veillard df8a62
- support for KVM and QEmu
Daniel Veillard df8a62
- support for network configuration
Daniel Veillard df8a62
- assorted fixes
Daniel Veillard df8a62
Daniel Veillard 8e3628
* Mon Jan 22 2007 Daniel Veillard <veillard@redhat.com> 0.1.11-1.fc7
Daniel Veillard 8e3628
- finish inactive Xen domains support
Daniel Veillard 8e3628
- memory leak fix
Daniel Veillard 8e3628
- RelaxNG schemas for XML configs
Daniel Veillard 8e3628
Daniel Veillard cd0f44
* Wed Dec 20 2006 Daniel Veillard <veillard@redhat.com> 0.1.10-1.fc7
Daniel Veillard cd0f44
- support for inactive Xen domains
Daniel Veillard cd0f44
- improved support for Xen display and vnc
Daniel Veillard cd0f44
- a few bug fixes
Daniel Veillard cd0f44
- localization updates
Daniel Veillard cd0f44
Jeremy Katz dcd808
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 0.1.9-2
Jeremy Katz dcd808
- rebuild against python 2.5
Jeremy Katz dcd808
Daniel Veillard 8713d4
* Wed Nov 29 2006 Daniel Veillard <veillard@redhat.com> 0.1.9-1
Daniel Veillard 8713d4
- better error reporting
Daniel Veillard 8713d4
- python bindings fixes and extensions
Daniel Veillard 8713d4
- add support for shareable drives
Daniel Veillard 8713d4
- add support for non-bridge style networking
Daniel Veillard 8713d4
- hot plug device support
Daniel Veillard 8713d4
- added support for inactive domains
Daniel Veillard 8713d4
- API to dump core of domains
Daniel Veillard 8713d4
- various bug fixes, cleanups and improvements
Daniel Veillard 8713d4
- updated the localization
Daniel Veillard 8713d4
Daniel Veillard 68efef
* Tue Nov  7 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-3
Daniel Veillard 68efef
- it's pkgconfig not pgkconfig !
Daniel Veillard 68efef
Daniel Veillard 1c5afb
* Mon Nov  6 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-2
Daniel Veillard 3cf75c
- fixing spec file, added %dist, -devel requires pkgconfig and xen-devel
Daniel Veillard 1c5afb
- Resolves: rhbz#202320
Daniel Veillard 1c5afb
Daniel Veillard e61694
* Mon Oct 16 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-1
Daniel Veillard 608f91
- fix missing page size detection code for ia64
Daniel Veillard 608f91
- fix mlock size when getting domain info list from hypervisor
Daniel Veillard e61694
- vcpu number initialization
Daniel Veillard e61694
- don't label crashed domains as shut off
Daniel Veillard e61694
- fix virsh man page
Daniel Veillard e61694
- blktapdd support for alternate drivers like blktap
Daniel Veillard e61694
- memory leak fixes (xend interface and XML parsing)
Daniel Veillard e61694
- compile fix
Daniel Veillard e61694
- mlock/munlock size fixes
Daniel Veillard 608f91
Daniel Veillard 608f91
* Fri Sep 22 2006 Daniel Veillard <veillard@redhat.com> 0.1.7-1
Daniel Veillard b28edd
- Fix bug when running against xen-3.0.3 hypercalls
Daniel Veillard b28edd
- Fix memory bug when getting vcpus info from xend
Daniel Veillard b28edd
Daniel Veillard 5c1d88
* Fri Sep 22 2006 Daniel Veillard <veillard@redhat.com> 0.1.6-1
Daniel Veillard 5c1d88
- Support for localization
Daniel Veillard 5c1d88
- Support for new Xen-3.0.3 cdrom and disk configuration
Daniel Veillard 5c1d88
- Support for setting VNC port
Daniel Veillard 5c1d88
- Fix bug when running against xen-3.0.2 hypercalls
Daniel Veillard 5c1d88
- Fix reconnection problem when talking directly to http xend
Daniel Veillard 5c1d88
Jeremy Katz 54c7c9
* Tue Sep  5 2006 Jeremy Katz <katzj@redhat.com> - 0.1.5-3
Jeremy Katz 54c7c9
- patch from danpb to support new-format cd devices for HVM guests
Jeremy Katz 54c7c9
Daniel Veillard ecaf0e
* Tue Sep  5 2006 Daniel Veillard <veillard@redhat.com> 0.1.5-2
Daniel Veillard ecaf0e
- reactivating ia64 support
Daniel Veillard ecaf0e
Daniel Veillard 313e00
* Tue Sep  5 2006 Daniel Veillard <veillard@redhat.com> 0.1.5-1
Daniel Veillard 313e00
- new release
Daniel Veillard 313e00
- bug fixes
Daniel Veillard 313e00
- support for new hypervisor calls
Daniel Veillard 313e00
- early code for config files and defined domains
Daniel Veillard 313e00
Daniel P. Berrange b3a53e
* Mon Sep  4 2006 Daniel Berrange <berrange@redhat.com> - 0.1.4-5
Daniel P. Berrange b3a53e
- add patch to address dom0_ops API breakage in Xen 3.0.3 tree
Daniel P. Berrange b3a53e
Jeremy Katz fdaa69
* Mon Aug 28 2006 Jeremy Katz <katzj@redhat.com> - 0.1.4-4
Daniel Veillard 3cf75c
- add patch to support paravirt framebuffer in Xen
Jeremy Katz fdaa69
Daniel Veillard cf2cd8
* Mon Aug 21 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-3
Daniel Veillard cf2cd8
- another patch to fix network handling in non-HVM guests
Daniel Veillard cf2cd8
Daniel Veillard f2572a
* Thu Aug 17 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-2
Daniel Veillard f2572a
- patch to fix virParseUUID()
Daniel Veillard f2572a
Daniel Veillard 90a17a
* Wed Aug 16 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-1
Daniel Veillard 90a17a
- vCPUs and affinity support
Daniel Veillard 90a17a
- more complete XML, console and boot options
Daniel Veillard 90a17a
- specific features support
Daniel Veillard 90a17a
- enforced read-only connections
Daniel Veillard 90a17a
- various improvements, bug fixes
Daniel Veillard 90a17a
Jeremy Katz 9f2e4f
* Wed Aug  2 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-6
Jeremy Katz 9f2e4f
- add patch from pvetere to allow getting uuid from libvirt
Jeremy Katz 9f2e4f
Jeremy Katz 0d3a7d
* Wed Aug  2 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-5
Jeremy Katz 0d3a7d
- build on ia64 now
Jeremy Katz 0d3a7d
Jeremy Katz f68d72
* Thu Jul 27 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-4
Jeremy Katz f68d72
- don't BR xen, we just need xen-devel
Jeremy Katz f68d72
Daniel Veillard 044e9b
* Thu Jul 27 2006 Daniel Veillard <veillard@redhat.com> 0.1.3-3
Daniel Veillard 044e9b
- need rebuild since libxenstore is now versionned
Daniel Veillard 044e9b
Mark McLoughlin 96a9b8
* Mon Jul 24 2006 Mark McLoughlin <markmc@redhat.com> - 0.1.3-2
Mark McLoughlin 96a9b8
- Add BuildRequires: xen-devel
Mark McLoughlin 96a9b8
Jesse Keating 66a051
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.1.3-1.1
Jesse Keating 66a051
- rebuild
Jesse Keating 66a051
Daniel Veillard 0caeb2
* Tue Jul 11 2006 Daniel Veillard <veillard@redhat.com> 0.1.3-1
Daniel Veillard 0caeb2
- support for HVM Xen guests
Daniel Veillard 0caeb2
- various bugfixes
Daniel Veillard 0caeb2
Daniel Veillard cb5468
* Mon Jul  3 2006 Daniel Veillard <veillard@redhat.com> 0.1.2-1
Daniel Veillard cb5468
- added a proxy mechanism for read only access using httpu
Daniel Veillard cb5468
- fixed header includes paths
Daniel Veillard cb5468
Daniel Veillard bd474a
* Wed Jun 21 2006 Daniel Veillard <veillard@redhat.com> 0.1.1-1
Daniel Veillard bd474a
- extend and cleanup the driver infrastructure and code
Daniel Veillard bd474a
- python examples
Daniel Veillard bd474a
- extend uuid support
Daniel Veillard bd474a
- bug fixes, buffer handling cleanups
Daniel Veillard bd474a
- support for new Xen hypervisor API
Daniel Veillard bd474a
- test driver for unit testing
Daniel Veillard bd474a
- virsh --conect argument
Daniel Veillard bd474a
Daniel Veillard d55c7f
* Mon Apr 10 2006 Daniel Veillard <veillard@redhat.com> 0.1.0-1
Daniel Veillard d55c7f
- various fixes
Daniel Veillard d55c7f
- new APIs: for Node information and Reboot
Daniel Veillard d55c7f
- virsh improvements and extensions
Daniel Veillard d55c7f
- documentation updates and man page
Daniel Veillard d55c7f
- enhancement and fixes of the XML description format
Daniel Veillard d55c7f
Daniel Veillard f04b8f
* Tue Feb 28 2006 Daniel Veillard <veillard@redhat.com> 0.0.6-1
Daniel Veillard f04b8f
- added error handling APIs
Daniel Veillard f04b8f
- small bug fixes
Daniel Veillard f04b8f
- improve python bindings
Daniel Veillard f04b8f
- augment documentation and regression tests
Daniel Veillard f04b8f
Daniel Veillard ba3d2d
* Thu Feb 23 2006 Daniel Veillard <veillard@redhat.com> 0.0.5-1
Daniel Veillard ba3d2d
- new domain creation API
Daniel Veillard ba3d2d
- new UUID based APIs
Daniel Veillard ba3d2d
- more tests, documentation, devhelp
Daniel Veillard ba3d2d
- bug fixes
Daniel Veillard ba3d2d
Daniel Veillard f3f289
* Fri Feb 10 2006 Daniel Veillard <veillard@redhat.com> 0.0.4-1
Daniel Veillard f3f289
- fixes some problems in 0.0.3 due to the change of names
Daniel Veillard f3f289
Daniel Veillard e2b90f
* Wed Feb  8 2006 Daniel Veillard <veillard@redhat.com> 0.0.3-1
Daniel Veillard 3cf75c
- changed library name to libvirt from libvir, complete and test the python
Daniel Veillard e2b90f
  bindings
Daniel Veillard e2b90f
Daniel Veillard e2b90f
* Sun Jan 29 2006 Daniel Veillard <veillard@redhat.com> 0.0.2-1
Daniel Veillard e2b90f
- upstream release of 0.0.2, use xend, save and restore added, python bindings
Daniel Veillard e2b90f
  fixed
Daniel Veillard e2b90f
Daniel Veillard e2b90f
* Wed Nov  2 2005 Daniel Veillard <veillard@redhat.com> 0.0.1-1
Daniel Veillard e2b90f
- created