TEMP disable %check
[libvirt/apevec.git] / libvirt.spec.in
blob923974dc18949a79d7af747913f755222387e68f
1 # -*- rpm-spec -*-
3 # A client only build will create a libvirt.so only containing
4 # the generic RPC driver, and test driver and no libvirtd
5 # Default to a full server + client build
6 %define client_only 0
8 # Now turn off server build in certain cases
10 # RHEL-5 builds are client-only for s390, ppc
11 %if 0%{?rhel} == 5
12 %ifnarch i386 i586 i686 x86_64 ia64
13 %define client_only 1
14 %endif
15 %endif
17 # Disable all server side drivers if client only build requested
18 %if %{client_only}
19 %define server_drivers 0
20 %else
21 %define server_drivers 1
22 %endif
25 # Now set the defaults for all the important features, independent
26 # of any particular OS
28 # First the daemon itself
29 %define with_libvirtd 0%{!?_without_libvirtd:%{server_drivers}}
30 %define with_avahi 0%{!?_without_avahi:%{server_drivers}}
32 # Then the hypervisor drivers that run on local host
33 %define with_xen 0%{!?_without_xen:%{server_drivers}}
34 %define with_xen_proxy 0%{!?_without_xen_proxy:%{server_drivers}}
35 %define with_qemu 0%{!?_without_qemu:%{server_drivers}}
36 %define with_openvz 0%{!?_without_openvz:%{server_drivers}}
37 %define with_lxc 0%{!?_without_lxc:%{server_drivers}}
38 %define with_vbox 0%{!?_without_vbox:%{server_drivers}}
39 %define with_uml 0%{!?_without_uml:%{server_drivers}}
40 %define with_xenapi 0%{!?_without_xenapi:%{server_drivers}}
41 # XXX this shouldn't be here, but it mistakenly links into libvirtd
42 %define with_one 0%{!?_without_one:%{server_drivers}}
44 # Then the hypervisor drivers that talk a native remote protocol
45 %define with_phyp 0%{!?_without_phyp:1}
46 %define with_esx 0%{!?_without_esx:1}
48 # Then the secondary host drivers
49 %define with_network 0%{!?_without_network:%{server_drivers}}
50 %define with_storage_fs 0%{!?_without_storage_fs:%{server_drivers}}
51 %define with_storage_lvm 0%{!?_without_storage_lvm:%{server_drivers}}
52 %define with_storage_iscsi 0%{!?_without_storage_iscsi:%{server_drivers}}
53 %define with_storage_disk 0%{!?_without_storage_disk:%{server_drivers}}
54 %define with_storage_mpath 0%{!?_without_storage_mpath:%{server_drivers}}
55 %define with_numactl 0%{!?_without_numactl:%{server_drivers}}
56 %define with_selinux 0%{!?_without_selinux:%{server_drivers}}
58 # A few optional bits off by default, we enable later
59 %define with_polkit 0%{!?_without_polkit:0}
60 %define with_capng 0%{!?_without_capng:0}
61 %define with_netcf 0%{!?_without_netcf:0}
62 %define with_udev 0%{!?_without_udev:0}
63 %define with_hal 0%{!?_without_hal:0}
64 %define with_yajl 0%{!?_without_yajl:0}
65 %define with_nwfilter 0%{!?_without_nwfilter:0}
66 %define with_libpcap 0%{!?_without_libpcap:0}
67 %define with_macvtap 0%{!?_without_macvtap:0}
68 %define with_libnl 0%{!?_without_libnl:0}
69 %define with_audit 0%{!?_without_audit:0}
70 %define with_dtrace 0%{!?_without_dtrace:0}
72 # Non-server/HV driver defaults which are always enabled
73 %define with_python 0%{!?_without_python:1}
74 %define with_sasl 0%{!?_without_sasl:1}
77 # Finally set the OS / architecture specific special cases
79 # Xen is available only on i386 x86_64 ia64
80 %ifnarch i386 i586 i686 x86_64 ia64
81 %define with_xen 0
82 %endif
84 # Numactl is not available on s390[x]
85 %ifarch s390 s390x
86 %define with_numactl 0
87 %endif
89 # RHEL doesn't ship OpenVZ, VBox, UML, OpenNebula, PowerHypervisor, ESX,
90 # or libxenserver (xenapi)
91 %if 0%{?rhel}
92 %define with_openvz 0
93 %define with_vbox 0
94 %define with_uml 0
95 %define with_one 0
96 %define with_phyp 0
97 %define with_esx 0
98 %define with_xenapi 0
99 %endif
101 # RHEL-5 has restricted QEMU to x86_64 only and is too old for LXC
102 %if 0%{?rhel} == 5
103 %ifnarch x86_64
104 %define with_qemu 0
105 %endif
106 %define with_lxc 0
107 %endif
109 # RHEL-6 has restricted QEMU to x86_64 only, stopped including Xen
110 # on all archs. Other archs all have LXC available though
111 %if 0%{?rhel} >= 6
112 %ifnarch x86_64
113 %define with_qemu 0
114 %endif
115 %define with_xen 0
116 %endif
118 # If Xen isn't turned on, we shouldn't build the xen proxy either
119 %if ! %{with_xen}
120 %define with_xen_proxy 0
121 %endif
123 # Fedora doesn't have any QEMU on ppc64 - only ppc
124 %if 0%{?fedora}
125 %ifarch ppc64
126 %define with_qemu 0
127 %endif
128 %endif
130 # PolicyKit was introduced in Fedora 8 / RHEL-6 or newer, allowing
131 # the setuid Xen proxy to be killed off
132 %if 0%{?fedora} >= 8 || 0%{?rhel} >= 6
133 %define with_polkit 0%{!?_without_polkit:1}
134 %define with_xen_proxy 0
135 %endif
137 # libcapng is used to manage capabilities in Fedora 12 / RHEL-6 or newer
138 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
139 %define with_capng 0%{!?_without_capng:1}
140 %endif
142 # netcf is used to manage network interfaces in Fedora 12 / RHEL-6 or newer
143 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
144 %define with_netcf 0%{!?_without_netcf:%{server_drivers}}
145 %endif
147 # udev is used to manage host devices in Fedora 12 / RHEL-6 or newer
148 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
149 %define with_udev 0%{!?_without_udev:%{server_drivers}}
150 %else
151 %define with_hal 0%{!?_without_hal:%{server_drivers}}
152 %endif
154 # Enable yajl library for JSON mode with QEMU
155 %if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
156 %define with_yajl 0%{!?_without_yajl:%{server_drivers}}
157 %endif
159 # Enable libpcap library
160 %if %{with_qemu}
161 %define with_nwfilter 0%{!?_without_nwfilter:%{server_drivers}}
162 %define with_libpcap 0%{!?_without_libpcap:%{server_drivers}}
163 %define with_macvtap 0%{!?_without_macvtap:%{server_drivers}}
164 %endif
166 %if %{with_macvtap}
167 %define with_libnl 1
168 %endif
170 %if 0%{?fedora} >= 11 || 0%{?rhel} >= 5
171 %define with_audit 0%{!?_without_audit:1}
172 %endif
174 %if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
175 %define with_dtrace 1
176 %endif
178 # Force QEMU to run as non-root
179 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
180 %define qemu_user qemu
181 %define qemu_group qemu
182 %else
183 %define qemu_user root
184 %define qemu_group root
185 %endif
188 # The RHEL-5 Xen package has some feature backports. This
189 # flag is set to enable use of those special bits on RHEL-5
190 %if 0%{?rhel} == 5
191 %define with_rhel5 1
192 %else
193 %define with_rhel5 0
194 %endif
197 Summary: Library providing a simple API virtualization
198 Name: libvirt
199 Version: @VERSION@
200 Release: 1%{?dist}%{?extra_release}
201 License: LGPLv2+
202 Group: Development/Libraries
203 Source: http://libvirt.org/sources/libvirt-%{version}.tar.gz
204 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
205 URL: http://libvirt.org/
206 BuildRequires: python-devel
208 # The client side, i.e. shared libs and virsh are in a subpackage
209 Requires: %{name}-client = %{version}-%{release}
211 # Used by many of the drivers, so turn it on whenever the
212 # daemon is present
213 %if %{with_libvirtd}
214 Requires: bridge-utils
215 %endif
216 %if %{with_network}
217 Requires: dnsmasq >= 2.41
218 Requires: iptables
219 %endif
220 %if %{with_nwfilter}
221 Requires: ebtables
222 Requires: iptables
223 Requires: iptables-ipv6
224 %endif
225 # needed for device enumeration
226 %if %{with_hal}
227 Requires: hal
228 %endif
229 %if %{with_udev}
230 Requires: udev >= 145
231 %endif
232 %if %{with_polkit}
233 %if 0%{?fedora} >= 12 || 0%{?rhel} >=6
234 Requires: polkit >= 0.93
235 %else
236 Requires: PolicyKit >= 0.6
237 %endif
238 %endif
239 %if %{with_storage_fs}
240 # For mount/umount in FS driver
241 BuildRequires: util-linux
242 # For showmount in FS driver (netfs discovery)
243 BuildRequires: nfs-utils
244 Requires: nfs-utils
245 # For glusterfs
246 %if 0%{?fedora} >= 11
247 Requires: glusterfs-client >= 2.0.1
248 %endif
249 %endif
250 %if %{with_qemu}
251 # From QEMU RPMs
252 Requires: /usr/bin/qemu-img
253 # For image compression
254 Requires: gzip
255 Requires: bzip2
256 Requires: lzop
257 Requires: xz
258 %else
259 %if %{with_xen}
260 # From Xen RPMs
261 Requires: /usr/sbin/qcow-create
262 %endif
263 %endif
264 %if %{with_storage_lvm}
265 # For LVM drivers
266 Requires: lvm2
267 %endif
268 %if %{with_storage_iscsi}
269 # For ISCSI driver
270 Requires: iscsi-initiator-utils
271 %endif
272 %if %{with_storage_disk}
273 # For disk driver
274 Requires: parted
275 %endif
276 %if %{with_storage_mpath}
277 # For multipath support
278 Requires: device-mapper
279 %endif
280 %if %{with_xen}
281 BuildRequires: xen-devel
282 %endif
283 %if %{with_one}
284 BuildRequires: xmlrpc-c-devel >= 1.14.0
285 %endif
286 BuildRequires: libxml2-devel
287 BuildRequires: xhtml1-dtds
288 BuildRequires: readline-devel
289 BuildRequires: ncurses-devel
290 BuildRequires: gettext
291 BuildRequires: gnutls-devel
292 %if %{with_hal}
293 BuildRequires: hal-devel
294 %endif
295 %if %{with_udev}
296 BuildRequires: libudev-devel >= 145
297 BuildRequires: libpciaccess-devel >= 0.10.9
298 %endif
299 %if %{with_yajl}
300 BuildRequires: yajl-devel
301 %endif
302 %if %{with_libpcap}
303 BuildRequires: libpcap-devel
304 %endif
305 %if %{with_libnl}
306 BuildRequires: libnl-devel
307 %endif
308 %if %{with_avahi}
309 BuildRequires: avahi-devel
310 %endif
311 %if %{with_selinux}
312 BuildRequires: libselinux-devel
313 %endif
314 %if %{with_network}
315 BuildRequires: dnsmasq >= 2.41
316 %endif
317 BuildRequires: bridge-utils
318 %if %{with_sasl}
319 BuildRequires: cyrus-sasl-devel
320 %endif
321 %if %{with_polkit}
322 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
323 # Only need the binary, not -devel
324 BuildRequires: polkit >= 0.93
325 %else
326 BuildRequires: PolicyKit-devel >= 0.6
327 %endif
328 %endif
329 %if %{with_storage_fs}
330 # For mount/umount in FS driver
331 BuildRequires: util-linux
332 %endif
333 %if %{with_qemu}
334 # From QEMU RPMs
335 BuildRequires: /usr/bin/qemu-img
336 %else
337 %if %{with_xen}
338 # From Xen RPMs
339 BuildRequires: /usr/sbin/qcow-create
340 %endif
341 %endif
342 %if %{with_storage_lvm}
343 # For LVM drivers
344 BuildRequires: lvm2
345 %endif
346 %if %{with_storage_iscsi}
347 # For ISCSI driver
348 BuildRequires: iscsi-initiator-utils
349 %endif
350 %if %{with_storage_disk}
351 # For disk driver
352 BuildRequires: parted-devel
353 %if 0%{?rhel} == 5
354 # Broken RHEL-5 parted RPM is missing a dep
355 BuildRequires: e2fsprogs-devel
356 %endif
357 %endif
358 %if %{with_storage_mpath}
359 # For Multipath support
360 %if 0%{?rhel} == 5
361 # Broken RHEL-5 packaging has header files in main RPM :-(
362 BuildRequires: device-mapper
363 %else
364 BuildRequires: device-mapper-devel
365 %endif
366 %endif
367 %if %{with_numactl}
368 # For QEMU/LXC numa info
369 BuildRequires: numactl-devel
370 %endif
371 %if %{with_capng}
372 BuildRequires: libcap-ng-devel >= 0.5.0
373 %endif
374 %if %{with_phyp}
375 BuildRequires: libssh2-devel
376 %endif
377 %if %{with_netcf}
378 BuildRequires: netcf-devel >= 0.1.4
379 %endif
380 %if %{with_esx}
381 BuildRequires: libcurl-devel
382 %endif
383 %if %{with_audit}
384 BuildRequires: audit-libs-devel
385 %endif
387 # Fedora build root suckage
388 BuildRequires: gawk
390 %description
391 Libvirt is a C toolkit to interact with the virtualization capabilities
392 of recent versions of Linux (and other OSes). The main package includes
393 the libvirtd server exporting the virtualization support.
395 %package client
396 Summary: Client side library and utilities of the libvirt library
397 Group: Development/Libraries
398 Requires: readline
399 Requires: ncurses
400 # So remote clients can access libvirt over SSH tunnel
401 # (client invokes 'nc' against the UNIX socket on the server)
402 Requires: nc
403 %if %{with_sasl}
404 Requires: cyrus-sasl
405 # Not technically required, but makes 'out-of-box' config
406 # work correctly & doesn't have onerous dependencies
407 Requires: cyrus-sasl-md5
408 %endif
410 %description client
411 Shared libraries and client binaries needed to access to the
412 virtualization capabilities of recent versions of Linux (and other OSes).
414 %package devel
415 Summary: Libraries, includes, etc. to compile with the libvirt library
416 Group: Development/Libraries
417 Requires: %{name}-client = %{version}-%{release}
418 Requires: pkgconfig
419 %if %{with_xen}
420 Requires: xen-devel
421 %endif
423 %description devel
424 Includes and documentations for the C library providing an API to use
425 the virtualization capabilities of recent versions of Linux (and other OSes).
427 %if %{with_python}
428 %package python
429 Summary: Python bindings for the libvirt library
430 Group: Development/Libraries
431 Requires: %{name}-client = %{version}-%{release}
433 %description python
434 The libvirt-python package contains a module that permits applications
435 written in the Python programming language to use the interface
436 supplied by the libvirt library to use the virtualization capabilities
437 of recent versions of Linux (and other OSes).
438 %endif
440 %prep
441 %setup -q
443 %build
444 %if ! %{with_xen}
445 %define _without_xen --without-xen
446 %endif
448 %if ! %{with_qemu}
449 %define _without_qemu --without-qemu
450 %endif
452 %if ! %{with_openvz}
453 %define _without_openvz --without-openvz
454 %endif
456 %if ! %{with_lxc}
457 %define _without_lxc --without-lxc
458 %endif
460 %if ! %{with_vbox}
461 %define _without_vbox --without-vbox
462 %endif
464 %if ! %{with_xenapi}
465 %define _without_xenapi --without-xenapi
466 %endif
468 %if ! %{with_sasl}
469 %define _without_sasl --without-sasl
470 %endif
472 %if ! %{with_avahi}
473 %define _without_avahi --without-avahi
474 %endif
476 %if ! %{with_phyp}
477 %define _without_phyp --without-phyp
478 %endif
480 %if ! %{with_esx}
481 %define _without_esx --without-esx
482 %endif
484 %if ! %{with_polkit}
485 %define _without_polkit --without-polkit
486 %endif
488 %if ! %{with_python}
489 %define _without_python --without-python
490 %endif
492 %if ! %{with_libvirtd}
493 %define _without_libvirtd --without-libvirtd
494 %endif
496 %if ! %{with_uml}
497 %define _without_uml --without-uml
498 %endif
500 %if ! %{with_one}
501 %define _without_one --without-one
502 %endif
504 %if %{with_rhel5}
505 %define _with_rhel5_api --with-rhel5-api
506 %endif
508 %if ! %{with_network}
509 %define _without_network --without-network
510 %endif
512 %if ! %{with_storage_fs}
513 %define _without_storage_fs --without-storage-fs
514 %endif
516 %if ! %{with_storage_lvm}
517 %define _without_storage_lvm --without-storage-lvm
518 %endif
520 %if ! %{with_storage_iscsi}
521 %define _without_storage_iscsi --without-storage-iscsi
522 %endif
524 %if ! %{with_storage_disk}
525 %define _without_storage_disk --without-storage-disk
526 %endif
528 %if ! %{with_storage_mpath}
529 %define _without_storage_mpath --without-storage-mpath
530 %endif
532 %if ! %{with_numactl}
533 %define _without_numactl --without-numactl
534 %endif
536 %if ! %{with_capng}
537 %define _without_capng --without-capng
538 %endif
540 %if ! %{with_netcf}
541 %define _without_netcf --without-netcf
542 %endif
544 %if ! %{with_selinux}
545 %define _without_selinux --without-selinux
546 %endif
548 %if ! %{with_hal}
549 %define _without_hal --without-hal
550 %endif
552 %if ! %{with_udev}
553 %define _without_udev --without-udev
554 %endif
556 %if ! %{with_yajl}
557 %define _without_yajl --without-yajl
558 %endif
560 %if ! %{with_libpcap}
561 %define _without_libpcap --without-libpcap
562 %endif
564 %if ! %{with_macvtap}
565 %define _without_macvtap --without-macvtap
566 %endif
568 %if ! %{with_audit}
569 %define _without_audit --without-audit
570 %endif
572 %if ! %{with_dtrace}
573 %define _without_dtrace --without-dtrace
574 %endif
576 %configure %{?_without_xen} \
577 %{?_without_qemu} \
578 %{?_without_openvz} \
579 %{?_without_lxc} \
580 %{?_without_vbox} \
581 %{?_without_xenapi} \
582 %{?_without_sasl} \
583 %{?_without_avahi} \
584 %{?_without_polkit} \
585 %{?_without_python} \
586 %{?_without_libvirtd} \
587 %{?_without_uml} \
588 %{?_without_one} \
589 %{?_without_phyp} \
590 %{?_without_esx} \
591 %{?_without_network} \
592 %{?_with_rhel5_api} \
593 %{?_without_storage_fs} \
594 %{?_without_storage_lvm} \
595 %{?_without_storage_iscsi} \
596 %{?_without_storage_disk} \
597 %{?_without_storage_mpath} \
598 %{?_without_numactl} \
599 %{?_without_capng} \
600 %{?_without_netcf} \
601 %{?_without_selinux} \
602 %{?_without_hal} \
603 %{?_without_udev} \
604 %{?_without_yajl} \
605 %{?_without_libpcap} \
606 %{?_without_macvtap} \
607 %{?_without_audit} \
608 %{?_without_dtrace} \
609 --with-qemu-user=%{qemu_user} \
610 --with-qemu-group=%{qemu_group} \
611 --with-init-script=redhat \
612 --with-remote-pid-file=%{_localstatedir}/run/libvirtd.pid
613 make %{?_smp_mflags}
614 gzip -9 ChangeLog
616 %install
617 rm -fr %{buildroot}
619 %makeinstall
620 for i in domain-events/events-c dominfo domsuspend hellolibvirt openauth python xml/nwfilter systemtap
622 (cd examples/$i ; make clean ; rm -rf .deps .libs Makefile Makefile.in)
623 done
624 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
625 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
626 rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.la
627 rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a
629 %if %{with_network}
630 install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/lib/libvirt/dnsmasq/
631 # We don't want to install /etc/libvirt/qemu/networks in the main %files list
632 # because if the admin wants to delete the default network completely, we don't
633 # want to end up re-incarnating it on every RPM upgrade.
634 install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/
635 cp $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml \
636 $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
637 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
638 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
639 # Strip auto-generated UUID - we need it generated per-install
640 sed -i -e "/<uuid>/d" $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
641 %else
642 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
643 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
644 %endif
645 %if ! %{with_qemu}
646 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_qemu.aug
647 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
648 %endif
649 %find_lang %{name}
651 %if ! %{with_lxc}
652 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_lxc.aug
653 rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
654 %endif
656 %if ! %{with_python}
657 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-python-%{version}
658 %endif
660 %if %{client_only}
661 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-%{version}
662 %endif
664 %if ! %{with_libvirtd}
665 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/nwfilter
666 %endif
668 %if ! %{with_qemu}
669 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu.conf
670 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.qemu
671 %endif
672 %if ! %{with_lxc}
673 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/lxc.conf
674 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.lxc
675 %endif
676 %if ! %{with_uml}
677 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.uml
678 %endif
680 %clean
681 rm -fr %{buildroot}
683 #%check
684 #cd tests
685 ## These 3 tests don't current work in a mock build root
686 #for i in nodeinfotest daemon-conf seclabeltest
688 # rm -f $i
689 # printf "#!/bin/sh\nexit 0\n" > $i
690 # chmod +x $i
691 #done
692 #make check
694 %pre
695 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
696 # Normally 'setup' adds this in /etc/passwd, but this is
697 # here for case of upgrades from earlier Fedora/RHEL. This
698 # UID/GID pair is reserved for qemu:qemu
699 getent group kvm >/dev/null || groupadd -g 36 -r kvm
700 getent group qemu >/dev/null || groupadd -g 107 -r qemu
701 getent passwd qemu >/dev/null || \
702 useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
703 -c "qemu user" qemu
704 %endif
706 %post
708 %if %{with_libvirtd}
709 %if %{with_network}
710 # We want to install the default network for initial RPM installs
711 # or on the first upgrade from a non-network aware libvirt only.
712 # We check this by looking to see if the daemon is already installed
713 /sbin/chkconfig --list libvirtd 1>/dev/null 2>&1
714 if test $? != 0 && test ! -f %{_sysconfdir}/libvirt/qemu/networks/default.xml
715 then
716 UUID=`/usr/bin/uuidgen`
717 sed -e "s,</name>,</name>\n <uuid>$UUID</uuid>," \
718 < %{_datadir}/libvirt/networks/default.xml \
719 > %{_sysconfdir}/libvirt/qemu/networks/default.xml
720 ln -s ../default.xml %{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
722 %endif
724 /sbin/chkconfig --add libvirtd
725 if [ "$1" -ge "1" ]; then
726 /sbin/service libvirtd condrestart > /dev/null 2>&1
728 %endif
730 %preun
731 %if %{with_libvirtd}
732 if [ $1 = 0 ]; then
733 /sbin/service libvirtd stop 1>/dev/null 2>&1
734 /sbin/chkconfig --del libvirtd
736 %endif
738 %preun client
740 if [ $1 = 0 ]; then
741 /sbin/chkconfig --del libvirt-guests
742 rm -f /var/lib/libvirt/libvirt-guests
745 %post client
747 /sbin/ldconfig
748 /sbin/chkconfig --add libvirt-guests
749 if [ $1 -ge 1 ]; then
750 # this doesn't do anything but allowing for libvirt-guests to be
751 # stopped on the first shutdown
752 /sbin/service libvirt-guests start > /dev/null 2>&1 || true
755 %postun client -p /sbin/ldconfig
757 %if %{with_libvirtd}
758 %files
759 %defattr(-, root, root)
761 %doc AUTHORS ChangeLog.gz NEWS README COPYING.LIB TODO
762 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/
764 %if %{with_network}
765 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/
766 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/
767 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/autostart
768 %endif
770 %dir %attr(0700, root, root) %{_sysconfdir}/libvirt/nwfilter/
771 %{_sysconfdir}/libvirt/nwfilter/*.xml
773 %{_sysconfdir}/rc.d/init.d/libvirtd
774 %config(noreplace) %{_sysconfdir}/sysconfig/libvirtd
775 %config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf
776 %if %{with_dtrace}
777 %{_datadir}/systemtap/tapsets/libvirtd.stp
778 %endif
779 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/
780 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/lxc/
781 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/uml/
783 %if %{with_qemu}
784 %config(noreplace) %{_sysconfdir}/libvirt/qemu.conf
785 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.qemu
786 %endif
787 %if %{with_lxc}
788 %config(noreplace) %{_sysconfdir}/libvirt/lxc.conf
789 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.lxc
790 %endif
791 %if %{with_uml}
792 %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd.uml
793 %endif
795 %dir %{_datadir}/libvirt/
797 %if %{with_network}
798 %dir %{_datadir}/libvirt/networks/
799 %{_datadir}/libvirt/networks/default.xml
800 %endif
802 %dir %{_localstatedir}/run/libvirt/
804 %dir %{_localstatedir}/lib/libvirt/
805 %dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/images/
806 %dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/boot/
807 %dir %attr(0700, root, root) %{_localstatedir}/cache/libvirt/
809 %if %{with_qemu}
810 %dir %attr(0700, root, root) %{_localstatedir}/run/libvirt/qemu/
811 %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/lib/libvirt/qemu/
812 %dir %attr(0750, %{qemu_user}, %{qemu_group}) %{_localstatedir}/cache/libvirt/qemu/
813 %endif
814 %if %{with_lxc}
815 %dir %{_localstatedir}/run/libvirt/lxc/
816 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/lxc/
817 %endif
818 %if %{with_uml}
819 %dir %{_localstatedir}/run/libvirt/uml/
820 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/uml/
821 %endif
822 %if %{with_network}
823 %dir %{_localstatedir}/run/libvirt/network/
824 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/network/
825 %dir %attr(0755, root, root) %{_localstatedir}/lib/libvirt/dnsmasq/
826 %endif
828 %if %{with_qemu}
829 %{_datadir}/augeas/lenses/libvirtd_qemu.aug
830 %{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
831 %endif
833 %if %{with_lxc}
834 %{_datadir}/augeas/lenses/libvirtd_lxc.aug
835 %{_datadir}/augeas/lenses/tests/test_libvirtd_lxc.aug
836 %endif
838 %{_datadir}/augeas/lenses/libvirtd.aug
839 %{_datadir}/augeas/lenses/tests/test_libvirtd.aug
841 %if %{with_polkit}
842 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
843 %{_datadir}/polkit-1/actions/org.libvirt.unix.policy
844 %else
845 %{_datadir}/PolicyKit/policy/org.libvirt.unix.policy
846 %endif
847 %endif
849 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/
851 %if %{with_xen_proxy}
852 %attr(4755, root, root) %{_libexecdir}/libvirt_proxy
853 %endif
855 %if %{with_lxc}
856 %attr(0755, root, root) %{_libexecdir}/libvirt_lxc
857 %endif
859 %attr(0755, root, root) %{_libexecdir}/libvirt_parthelper
860 %attr(0755, root, root) %{_sbindir}/libvirtd
862 %{_mandir}/man8/libvirtd.8*
864 %doc docs/*.xml
865 %endif
867 %files client -f %{name}.lang
868 %defattr(-, root, root)
869 %doc AUTHORS ChangeLog.gz NEWS README COPYING.LIB TODO
871 %{_mandir}/man1/virsh.1*
872 %{_mandir}/man1/virt-xml-validate.1*
873 %{_mandir}/man1/virt-pki-validate.1*
874 %{_bindir}/virsh
875 %{_bindir}/virt-xml-validate
876 %{_bindir}/virt-pki-validate
877 %{_libdir}/lib*.so.*
879 %dir %{_datadir}/libvirt/
880 %dir %{_datadir}/libvirt/schemas/
882 %{_datadir}/libvirt/schemas/domain.rng
883 %{_datadir}/libvirt/schemas/domainsnapshot.rng
884 %{_datadir}/libvirt/schemas/network.rng
885 %{_datadir}/libvirt/schemas/storagepool.rng
886 %{_datadir}/libvirt/schemas/storagevol.rng
887 %{_datadir}/libvirt/schemas/nodedev.rng
888 %{_datadir}/libvirt/schemas/capability.rng
889 %{_datadir}/libvirt/schemas/interface.rng
890 %{_datadir}/libvirt/schemas/secret.rng
891 %{_datadir}/libvirt/schemas/storageencryption.rng
892 %{_datadir}/libvirt/schemas/nwfilter.rng
894 %{_datadir}/libvirt/cpu_map.xml
896 %{_sysconfdir}/rc.d/init.d/libvirt-guests
897 %config(noreplace) %{_sysconfdir}/sysconfig/libvirt-guests
898 %dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt
900 %if %{with_sasl}
901 %config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
902 %endif
904 %files devel
905 %defattr(-, root, root)
907 %{_libdir}/lib*.so
908 %dir %{_includedir}/libvirt
909 %{_includedir}/libvirt/*.h
910 %{_libdir}/pkgconfig/libvirt.pc
911 %dir %{_datadir}/gtk-doc/html/libvirt/
912 %doc %{_datadir}/gtk-doc/html/libvirt/*.devhelp
913 %doc %{_datadir}/gtk-doc/html/libvirt/*.html
914 %doc %{_datadir}/gtk-doc/html/libvirt/*.png
915 %doc %{_datadir}/gtk-doc/html/libvirt/*.css
917 %doc docs/*.html docs/html docs/*.gif
918 %doc docs/libvirt-api.xml
919 %doc examples/hellolibvirt
920 %doc examples/domain-events/events-c
921 %doc examples/dominfo
922 %doc examples/domsuspend
923 %doc examples/openauth
924 %doc examples/xml
925 %doc examples/systemtap
927 %if %{with_python}
928 %files python
929 %defattr(-, root, root)
931 %doc AUTHORS NEWS README COPYING.LIB
932 %{_libdir}/python*/site-packages/libvirt.py*
933 %{_libdir}/python*/site-packages/libvirtmod*
934 %doc python/tests/*.py
935 %doc python/TODO
936 %doc examples/python
937 %doc examples/domain-events/events-python
938 %endif
940 %changelog
941 * Fri Oct 29 2010 Daniel Veillard <veillard@redhat.com> - 0.8.5-1
942 - Enable JSON and netdev features in QEMU >= 0.13
943 - framework for auditing integration
944 - framework DTrace/SystemTap integration
945 - Setting the number of vcpu at boot
946 - Enable support for nested SVM
947 - Virtio plan9fs filesystem QEMU
948 - Memory parameter controls
949 - various improvements and bug fixes
951 * Fri Sep 10 2010 Daniel Veillard <veillard@redhat.com> - 0.8.4-1
952 - big improvements to UML driver
953 - various improvements and bug fixes
955 * Wed Aug 4 2010 Daniel Veillard <veillard@redhat.com> - 0.8.3-1
956 - esx: Support vSphere 4.1
957 - Qemu arbitrary monitor commands
958 - Qemu Monitor API entry point
959 - various improvements and bug fixes
961 * Mon Jul 5 2010 Daniel Veillard <veillard@redhat.com> - 0.8.2-1
962 - phyp: adding support for IVM
963 - libvirt: introduce domainCreateWithFlags API
964 - add 802.1Qbh and 802.1Qbg switches handling
965 - Support for VirtualBox version 3.2
966 - Init script for handling guests on shutdown/boot
967 - qemu: live migration with non-shared storage for kvm
969 * Fri Apr 30 2010 Daniel Veillard <veillard@redhat.com> - 0.8.1-1
970 - Starts dnsmasq from libvirtd with --dhcp-hostsfile
971 - Add virDomainGetBlockInfo API to query disk sizing
972 - a lot of bug fixes and cleanups
974 * Mon Apr 12 2010 Daniel Veillard <veillard@redhat.com> - 0.8.0-1
975 - Snapshotting support (QEmu/VBox/ESX)
976 - Network filtering API
977 - XenAPI driver
978 - new APIs for domain events
979 - Libvirt managed save API
980 - timer subselection for domain clock
981 - synchronous hooks
982 - API to update guest CPU to host CPU
983 - virDomainUpdateDeviceFlags new API
984 - migrate max downtime API
985 - volume wiping API
986 - and many bug fixes
988 * Fri Mar 5 2010 Daniel Veillard <veillard@redhat.com> - 0.7.7-1
989 - macvtap support
990 - async job handling
991 - virtio channel
992 - computing baseline CPU
993 - virDomain{Attach,Detach}DeviceFlags
994 - assorted bug fixes and lots of cleanups
996 * Wed Feb 3 2010 Daniel Veillard <veillard@redhat.com> - 0.7.6-1
998 * Wed Dec 23 2009 Daniel Veillard <veillard@redhat.com> - 0.7.5-1
999 - Add new API virDomainMemoryStats
1000 - Public API and domain extension for CPU flags
1001 - vbox: Add support for version 3.1
1002 - Support QEMU's virtual FAT block device driver
1003 - a lot of fixes
1005 * Fri Nov 20 2009 Daniel Veillard <veillard@redhat.com> - 0.7.3-1
1006 - udev node device backend
1007 - API to check object properties
1008 - better QEmu monitor processing
1009 - MAC address based port filtering for qemu
1010 - support IPv6 and multiple addresses per interfaces
1011 - a lot of fixes
1013 * Tue Sep 15 2009 Daniel Veillard <veillard@redhat.com> - 0.7.1-1
1014 - ESX, VBox driver updates
1015 - mutipath support
1016 - support for encrypted (qcow) volume
1017 - compressed save image format for Qemu/KVM
1018 - QEmu host PCI device hotplug support
1019 - configuration of huge pages in guests
1020 - a lot of fixes
1022 * Wed Aug 5 2009 Daniel Veillard <veillard@redhat.com> - 0.7.0-1
1023 - ESX, VBox3, Power Hypervisor drivers
1024 - new net filesystem glusterfs
1025 - Storage cloning for LVM and Disk backends
1026 - interface implementation based on netcf
1027 - Support cgroups in QEMU driver
1028 - QEmu hotplug NIC support
1029 - a lot of fixes
1031 * Fri Jul 3 2009 Daniel Veillard <veillard@redhat.com> - 0.6.5-1
1032 - release of 0.6.5
1034 * Fri May 29 2009 Daniel Veillard <veillard@redhat.com> - 0.6.4-1
1035 - release of 0.6.4
1036 - various new APIs
1038 * Fri Apr 24 2009 Daniel Veillard <veillard@redhat.com> - 0.6.3-1
1039 - release of 0.6.3
1040 - VirtualBox driver
1042 * Fri Apr 3 2009 Daniel Veillard <veillard@redhat.com> - 0.6.2-1
1043 - release of 0.6.2
1045 * Fri Mar 4 2009 Daniel Veillard <veillard@redhat.com> - 0.6.1-1
1046 - release of 0.6.1
1048 * Sat Jan 31 2009 Daniel Veillard <veillard@redhat.com> - 0.6.0-1
1049 - release of 0.6.0
1051 * Tue Nov 25 2008 Daniel Veillard <veillard@redhat.com> - 0.5.0-1
1052 - release of 0.5.0
1054 * Tue Sep 23 2008 Daniel Veillard <veillard@redhat.com> - 0.4.6-1
1055 - release of 0.4.6
1057 * Mon Sep 8 2008 Daniel Veillard <veillard@redhat.com> - 0.4.5-1
1058 - release of 0.4.5
1060 * Wed Jun 25 2008 Daniel Veillard <veillard@redhat.com> - 0.4.4-1
1061 - release of 0.4.4
1062 - mostly a few bug fixes from 0.4.3
1064 * Thu Jun 12 2008 Daniel Veillard <veillard@redhat.com> - 0.4.3-1
1065 - release of 0.4.3
1066 - lots of bug fixes and small improvements
1068 * Tue Apr 8 2008 Daniel Veillard <veillard@redhat.com> - 0.4.2-1
1069 - release of 0.4.2
1070 - lots of bug fixes and small improvements
1072 * Mon Mar 3 2008 Daniel Veillard <veillard@redhat.com> - 0.4.1-1
1073 - Release of 0.4.1
1074 - Storage APIs
1075 - xenner support
1076 - lots of assorted improvements, bugfixes and cleanups
1077 - documentation and localization improvements
1079 * Tue Dec 18 2007 Daniel Veillard <veillard@redhat.com> - 0.4.0-1
1080 - Release of 0.4.0
1081 - SASL based authentication
1082 - PolicyKit authentication
1083 - improved NUMA and statistics support
1084 - lots of assorted improvements, bugfixes and cleanups
1085 - documentation and localization improvements
1087 * Sun Sep 30 2007 Daniel Veillard <veillard@redhat.com> - 0.3.3-1
1088 - Release of 0.3.3
1089 - Avahi support
1090 - NUMA support
1091 - lots of assorted improvements, bugfixes and cleanups
1092 - documentation and localization improvements
1094 * Tue Aug 21 2007 Daniel Veillard <veillard@redhat.com> - 0.3.2-1
1095 - Release of 0.3.2
1096 - API for domains migration
1097 - APIs for collecting statistics on disks and interfaces
1098 - lots of assorted bugfixes and cleanups
1099 - documentation and localization improvements
1101 * Tue Jul 24 2007 Daniel Veillard <veillard@redhat.com> - 0.3.1-1
1102 - Release of 0.3.1
1103 - localtime clock support
1104 - PS/2 and USB input devices
1105 - lots of assorted bugfixes and cleanups
1106 - documentation and localization improvements
1108 * Mon Jul 9 2007 Daniel Veillard <veillard@redhat.com> - 0.3.0-1
1109 - Release of 0.3.0
1110 - Secure remote access support
1111 - unification of daemons
1112 - lots of assorted bugfixes and cleanups
1113 - documentation and localization improvements
1115 * Fri Jun 8 2007 Daniel Veillard <veillard@redhat.com> - 0.2.3-1
1116 - Release of 0.2.3
1117 - lot of assorted bugfixes and cleanups
1118 - support for Xen-3.1
1119 - new scheduler API
1121 * Tue Apr 17 2007 Daniel Veillard <veillard@redhat.com> - 0.2.2-1
1122 - Release of 0.2.2
1123 - lot of assorted bugfixes and cleanups
1124 - preparing for Xen-3.0.5
1126 * Thu Mar 22 2007 Jeremy Katz <katzj@redhat.com> - 0.2.1-2.fc7
1127 - don't require xen; we don't need the daemon and can control non-xen now
1128 - fix scriptlet error (need to own more directories)
1129 - update description text
1131 * Fri Mar 16 2007 Daniel Veillard <veillard@redhat.com> - 0.2.1-1
1132 - Release of 0.2.1
1133 - lot of bug and portability fixes
1134 - Add support for network autostart and init scripts
1135 - New API to detect the virtualization capabilities of a host
1136 - Documentation updates
1138 * Fri Feb 23 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-4.fc7
1139 - Fix loading of guest & network configs
1141 * Fri Feb 16 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-3.fc7
1142 - Disable kqemu support since its not in Fedora qemu binary
1143 - Fix for -vnc arg syntax change in 0.9.0 QEMU
1145 * Thu Feb 15 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-2.fc7
1146 - Fixed path to qemu daemon for autostart
1147 - Fixed generation of <features> block in XML
1148 - Pre-create config directory at startup
1150 * Wed Feb 14 2007 Daniel Veillard <veillard@redhat.com> 0.2.0-1.fc7
1151 - support for KVM and QEmu
1152 - support for network configuration
1153 - assorted fixes
1155 * Mon Jan 22 2007 Daniel Veillard <veillard@redhat.com> 0.1.11-1.fc7
1156 - finish inactive Xen domains support
1157 - memory leak fix
1158 - RelaxNG schemas for XML configs
1160 * Wed Dec 20 2006 Daniel Veillard <veillard@redhat.com> 0.1.10-1.fc7
1161 - support for inactive Xen domains
1162 - improved support for Xen display and vnc
1163 - a few bug fixes
1164 - localization updates
1166 * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 0.1.9-2
1167 - rebuild against python 2.5
1169 * Wed Nov 29 2006 Daniel Veillard <veillard@redhat.com> 0.1.9-1
1170 - better error reporting
1171 - python bindings fixes and extensions
1172 - add support for shareable drives
1173 - add support for non-bridge style networking
1174 - hot plug device support
1175 - added support for inactive domains
1176 - API to dump core of domains
1177 - various bug fixes, cleanups and improvements
1178 - updated the localization
1180 * Tue Nov 7 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-3
1181 - it's pkgconfig not pgkconfig !
1183 * Mon Nov 6 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-2
1184 - fixing spec file, added %dist, -devel requires pkgconfig and xen-devel
1185 - Resolves: rhbz#202320
1187 * Mon Oct 16 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-1
1188 - fix missing page size detection code for ia64
1189 - fix mlock size when getting domain info list from hypervisor
1190 - vcpu number initialization
1191 - don't label crashed domains as shut off
1192 - fix virsh man page
1193 - blktapdd support for alternate drivers like blktap
1194 - memory leak fixes (xend interface and XML parsing)
1195 - compile fix
1196 - mlock/munlock size fixes
1198 * Fri Sep 22 2006 Daniel Veillard <veillard@redhat.com> 0.1.7-1
1199 - Fix bug when running against xen-3.0.3 hypercalls
1200 - Fix memory bug when getting vcpus info from xend
1202 * Fri Sep 22 2006 Daniel Veillard <veillard@redhat.com> 0.1.6-1
1203 - Support for localization
1204 - Support for new Xen-3.0.3 cdrom and disk configuration
1205 - Support for setting VNC port
1206 - Fix bug when running against xen-3.0.2 hypercalls
1207 - Fix reconnection problem when talking directly to http xend
1209 * Tue Sep 5 2006 Jeremy Katz <katzj@redhat.com> - 0.1.5-3
1210 - patch from danpb to support new-format cd devices for HVM guests
1212 * Tue Sep 5 2006 Daniel Veillard <veillard@redhat.com> 0.1.5-2
1213 - reactivating ia64 support
1215 * Tue Sep 5 2006 Daniel Veillard <veillard@redhat.com> 0.1.5-1
1216 - new release
1217 - bug fixes
1218 - support for new hypervisor calls
1219 - early code for config files and defined domains
1221 * Mon Sep 4 2006 Daniel Berrange <berrange@redhat.com> - 0.1.4-5
1222 - add patch to address dom0_ops API breakage in Xen 3.0.3 tree
1224 * Mon Aug 28 2006 Jeremy Katz <katzj@redhat.com> - 0.1.4-4
1225 - add patch to support paravirt framebuffer in Xen
1227 * Mon Aug 21 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-3
1228 - another patch to fix network handling in non-HVM guests
1230 * Thu Aug 17 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-2
1231 - patch to fix virParseUUID()
1233 * Wed Aug 16 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-1
1234 - vCPUs and affinity support
1235 - more complete XML, console and boot options
1236 - specific features support
1237 - enforced read-only connections
1238 - various improvements, bug fixes
1240 * Wed Aug 2 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-6
1241 - add patch from pvetere to allow getting uuid from libvirt
1243 * Wed Aug 2 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-5
1244 - build on ia64 now
1246 * Thu Jul 27 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-4
1247 - don't BR xen, we just need xen-devel
1249 * Thu Jul 27 2006 Daniel Veillard <veillard@redhat.com> 0.1.3-3
1250 - need rebuild since libxenstore is now versionned
1252 * Mon Jul 24 2006 Mark McLoughlin <markmc@redhat.com> - 0.1.3-2
1253 - Add BuildRequires: xen-devel
1255 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.1.3-1.1
1256 - rebuild
1258 * Tue Jul 11 2006 Daniel Veillard <veillard@redhat.com> 0.1.3-1
1259 - support for HVM Xen guests
1260 - various bugfixes
1262 * Mon Jul 3 2006 Daniel Veillard <veillard@redhat.com> 0.1.2-1
1263 - added a proxy mechanism for read only access using httpu
1264 - fixed header includes paths
1266 * Wed Jun 21 2006 Daniel Veillard <veillard@redhat.com> 0.1.1-1
1267 - extend and cleanup the driver infrastructure and code
1268 - python examples
1269 - extend uuid support
1270 - bug fixes, buffer handling cleanups
1271 - support for new Xen hypervisor API
1272 - test driver for unit testing
1273 - virsh --conect argument
1275 * Mon Apr 10 2006 Daniel Veillard <veillard@redhat.com> 0.1.0-1
1276 - various fixes
1277 - new APIs: for Node information and Reboot
1278 - virsh improvements and extensions
1279 - documentation updates and man page
1280 - enhancement and fixes of the XML description format
1282 * Tue Feb 28 2006 Daniel Veillard <veillard@redhat.com> 0.0.6-1
1283 - added error handling APIs
1284 - small bug fixes
1285 - improve python bindings
1286 - augment documentation and regression tests
1288 * Thu Feb 23 2006 Daniel Veillard <veillard@redhat.com> 0.0.5-1
1289 - new domain creation API
1290 - new UUID based APIs
1291 - more tests, documentation, devhelp
1292 - bug fixes
1294 * Fri Feb 10 2006 Daniel Veillard <veillard@redhat.com> 0.0.4-1
1295 - fixes some problems in 0.0.3 due to the change of names
1297 * Wed Feb 8 2006 Daniel Veillard <veillard@redhat.com> 0.0.3-1
1298 - changed library name to libvirt from libvir, complete and test the python
1299 bindings
1301 * Sun Jan 29 2006 Daniel Veillard <veillard@redhat.com> 0.0.2-1
1302 - upstream release of 0.0.2, use xend, save and restore added, python bindings
1303 fixed
1305 * Wed Nov 2 2005 Daniel Veillard <veillard@redhat.com> 0.0.1-1
1306 - created