--- libvirt-0.4.0.orig/debian/libvirt-bin.default +++ libvirt-0.4.0/debian/libvirt-bin.default @@ -0,0 +1,9 @@ +# Defaults for libvirt-bin initscript (/etc/init.d/libvirt-bin) +# This is a POSIX shell fragment + +# change to "no" to not start libvirtd on system startup +start_libvirtd="yes" + +# options passed to libvirtd +libvirtd_opts="-d" + --- libvirt-0.4.0.orig/debian/changelog +++ libvirt-0.4.0/debian/changelog @@ -0,0 +1,153 @@ +libvirt (0.4.0-0ubuntu1) hardy; urgency=low + + * New upstream release. + * Don't change the default URI. It appears that too many applications + still depend on this broken behaviour. + * Change maintainer to ubuntu-core-dev. + + -- Soren Hansen Fri, 21 Dec 2007 11:24:02 +0100 + +libvirt (0.3.3-6ubuntu1) hardy; urgency=low + + * Merge from debian unstable, remaining changes: + - Add libvirt0-dbg package. + - Start libvirtd by default. + - Create libvirtd group, and have libvirtd's sockets have group ownership + "libvirtd". + - Add libxen as a build-dependency to enable libvirt's Xen features. + + -- Soren Hansen Thu, 20 Dec 2007 11:28:00 +0100 + +libvirt (0.3.3-6) unstable; urgency=low + + * don't include precompiled examples in the doc package (Closes: #456825) + * remove RHism from manpage (Closes: #455859) + * bump standards version + + -- Guido Guenther Wed, 19 Dec 2007 13:45:58 +0100 + +libvirt (0.3.3-5) unstable; urgency=low + + * make libs match overrides + * move to team maintenance + * suggest dnsmasq and bridge-utils for qemu networking + * remove stale PID files + + -- Guido Guenther Thu, 13 Dec 2007 21:34:16 +0100 + +libvirt (0.3.3-4ubuntu5) hardy; urgency=low + + * Made default_uri a configurable. + + -- Soren Hansen Wed, 19 Dec 2007 00:56:31 +0100 + +libvirt (0.3.3-4ubuntu4) hardy; urgency=low + + * Add "Provides: libvirt0" to libvirt0-dbg. + * Make virsh understand that the default URI is not xen:///. + + -- Soren Hansen Wed, 19 Dec 2007 00:13:10 +0100 + +libvirt (0.3.3-4ubuntu3) hardy; urgency=low + + * Change default URI to qemu:///session + * Add libvirt0-dbg package, which is just like libvirt0, but built + with --enable-debug=yes. + + -- Soren Hansen Thu, 13 Dec 2007 21:37:39 +0100 + +libvirt (0.3.3-4ubuntu2) hardy; urgency=low + + * Start libvirtd by default. + * Create libvirtd group, and have libvirtd's sockets have group ownership + "libvirtd". + + -- Soren Hansen Thu, 13 Dec 2007 15:08:29 +0100 + +libvirt (0.3.3-4ubuntu1) hardy; urgency=low + + * Fakesync with Debian. + * Reenable Xen. + + -- Soren Hansen Thu, 06 Dec 2007 13:33:13 +0100 + +libvirt (0.3.3-4) unstable; urgency=low + + * put packages into the proper sections + * fix messed up Standards-Version (Closes: #453900) + + -- Guido Guenther Sun, 02 Dec 2007 14:50:11 +0100 + +libvirt (0.3.3-3) unstable; urgency=low + + * add initscript to start libvirtd + + -- Guido Guenther Wed, 28 Nov 2007 10:30:29 +0100 + +libvirt (0.3.3-2) unstable; urgency=low + + * debian/copyright: + * update FSF address + * update upstream author and copyright information + * install the virsh manpage + * use binary:Version instead of Source-Version + + -- Guido Guenther Fri, 23 Nov 2007 22:31:26 +0100 + +libvirt (0.3.3-1) unstable; urgency=low + + * repackage for Debian (Closes: #384300) + * enable avahi + * build with qemu/kvm support + * disable xen support until #402249 is fixed + * disable qemu autonetwork for now, causes libvirtd to seqfault + * fix path to kvm + * switch off DH_VERBOSE + * thanks to the Ubuntu maintainers for their work! + + -- Guido Guenther Fri, 23 Nov 2007 01:58:56 +0100 + +libvirt (0.3.3-0ubuntu1) hardy; urgency=low + + * New upstream release. + * Update maintainer. + + -- Soren Hansen Wed, 14 Nov 2007 23:09:33 +0100 + +libvirt (0.3.0-0ubuntu2) gutsy; urgency=low + + * Add lingnutls-dev Build-Dep. + + -- Fabio M. Di Nitto Mon, 16 Jul 2007 12:10:41 +0200 + +libvirt (0.3.0-0ubuntu1) gutsy; urgency=low + + * Import new upstram release that can actually build on xen-3.1. + + -- Fabio M. Di Nitto Mon, 16 Jul 2007 10:23:04 +0200 + +libvirt (0.2.2-0ubuntu1) gutsy; urgency=low + + * Depends on libxen3.1-dev. + + -- Chuck Short Fri, 13 Jul 2007 11:04:00 -0400 + +libvirt (0.2.2-0ubuntu0) gutsy; urgency=low + + * New upstream version. + * Updated libvirt-bin.install, thanks to Marcelo Boveto Shima. + + -- Chuck Short Sun, 24 Jun 2007 09:54:54 -0400 + +libvirt (0.1.8-0ubuntu2) feisty; urgency=low + + * Rebuild for python2.5 as the default python version. + + -- Matthias Klose Fri, 12 Jan 2007 13:21:55 +0000 + +libvirt (0.1.8-0ubuntu1) feisty; urgency=low + + * Initial release + + -- Andrew Mitchell Mon, 23 Oct 2006 20:00:28 +1300 + --- libvirt-0.4.0.orig/debian/compat +++ libvirt-0.4.0/debian/compat @@ -0,0 +1 @@ +5 --- libvirt-0.4.0.orig/debian/copyright +++ libvirt-0.4.0/debian/copyright @@ -0,0 +1,44 @@ +libvirt was initially debianized by Andrew Mitchell + +It was downloaded from http://libvirt.org/sources/ + +Upstream Author: + + Daniel Veillard or + +Copyright: + + 2005,2006 Red Hat, Inc + +Licenses: + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + src/hash.c: + + Copyright (C) 2000 Bjorn Reese and Daniel Veillard. + + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF + MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND + CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER. + + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. --- libvirt-0.4.0.orig/debian/libvirt-bin.dirs +++ libvirt-0.4.0/debian/libvirt-bin.dirs @@ -0,0 +1 @@ +/var/run/libvirt --- libvirt-0.4.0.orig/debian/libvirt-bin.init +++ libvirt-0.4.0/debian/libvirt-bin.init @@ -0,0 +1,155 @@ +#! /bin/sh +# +# Init skript for libvirtd +# +# (c) 2007 Guido Guenther +# based on the skeletons that comes with dh_make +# +### BEGIN INIT INFO +# Provides: libvirtd +# Required-Start: $network $local_fs +# Required-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: libvirt management daemon +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/libvirtd +NAME=libvirtd +DESC="libvirt management daemon" + +test -x $DAEMON || exit 0 +. /lib/lsb/init-functions + +PIDFILE=/var/run/$NAME.pid +DODTIME=1 # Time to wait for the server to die, in seconds + +# Include libvirtd defaults if available +if [ -f /etc/default/libvirt-bin ] ; then + . /etc/default/libvirt-bin +fi + +set -e + +check_start_libvirtd_option() { + if [ ! "$start_libvirtd" = "yes" ]; then + log_warning_msg "Not starting libvirt management daemon libvirtd, disabled via /etc/default/libvirt-bin" + return 1 + else + return 0 + fi +} + +running_pid() +{ + # Check if a given process pid's cmdline matches a given name + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + # Is this the expected child? + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running() +{ +# Check if the process is running looking at /proc +# (works for all users) + # No pidfile, probably no daemon present + [ ! -f "$PIDFILE" ] && return 1 + # Obtain the pid and check it against the binary name + pid=`cat $PIDFILE` + running_pid $pid $DAEMON || return 1 + return 0 +} + +force_stop() { +# Forcefully kill the process + [ ! -f "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + [ -n "$DODTIME" ] && sleep "$DODTIME"s + if running ; then + kill -9 $pid + [ -n "$DODTIME" ] && sleep "$DODTIME"s + if running ; then + echo "Cannot kill $LABEL (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE + return 0 +} + +case "$1" in + start) + if check_start_libvirtd_option; then + log_daemon_msg "Starting $DESC" "$NAME" + if running ; then + log_progress_msg "already running" + log_end_msg 0 + exit 0 + fi + rm -f /var/run/libvirtd.pid + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- $libvirtd_opts + running && log_end_msg 0 || log_end_msg 1 + fi + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + if ! running ; then + log_progress_msg "not running" + log_end_msg 0 + exit 0 + fi + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --exec $DAEMON + log_end_msg 0 + ;; + force-stop) + log_daemon_msg "Forcefully stopping $DESC" "$NAME" + force_stop + ! running && log_end_msg 0 || log_end_msg 1 + ;; + force-reload) + # check wether $DAEMON is running. If so, restart + start-stop-daemon --stop --test --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON \ + && $0 restart || exit 0 + ;; + restart) + if check_start_libvirtd_option; then + log_daemon_msg "Restarting $DESC" "$DAEMON" + start-stop-daemon --oknodo --stop --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON + [ -n "$DODTIME" ] && sleep $DODTIME + start-stop-daemon --start --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON -- $libvirtd_opts + running && log_end_msg 0 || log_end_msg 1 + fi + ;; + status) + log_daemon_msg "Checking status of $DESC" "$NAME" + if running ; then + log_progress_msg "running" + log_end_msg 0 + else + log_progress_msg "not running" + log_end_msg 1 + fi + ;; + *) + N=/etc/init.d/libvirt-bin + # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload|status|force-stop}" >&2 + exit 1 + ;; +esac + +exit 0 --- libvirt-0.4.0.orig/debian/python-libvirt.install +++ libvirt-0.4.0/debian/python-libvirt.install @@ -0,0 +1,2 @@ +usr/lib/python*/*/*.so +usr/lib/python*/*/*.py --- libvirt-0.4.0.orig/debian/libvirt-bin.manpages +++ libvirt-0.4.0/debian/libvirt-bin.manpages @@ -0,0 +1 @@ +virsh.1 --- libvirt-0.4.0.orig/debian/libvirt-dev.install +++ libvirt-0.4.0/debian/libvirt-dev.install @@ -0,0 +1,4 @@ +usr/lib/libvirt.so +usr/lib/libvirt.a +usr/include/* +usr/lib/pkgconfig/* --- libvirt-0.4.0.orig/debian/libvirt-doc.docs +++ libvirt-0.4.0/debian/libvirt-doc.docs @@ -0,0 +1 @@ +docs/* --- libvirt-0.4.0.orig/debian/libvirt0.install +++ libvirt-0.4.0/debian/libvirt0.install @@ -0,0 +1,2 @@ +usr/lib/libvirt.so.* + --- libvirt-0.4.0.orig/debian/pycompat +++ libvirt-0.4.0/debian/pycompat @@ -0,0 +1 @@ +2 --- libvirt-0.4.0.orig/debian/watch +++ libvirt-0.4.0/debian/watch @@ -0,0 +1,3 @@ +# format version number, currently 3; this line is compulsory! +version=3 +http://libvirt.org/sources/libvirt-([\d\.]*)\.tar\.gz --- libvirt-0.4.0.orig/debian/qemud.conf +++ libvirt-0.4.0/debian/qemud.conf @@ -0,0 +1,49 @@ +# Master configuration file for the QEMU driver. +# All settings described here are optional - if omitted, sensible +# defaults are used. + +# VNC is configured to listen on 127.0.0.1 by default. +# To make it listen on all public interfaces, uncomment +# this next option. +# +# NB, strong recommendation to enable TLS + x509 certificate +# verification when allowing public access +# +# vnc_listen = "0.0.0.0" + + +# Enable use of TLS encryption on the VNC server. This requires +# a VNC client which supports the VeNCrypt protocol extension. +# Examples include vinagre, virt-viewer, virt-manager and vencrypt +# itself. UltraVNC, RealVNC, TightVNC do not support this +# +# It is neccessary to setup CA and issue a server certificate +# before enabling this. +# +# vnc_tls = 1 + + +# Use of TLS requires that x509 certificates be issued. The +# default it to keep them in /etc/pki/libvirt-vnc. This directory +# must contain +# +# ca-cert.pem - the CA master certificate +# server-cert.pem - the server certificate signed with ca-cert.pem +# server-key.pem - the server private key +# +# This option allows the certificate directory to be changed +# +# vnc_tls_x509_cert_dir = "/etc/pki/libvirt-vnc" + + +# The default TLS configuration only uses certificates for the server +# allowing the client to verify the server's identity and establish +# and encrypted channel. +# +# It is possible to use x509 certificates for authentication too, by +# issuing a x509 certificate to every client who needs to connect. +# +# Enabling this option will reject any client who does not have a +# certificate signed by the CA in /etc/pki/libvirt-vnc/ca-cert.pem +# +# vnc_tls_x509_verify = 1 --- libvirt-0.4.0.orig/debian/libvirt-bin.postinst +++ libvirt-0.4.0/debian/libvirt-bin.postinst @@ -0,0 +1,13 @@ +#! /bin/sh + +set -e + +# add the libvirtd group +if ! getent group libvirtd > /dev/null 2>&1 +then + addgroup --system libvirtd +fi + +#DEBHELPER# + +exit 0 --- libvirt-0.4.0.orig/debian/libvirtd.conf +++ libvirt-0.4.0/debian/libvirtd.conf @@ -0,0 +1,141 @@ +# Master libvirt daemon configuration file +# +# For further information consult http://libvirt.org/format.html + + +# Flag listening for secure TLS connections on the public TCP/IP port. +# NB, must pass the --listen flag to the libvirtd process for this to +# have any effect. +# +# It is neccessary to setup a CA and issue server certificates before +# using this capability. +# +# This is enabled by default, uncomment this to disable it +# listen_tls = 0 + +# Listen for unencrypted TCP connections on the public TCP/IP port. +# NB, must pass the --listen flag to the libvirtd process for this to +# have any effect. +# +# NB, this is insecure. Do not use except for development. +# +# This is disabled by default, uncomment this to enable it. +# listen_tcp = 1 + + + +# Override the port for accepting secure TLS connections +# This can be a port number, or service name +# +# tls_port = "16514" + +# Override the port for accepting insecure TCP connections +# This can be a port number, or service name +# +# tcp_port = "16509" + + + +# Flag toggling mDNS advertizement of the libvirt service. +# +# Alternatively can disable for all services on a host by +# stopping the Avahi daemon +# +# This is enabled by default, uncomment this to disable it +# mdns_adv = 0 + +# Override the default mDNS advertizement name. This must be +# unique on the immediate broadcast network. +# +# The default is "Virtualization Host HOSTNAME", where HOSTNAME +# is subsituted for the short hostname of the machine (without domain) +# +# mdns_name "Virtualization Host Joe Demo" + + + +# Set the UNIX domain socket group ownership. This can be used to +# allow a 'trusted' set of users access to management capabilities +# without becoming root. +# +# This is restricted to 'root' by default. +unix_sock_group = "libvirtd" + +# Set the UNIX socket permissions for the R/O socket. This is used +# for monitoring VM status only +# +# Default allows any user. If setting group ownership may want to +# restrict this to: +# unix_sock_ro_perms "0777" + +# Set the UNIX socket permissions for the R/W socket. This is used +# for full management of VMs +# +# Default allows only root. If setting group ownership may want to +# relax this to: +unix_sock_rw_perms = "0770" + + + +# Flag to disable verification of client certificates +# +# Client certificate verification is the primary authentication mechanism. +# Any client which does not present a certificate signed by the CA +# will be rejected. +# +# Default is to always verify. Uncommenting this will disable +# verification - make sure an IP whitelist is set +# tls_no_verify_certificate 1 + +# Flag to disable verification of client IP address +# +# Client IP address will be verified against the CommonName field +# of the x509 certificate. This has minimal security benefit since +# it is easy to spoof source IP. +# +# Uncommenting this will disable verification +# tls_no_verify_address 1 + +# Override the default server key file path +# +# key_file "/etc/pki/libvirt/private/serverkey.pem" + +# Override the default server certificate file path +# +# cert_file "/etc/pki/libvirt/servercert.pem" + +# Override the default CA certificate path +# +# ca_file "/etc/pki/CA/cacert.pem" + +# Specify a certificate revocation list. +# +# Defaults to not using a CRL, uncomment to enable it +# crl_file "/etc/pki/CA/crl.pem" + +# A whitelist of allowed x509 Distinguished Names +# This list may contain wildcards such as +# +# "C=GB,ST=London,L=London,O=Red Hat,CN=*" +# +# See the POSIX fnmatch function for the format of the wildcards. +# +# NB If this is an empty list, no client can connect, so comment out +# entirely rather than using empty list to disable these checks +# +# By default, no DN's are checked +# tls_allowed_dn_list ["DN1", "DN2"] + + +# A whitelist of allowed client IP addresses +# +# This list may contain wildcards such as 192.168.* See the POSIX fnmatch +# function for the format of the wildcards. +# +# NB If this is an empty list, no client can connect, so comment out +# entirely rather than using empty list to disable these checks +# +# By default, no IP's are checked. This can be IPv4 or IPv6 addresses +# tls_allowed_ip_list ["ip1", "ip2", "ip3"] + + --- libvirt-0.4.0.orig/debian/libvirt0-dbg.install +++ libvirt-0.4.0/debian/libvirt0-dbg.install @@ -0,0 +1 @@ +usr/lib/libvirt.so.* --- libvirt-0.4.0.orig/debian/patches/remove-RHism.diff +++ libvirt-0.4.0/debian/patches/remove-RHism.diff @@ -0,0 +1,13 @@ +diff -ud /tmp/tmp.iFmeHz8508/libvirt-0.3.3/virsh.1 /tmp/buffer-content-8566993 +--- a/virsh.1 2007-11-23 03:15:30.000000000 +1100 ++++ b/virsh.1 2007-12-12 17:28:13.855811484 +1100 +@@ -164,7 +164,7 @@ + .IX Header "NOTES" + All \fBvirsh\fR operations rely upon the libvirt library. + For any virsh commands to run xend/qemu, or what ever virtual library that libvirt supports. For this reason you should start xend/qemu as a service when your system first boots using xen/qemu. This can usually be done using the command +-\&\fBservice start libvirtd\fR . ++\&\fB/etc/init.d/libvirt-bin start\fR . + .PP + Most \fBvirsh\fR commands require root privileges to run due to the + communications channels used to talk to the hypervisor. Running as + --- libvirt-0.4.0.orig/debian/patches/qemu-path.diff +++ libvirt-0.4.0/debian/patches/qemu-path.diff @@ -0,0 +1,26 @@ +Index: libvirt-0.4.0/src/qemu_conf.c +=================================================================== +--- libvirt-0.4.0.orig/src/qemu_conf.c 2007-12-12 14:30:49.000000000 +0100 ++++ libvirt-0.4.0/src/qemu_conf.c 2007-12-20 11:33:33.443200522 +0100 +@@ -309,7 +309,7 @@ + char *path; + + if (virtType == QEMUD_VIRT_KVM) +- name = "qemu-kvm"; ++ name = "kvm"; + else + name = qemudDefaultBinaryForArch(arch); + +Index: libvirt-0.4.0/src/qemu_driver.c +=================================================================== +--- libvirt-0.4.0.orig/src/qemu_driver.c 2007-12-12 14:30:49.000000000 +0100 ++++ libvirt-0.4.0/src/qemu_driver.c 2007-12-20 11:33:33.447200574 +0100 +@@ -1560,7 +1560,7 @@ + r = virBufferAdd (xml, + "\ + \n\ +- /usr/bin/qemu-kvm\n\ ++ /usr/bin/kvm\n\ + \n", -1); + if (r == -1) goto vir_buffer_failed; + } --- libvirt-0.4.0.orig/debian/patches/qemu-disable-network.diff +++ libvirt-0.4.0/debian/patches/qemu-disable-network.diff @@ -0,0 +1,27 @@ +Index: libvirt-0.4.0/qemud/Makefile.am +=================================================================== +--- libvirt-0.4.0.orig/qemud/Makefile.am 2007-12-07 09:39:14.000000000 +0100 ++++ libvirt-0.4.0/qemud/Makefile.am 2007-12-20 11:37:07.101980113 +0100 +@@ -1,4 +1,4 @@ +-## Process this file with automake to produce Makefile.in ++## Process this file with automake to produce Makefile.in + + # Distribute the generated files so that rpcgen isn't required on the + # target machine (although almost any Unix machine will have it). +@@ -151,4 +151,4 @@ + + endif # DBUS_INIT_SCRIPTS_RED_HAT + +-endif # WITH_LIBVIRTD +\ No newline at end of file ++endif # WITH_LIBVIRTD +Index: libvirt-0.4.0/qemud/Makefile.in +=================================================================== +--- libvirt-0.4.0.orig/qemud/Makefile.in 2007-12-18 00:43:14.000000000 +0100 ++++ libvirt-0.4.0/qemud/Makefile.in 2007-12-20 11:37:06.465971845 +0100 +@@ -1,4 +1,4 @@ +-# Makefile.in generated by automake 1.10 from Makefile.am. ++# Makefile.in generated by automake 1.10 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, --- libvirt-0.4.0.orig/debian/patches/dont-use-pk +++ libvirt-0.4.0/debian/patches/dont-use-pk @@ -0,0 +1,61 @@ +Index: libvirt-0.4.0/qemud/libvirtd.conf +=================================================================== +--- libvirt-0.4.0.orig/qemud/libvirtd.conf 2007-12-20 17:30:12.767403876 +0100 ++++ libvirt-0.4.0/qemud/libvirtd.conf 2007-12-21 11:06:58.928030600 +0100 +@@ -70,14 +70,14 @@ + # without becoming root. + # + # This is restricted to 'root' by default. +-#unix_sock_group = "libvirt" ++unix_sock_group = "libvirtd" + + # Set the UNIX socket permissions for the R/O socket. This is used + # for monitoring VM status only + # + # Default allows any user. If setting group ownership may want to + # restrict this to: +-#unix_sock_ro_perms = "0777" ++unix_sock_ro_perms = "0777" + + # Set the UNIX socket permissions for the R/W socket. This is used + # for full management of VMs +@@ -87,7 +87,7 @@ + # + # If not using PolicyKit and setting group ownership for access + # control then you may want to relax this to: +-#unix_sock_rw_perms = "0770" ++unix_sock_rw_perms = "0770" + + + +@@ -117,7 +117,7 @@ + # + # To restrict monitoring of domains you may wish to enable + # an authentication mechanism here +-#auth_unix_ro = "none" ++auth_unix_ro = "none" + + # Set an authentication scheme for UNIX read-write sockets + # By default socket permissions only allow root. If PolicyKit +@@ -126,7 +126,7 @@ + # + # If the unix_sock_rw_perms are changed you may wish to enable + # an authentication mechanism here +-#auth_unix_rw = "none" ++auth_unix_rw = "none" + + # Change the authentication scheme for TCP sockets. + # +Index: libvirt-0.4.0/src/conf.c +=================================================================== +--- libvirt-0.4.0.orig/src/conf.c 2007-12-21 11:08:16.941053913 +0100 ++++ libvirt-0.4.0/src/conf.c 2007-12-21 11:08:36.457309922 +0100 +@@ -705,7 +705,7 @@ + virConfPtr + __virConfReadFile(const char *filename) + { +- char content[4096]; ++ char content[16384]; + int fd; + int len; + --- libvirt-0.4.0.orig/debian/patches/series +++ libvirt-0.4.0/debian/patches/series @@ -0,0 +1,4 @@ +remove-RHism.diff +qemu-path.diff +#qemu-disable-network.diff +dont-use-pk --- libvirt-0.4.0.orig/debian/libvirt-bin.install +++ libvirt-0.4.0/debian/libvirt-bin.install @@ -0,0 +1,6 @@ +usr/bin/* +#usr/lib/libvirt/* +usr/sbin/* +usr/share/PolicyKit/* +etc/libvirt/* +etc/sasl2/* --- libvirt-0.4.0.orig/debian/control +++ libvirt-0.4.0/debian/control @@ -0,0 +1,87 @@ +Source: libvirt +Section: libs +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Debian Libvirt Maintainers +Uploaders: Guido Guenther +Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.38), libxml2-dev, libncurses5-dev, libreadline5-dev, zlib1g-dev, libgnutls-dev, python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), quilt, libavahi-client-dev, libxen3.1-dev, libsasl2-dev, libpolkit-dbus-dev +XS-Python-Version: current +Standards-Version: 3.7.3 + +Package: libvirt-bin +Architecture: any +Depends: ${shlibs:Depends} +Enhances: qemu, kvm +Section: admin +Suggests: dnsmasq, bridge-utils +Description: the programs for the libvirt library + Libvirt is a C toolkit to interract with the virtualization capabilities + of recent versions of Linux (and other OSes). The library aims at providing + a long term stable C API for different virtualization mechanisms. It currently + supports QEMU and KVM. + . + This package contains the supporting binaries to use with libvirt + +Package: libvirt0 +Architecture: any +Conflicts: libvirt0-dbg +Replaces: libvirt0-dbg +Depends: ${shlibs:Depends} +Description: library for interfacing with Xen & other virtualization systems + Libvirt is a C toolkit to interract with the virtualization capabilities + of recent versions of Linux (and other OSes). The library aims at providing + a long term stable C API for different virtualization mechanisms. It currently + supports QEMU and KVM.. + +Package: libvirt-doc +Architecture: all +Section: doc +Description: documentation for the libvirt library + Libvirt is a C toolkit to interract with the virtualization capabilities + of recent versions of Linux (and other OSes). The library aims at providing + a long term stable C API for different virtualization mechanisms. It currently + supports QEMU and KVM. + . + This package contains the documentation. + +Package: libvirt-dev +Architecture: any +Section: libdevel +Depends: libvirt0 (= ${binary:Version}) +Description: development files for the libvirt library + Libvirt is a C toolkit to interract with the virtualization capabilities + of recent versions of Linux (and other OSes). The library aims at providing + a long term stable C API for different virtualization mechanisms. It currently + supports QEMU and KVM. + . + This package contains the header files and static libraries which are + needed for developing the applications with libvirt. + +Package: python-libvirt +Architecture: any +Depends: ${shlibs:Depends}, ${python:Depends} +Provides: ${python:Provides} +Section: python +XB-Python-Version: ${python:Versions} +Description: libvirt python bindings + Libvirt is a C toolkit to interract with the virtualization capabilities + of recent versions of Linux (and other OSes). The library aims at providing + a long term stable C API for different virtualization mechanisms. It currently + supports QEMU and KVM. + . + This package contains python bindings for the libvirt library + +Package: libvirt0-dbg +Architecture: any +Section: libs +Conflicts: libvirt0 +Replaces: libvirt0 +Provides: libvirt0 +Depends: ${shlibs:Depends} +Description: library for interfacing with Xen & other virtualization systems - debug version + Libvirt is a C toolkit to interract with the virtualization capabilities + of recent versions of Linux (and other OSes). The library aims at providing + a long term stable C API for different virtualization mechanisms. It currently + supports QEMU and KVM.. + . + This version is built with --enable-debug=yes --- libvirt-0.4.0.orig/debian/rules +++ libvirt-0.4.0/debian/rules @@ -0,0 +1,38 @@ +#!/usr/bin/make -f + +DEB_PYTHON_SYSTEM=pycentral +DEB_DH_INSTALL_SOURCEDIR = debian/tmp + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +DEB_DH_INSTALL_ARGS := --list-missing + +DEB_CONFIGURE_EXTRA_FLAGS := --disable-rpath --with-qemu --without-openvz --with-avahi +DEB_PYTHON_SETUP_CMD := /dev/null + +EXAMPLES=debian/libvirt-doc/usr/share/doc/libvirt-doc/examples/ + +binary-install/libvirt-doc:: + cd $(EXAMPLES) && rm -rf .libs *.o info1 suspend + +build/libvirt-bin:: + mkdir -p debian/tmp/etc/libvirt +# install -m 750 debian/libvirtd.conf debian/tmp/etc/libvirt +# install -m 750 debian/qemud.conf debian/tmp/etc/libvirt + +# Don't shove the libraries in -dbg into /var/lib/debug +DEB_DBG_PACKAGES = + +install/libvirt0-dbg:: + $(DEB_MAKE_INVOKE) clean + $(DEB_CONFIGURE_INVOKE) $(cdbs_configure_flags) $(DEB_CONFIGURE_EXTRA_FLAGS) $(DEB_CONFIGURE_USER_FLAGS) --enable-debug=yes + $(DEB_MAKE_INVOKE) install DESTDIR=$(CURDIR)/debian/tmp-dbg/ + +binary-install/libvirt0-dbg:: + dh_install -p$(cdbs_curpkg) --sourcedir=debian/tmp-dbg $(DEB_DH_INSTALL_ARGS) + +clean:: + rm -rf debian/tmp-dbg --- libvirt-0.4.0.orig/NEWS +++ libvirt-0.4.0/NEWS @@ -1,440 +0,0 @@ - - NEWS file for libvirt - - Note that this is automatically generated from the news webpage at: - http://libvirt.org/news.html - -Releases -0.3.3: Sep 30 2007: - - New features: Avahi mDNS daemon export (Daniel Berrange), - NUMA support (Beth Kan) - - Documentation: cleanups (Toth Istvan), typos (Eduardo Pereira), - - Bug fixes: memory corruption on large dumps (Masayuki Sunou), fix - virsh vncdisplay command exit (Masayuki Sunou), Fix network stats - TX/RX result (Richard Jones), warning on Xen 3.0.3 (Richard Jones), - missing buffer check in virDomainXMLDevID (Hugh Brock), avoid zombies - when using remote (Daniel Berrange), xend connection error message - (Richard Jones), avoid ssh tty prompt (Daniel Berrange), username - handling for remote URIs (Fabian Deutsch), fix potential crash - on multiple input XML tags (Daniel Berrange), Solaris Xen hypercalls - fixup (Mark Johnson) - - Improvements: OpenVZ support (Shuveb Hussain and Anoop Cyriac), - CD-Rom reload on XEn (Hugh Brock), PXE boot got QEmu/KVM (Daniel - Berrange), QEmu socket permissions customization (Daniel Berrange), - more QEmu support (Richard Jones), better path detection for qemu and - dnsmasq (Richard Jones), QEmu flags are per-Domain (Daniel Berrange), - virsh freecell command, Solaris portability fixes (Mark Johnson), - default bootloader support (Daniel Berrange), new virNodeGetFreeMemory - API, vncpasswd extraction in configuration files if secure (Mark - Johnson and Daniel Berrange), Python bindings for block and interface - statistics - - Code cleanups: virDrvOpenRemoteFlags definition (Richard Jones), - configure tests and output (Daniel Berrange) - - -0.3.2: Aug 21 2007: - - New features: KVM migration and save/restore (Jim Paris), - added API for migration (Richard Jones), added APIs for block device and - interface statistic (Richard Jones). - - Documentation: examples for XML network APIs, - fix typo and schedinfo synopsis in man page (Atsushi SAKAI), - hypervisor support page update (Richard Jones). - - Bug fixes: remove a couple of leaks in QEmu/KVM backend(Daniel berrange), - fix GnuTLS 1.0 compatibility (Richard Jones), --config/-f option - mistake for libvirtd (Richard Jones), remove leak in QEmu backend - (Jim Paris), fix some QEmu communication bugs (Jim Paris), UUID - lookup though proxy fix, setvcpus checking bugs (with Atsushi SAKAI), - int checking in virsh parameters (with Masayuki Sunou), deny devices - attach/detach for < Xen 3.0.4 (Masayuki Sunou), XenStore query - memory leak (Masayuki Sunou), virsh schedinfo cleanup (Saori Fukuta). - - Improvement: virsh new ttyconsole command, networking API implementation - for test driver (Daniel berrange), qemu/kvm feature reporting of - ACPI/APIC (David Lutterkort), checking of QEmu architectures (Daniel - berrange), improve devices XML errors reporting (Masayuki Sunou), - speedup of domain queries on Xen (Daniel berrange), augment XML dumps - with interface devices names (Richard Jones), internal API to query - drivers for features (Richard Jones). - - - Cleanups: Improve virNodeGetInfo implentation (Daniel berrange), - general UUID code cleanup (Daniel berrange), fix API generator - file selection. - - -0.3.1: Jul 24 2007: - - Documentation: index to remote page, script to test certificates, - IPv6 remote support docs (Daniel Berrange), document - VIRSH_DEFAULT_CONNECT_URI in virsh man page (David Lutterkort), - Relax-NG early grammar for the network XML (David Lutterkort) - - Bug fixes: leaks in disk XML parsing (Masayuki Sunou), hypervisor - alignment call problems on PPC64 (Christian Ehrhardt), dead client - registration in daemon event loop (Daniel Berrange), double free - in error handling (Daniel Berrange), close on exec for log file - descriptors in the daemon (Daniel Berrange), avoid caching problem - in remote daemon (Daniel Berrange), avoid crash after QEmu domain - failure (Daniel Berrange) - - Improvements: checks of x509 certificates and keys (Daniel Berrange), - error reports in the daemon (Daniel Berrange), checking of Ethernet MAC - addresses in XML configs (Masayuki Sunou), support for a new - clock switch between UTC and localtime (Daniel Berrange), early - version of OpenVZ support (Shuveb Hussain), support for input devices - on PS/2 and USB buses (Daniel Berrange), more tests especially - the QEmu support (Daniel Berrange), range check in credit scheduler - (with Saori Fukuta and Atsushi Sakai), add support for listen VNC - parameter un QEmu and fix command line arg (Daniel Berrange) - - Cleanups: debug tracing (Richard Jones), removal of --with-qemud-pid-file - (Richard Jones), remove unused virDeviceMode, new util module for - code shared between drivers (Shuveb Hussain), xen header location - detection (Richard Jones) - - -0.3.0: Jul 9 2007: - - Secure Remote support (Richard Jones). - See the remote page - of the documentation - - - Documentation: remote support (Richard Jones), description of - the URI connection strings (Richard Jones), update of virsh man - page, matrix of libvirt API/hypervisor support with version - informations (Richard Jones) - - Bug fixes: examples Makefile.am generation (Richard Jones), - SetMem fix (Mark Johnson), URI handling and ordering of - drivers (Daniel Berrange), fix virsh help without hypervisor (Richard - Jones), id marshalling fix (Daniel Berrange), fix virConnectGetMaxVcpus - on remote (Richard Jones), avoid a realloc leak (Jim Meyering), scheduler - parameters handling for Xen (Richard Jones), various early remote - bug fixes (Richard Jones), remove virsh leaks of domains references - (Masayuki Sunou), configCache refill bug (Richard Jones), fix - XML serialization bugs - - Improvements: QEmu switch to XDR-based protocol (Dan Berrange), - device attach/detach commands (Masayuki Sunou), OCaml bindings - (Richard Jones), new entry points virDomainGetConnect and - virNetworkGetConnect useful for bindings (Richard Jones), - reunitifaction of remote and qemu daemon under a single libvirtd - with a config file (Daniel Berrange) - - Cleanups: parsing of connection URIs (Richard Jones), messages - from virsh (Saori Fukuta), Coverage files (Daniel Berrange), - Solaris fixes (Mark Johnson), avoid [r]index calls (Richard Jones), - release information in Xen backend, virsh cpupin command cleanups - (Masayuki Sunou), xen:/// suppport as standard Xen URI (Richard Jones and - Daniel Berrange), improve driver selection/decline mechanism (Richard - Jones), error reporting on XML dump (Richard Jones), Remove unused - virDomainKernel structure (Richard Jones), daemon event loop event - handling (Daniel Berrange), various unifications cleanup in the daemon - merging (Daniel Berrange), internal file and timer monitoring API - (Daniel Berrange), remove libsysfs dependancy, call brctl program - directly (Daniel Berrange), virBuffer functions cleanups (Richard Jones), - make init script LSB compliant, error handling on lookup functions - (Richard Jones), remove internal virGetDomainByID (Richard Jones), - revamp of xen subdrivers interfaces (Richard Jones) - - Localization updates - - -0.2.3: Jun 8 2007: - - Documentation: documentation for upcoming remote access (Richard Jones), - virConnectNumOfDefinedDomains doc (Jan Michael), virsh help messages - for dumpxml and net-dumpxml (Chris Wright), - - Bug fixes: RelaxNG schemas regexp fix (Robin Green), RelaxNG arch bug - (Mark McLoughlin), large buffers bug fixes (Shigeki Sakamoto), error - on out of memory condition (Shigeki Sakamoto), virshStrdup fix, non-root - driver when using Xen bug (Richard Jones), use --strict-order when - running dnsmasq (Daniel Berrange), virbr0 weirdness on restart (Mark - McLoughlin), keep connection error messages (Richard Jones), increase - QEmu read buffer on help (Daniel Berrange), rpm dependance on - dnsmasq (Daniel Berrange), fix XML boot device syntax (Daniel Berrange), - QEmu memory bug (Daniel Berrange), memory leak fix (Masayuki Sunou), - fix compiler flags (Richard Jones), remove type ioemu on recent Xen - HVM for paravirt drivers (Saori Fukuta), uninitialized string bug - (Masayuki Sunou), allow init even if the daemon is not running, - XML to config fix (Daniel Berrange) - - Improvements: add a special error class for the test module (Richard - Jones), virConnectGetCapabilities on proxy (Richard Jones), allow - network driver to decline usage (Richard Jones), extend error messages - for upcoming remote access (Richard Jones), on_reboot support for QEmu - (Daniel Berrange), save daemon output in a log file (Daniel Berrange), - xenXMDomainDefineXML can override guest config (Hugh Brock), - add attach-device and detach-device commands to virsh (Masayuki Sunou - and Mark McLoughlin and Richard Jones), make virGetVersion case - insensitive and Python bindings (Richard Jones), new scheduler API - (Atsushi SAKAI), localizations updates, add logging option for virsh - (Nobuhiro Itou), allow arguments to be passed to bootloader (Hugh Brock), - increase the test suite (Daniel Berrange and Hugh Brock) - - Cleanups: Remove VIR_DRV_OPEN_QUIET (Richard Jones), disable xm_internal.c - for Xen > 3.0.3 (Daniel Berrange), unused fields in _virDomain (Richard - Jones), export __virGetDomain and __virGetNetwork for libvirtd only - (Richard Jones), ignore old VNC config for HVM on recent Xen (Daniel - Berrange), various code cleanups, -Werror cleanup (Hugh Brock) - - -0.2.2: Apr 17 2007: - - Documentation: fix errors due to Amaya (with Simon Hernandez), - virsh uses kB not bytes (Atsushi SAKAI), add command line help to - qemud (Richard Jones), xenUnifiedRegister docs (Atsushi SAKAI), - strings typos (Nikolay Sivov), ilocalization probalem raised by - Thomas Canniot - - Bug fixes: virsh memory values test (Masayuki Sunou), operations without - libvirt_qemud (Atsushi SAKAI), fix spec file (Florian La Roche, Jeremy - Katz, Michael Schwendt), - direct hypervisor call (Atsushi SAKAI), buffer overflow on qemu - networking command (Daniel Berrange), buffer overflow in quemud (Daniel - Berrange), virsh vcpupin bug (Masayuki Sunou), host PAE detections - and strcuctures size (Richard Jones), Xen PAE flag handling (Daniel - Berrange), bridged config configuration (Daniel Berrange), erroneous - XEN_V2_OP_SETMAXMEM value (Masayuki Sunou), memory free error (Mark - McLoughlin), set VIR_CONNECT_RO on read-only connections (S.Sakamoto), - avoid memory explosion bug (Daniel Berrange), integer overflow - for qemu CPU time (Daniel Berrange), QEMU binary path check (Daniel - Berrange) - - Cleanups: remove some global variables (Jim Meyering), printf-style - functions checks (Jim Meyering), better virsh error messages, increase - compiler checkings and security (Daniel Berrange), virBufferGrow usage - and docs, use calloc instead of malloc/memset, replace all sprintf by - snprintf, avoid configure clobbering user's CTAGS (Jim Meyering), - signal handler error cleanup (Richard Jones), iptables internal code - claenup (Mark McLoughlin), unified Xen driver (Richard Jones), - cleanup XPath libxml2 calls, IPTables rules tightening (Daniel - Berrange), - - Improvements: more regression tests on XML (Daniel Berrange), Python - bindings now generate exception in error cases (Richard Jones), - Python bindings for vir*GetAutoStart (Daniel Berrange), - handling of CD-Rom device without device name (Nobuhiro Itou), - fix hypervisor call to work with Xen 3.0.5 (Daniel Berrange), - DomainGetOSType for inactive domains (Daniel Berrange), multiple boot - devices for HVM (Daniel Berrange), - - - -0.2.1: Mar 16 2007: - - Various internal cleanups (Richard Jones,Daniel Berrange,Mark McLoughlin) - - Bug fixes: libvirt_qemud daemon path (Daniel Berrange), libvirt - config directory (Daniel Berrange and Mark McLoughlin), memory leak - in qemud (Mark), various fixes on network support (Mark), avoid Xen - domain zombies on device hotplug errors (Daniel Berrange), various - fixes on qemud (Mark), args parsing (Richard Jones), virsh -t argument - (Saori Fukuta), avoid virsh crash on TAB key (Daniel Berrange), detect - xend operation failures (Kazuki Mizushima), don't listen on null socket - (Rich Jones), read-only socket cleanup (Rich Jones), use of vnc port 5900 - (Nobuhiro Itou), assorted networking fixes (Daniel Berrange), shutoff and - shutdown mismatches (Kazuki Mizushima), unlimited memory handling - (Atsushi SAKAI), python binding fixes (Tatsuro Enokura) - - Build and portability fixes: IA64 fixes (Atsushi SAKAI), dependancies - and build (Daniel Berrange), fix xend port detection (Daniel - Berrange), icompile time warnings (Mark), avoid const related - compiler warnings (Daniel Berrange), automated builds (Daniel - Berrange), pointer/int mismatch (Richard Jones), configure time - selection of drivers, libvirt spec hacking (Daniel Berrange) - - Add support for network autostart and init scripts (Mark McLoughlin) - - New API virConnectGetCapabilities() to detect the virtualization - capabilities of a host (Richard Jones) - - Minor improvements: qemud signal handling (Mark), don't shutdown or reboot - domain0 (Kazuki Mizushima), QEmu version autodetection (Daniel Berrange), - network UUIDs (Mark), speed up UUID domain lookups (Tatsuro Enokura and - Daniel Berrange), support for paused QEmu CPU (Daniel Berrange), keymap - VNC attribute support (Takahashi Tomohiro and Daniel Berrange), maximum - number of virtual CPU (Masayuki Sunou), virtsh --readonly option (Rich - Jones), python bindings for new functions (Daniel Berrange) - - Documentation updates especially on the XML formats - - -0.2.0: Feb 14 2007: - - Various internal cleanups (Mark McLoughlin, Richard Jones, - Daniel Berrange, Karel Zak) - - Bug fixes: avoid a crash in connect (Daniel Berrange), virsh args - parsing (Richard Jones) - - Add support for QEmu and KVM virtualization (Daniel Berrange) - - Add support for network configuration (Mark McLoughlin) - - Minor improvements: regression testing (Daniel Berrange), - localization string updates - - -0.1.11: Jan 22 2007: - - Finish XML <-> XM config files support - - Remove memory leak when freeing virConf objects - - Finishing inactive domain support (Daniel Berrange) - - Added a Relax-NG schemas to check XML instances - - -0.1.10: Dec 20 2006: - - more localizations - - bug fixes: VCPU info breakages on xen 3.0.3, xenDaemonListDomains buffer overflow (Daniel Berrange), reference count bug when creating Xen domains (Daniel Berrange). - - improvements: support graphic framebuffer for Xen paravirt (Daniel Berrange), VNC listen IP range support (Daniel Berrange), support for default Xen config files and inactive domains of 3.0.4 (Daniel Berrange). - - -0.1.9: Nov 29 2006: - - python bindings: release interpeter lock when calling C (Daniel Berrange) - - don't raise HTTP error when looking informations for a domain - - some refactoring to use the driver for all entry points - - better error reporting (Daniel Berrange) - - fix OS reporting when running as non-root - - provide XML parsing errors - - extension of the test framework (Daniel Berrange) - - fix the reconnect regression test - - python bindings: Domain instances now link to the Connect to avoid garbage collection and disconnect - - separate the notion of maximum memory and current use at the XML level - - Fix a memory leak (Daniel Berrange) - - add support for shareable drives - - add support for non-bridge style networking configs for guests(Daniel Berrange) - - python bindings: fix unsigned long marshalling (Daniel Berrange) - - new config APIs virConfNew() and virConfSetValue() to build configs from scratch - - hot plug device support based on Michel Ponceau patch - - added support for inactive domains, new APIs, various associated cleanup (Daniel Berrange) - - special device model for HVM guests (Daniel Berrange) - - add API to dump core of domains (but requires a patched xend) - - pygrub bootloader informations take over informations - - updated the localization strings - - -0.1.8: Oct 16 2006: - - Bug for system with page size != 4k - - vcpu number initialization (Philippe Berthault) - - don't label crashed domains as shut off (Peter Vetere) - - fix virsh man page (Noriko Mizumoto) - - blktapdd support for alternate drivers like blktap (Daniel Berrange) - - memory leak fixes (xend interface and XML parsing) (Daniel Berrange) - - compile fix - - mlock/munlock size fixes (Daniel Berrange) - - improve error reporting - - -0.1.7: Sep 29 2006: - - fix a memory bug on getting vcpu informations from xend (Daniel Berrange) - - fix another problem in the hypercalls change in Xen changeset - 86d26e6ec89b when getting domain informations (Daniel Berrange) - - -0.1.6: Sep 22 2006: - - Support for localization of strings using gettext (Daniel Berrange) - - Support for new Xen-3.0.3 cdrom and disk configuration (Daniel Berrange) - - Support for setting VNC port when creating domains with new - xend config files (Daniel Berrange) - - Fix bug when running against xen-3.0.2 hypercalls (Jim Fehlig) - - Fix reconnection problem when talking directly to http xend - - -0.1.5: Sep 5 2006: - - Support for new hypercalls change in Xen changeset 86d26e6ec89b - - bug fixes: virParseUUID() was wrong, netwoking for paravirt guestsi - (Daniel Berrange), virsh on non-existent domains (Daniel Berrange), - string cast bug when handling error in python (Pete Vetere), HTTP - 500 xend error code handling (Pete Vetere and Daniel Berrange) - - improvements: test suite for SEXPR <-> XML format conversions (Daniel - Berrange), virsh output regression suite (Daniel Berrange), new environ - variable VIRSH_DEFAULT_CONNECT_URI for the default URI when connecting - (Daniel Berrange), graphical console support for paravirt guests - (Jeremy Katz), parsing of simple Xen config files (with Daniel Berrange), - early work on defined (not running) domains (Daniel Berrange), - virsh output improvement (Daniel Berrange - - -0.1.4: Aug 16 2006: - - bug fixes: spec file fix (Mark McLoughlin), error report problem (with - Hugh Brock), long integer in Python bindings (with Daniel Berrange), XML - generation bug for CDRom (Daniel Berrange), bug whem using number() XPath - function (Mark McLoughlin), fix python detection code, remove duplicate - initialization errors (Daniel Berrange) - - improvements: UUID in XML description (Peter Vetere), proxy code - cleanup, virtual CPU and affinity support + virsh support (Michel - Ponceau, Philippe Berthault, Daniel Berrange), port and tty informations - for console in XML (Daniel Berrange), added XML dump to driver and proxy - support (Daniel Berrange), extention of boot options with support for - floppy and cdrom (Daniel Berrange), features block in XML to report/ask - PAE, ACPI, APIC for HVM domains (Daniel Berrange), fail saide-effect - operations when using read-only connection, large improvements to test - driver (Daniel Berrange) - - documentation: spelling (Daniel Berrange), test driver examples. - - -0.1.3: Jul 11 2006: - - bugfixes: build as non-root, fix xend access when root, handling of - empty XML elements (Mark McLoughlin), XML serialization and parsing fixes - (Mark McLoughlin), allow to create domains without disk (Mark - McLoughlin), - - improvement: xenDaemonLookupByID from O(n^2) to O(n) (Daniel Berrange), - support for fully virtualized guest (Jim Fehlig, DV, Mark McLoughlin) - - documentation: augmented to cover hvm domains - - -0.1.2: Jul 3 2006: - - headers include paths fixup - - proxy mechanism for unpriviledged read-only access by httpu - - -0.1.1: Jun 21 2006: - - building fixes: ncurses fallback (Jim Fehlig), VPATH builds (Daniel P. - Berrange) - - driver cleanups: new entry points, cleanup of libvirt.c (with Daniel P. - Berrange) - - Cope with API change introduced in Xen changeset 10277 - - new test driver for regression checks (Daniel P. Berrange) - - improvements: added UUID to XML serialization, buffer usage (Karel - Zak), --connect argument to virsh (Daniel P. Berrange), - - bug fixes: uninitialized memory access in error reporting, S-Expr - parsing (Jim Fehlig, Jeremy Katz), virConnectOpen bug, remove a TODO in - xs_internal.c - - documentation: Python examples (David Lutterkort), new Perl binding - URL, man page update (Karel Zak) - - -0.1.0: Apr 10 2006: - - building fixes: --with-xen-distdir option (Ronald Aigner), out of tree - build and pkginfo cflag fix (Daniel Berrange) - - enhancement and fixes of the XML description format (David Lutterkort - and Jim Fehlig) - - new APIs: for Node information and Reboot - - internal code cleanup: refactoring internals into a driver model, more - error handling, structure sharing, thread safety and ref counting - - bug fixes: error message (Jim Meyering), error allocation in virsh (Jim - Meyering), virDomainLookupByID (Jim Fehlig), - - documentation: updates on architecture, and format, typo fix (Jim - Meyering) - - bindings: exception handling in examples (Jim Meyering), perl ones out - of tree (Daniel Berrange) - - virsh: more options, create, nodeinfo (Karel Zak), renaming of some - options (Karel Zak), use stderr only for errors (Karel Zak), man page - (Andrew Puch) - - -0.0.6: Feb 28 2006: - - add UUID lookup and extract API - - add error handling APIs both synchronous and asynchronous - - added minimal hook for error handling at the python level, improved the - python bindings - - augment the documentation and tests to cover error handling - - -0.0.5: Feb 23 2006: - - Added XML description parsing, dependance to libxml2, implemented the - creation API virDomainCreateLinux() - - new APIs to lookup and name domain by UUID - - fixed the XML dump when using the Xend access - - Fixed a few more problem related to the name change - - Adding regression tests in python and examples in C - - web site improvement, extended the documentation to cover the XML - format and Python API - - Added devhelp help for Gnome/Gtk programmers - - -0.0.4: Feb 10 2006: - - Fix various bugs introduced in the name change - - -0.0.3: Feb 9 2006: - - Switch name from from 'libvir' to libvirt - - Starting infrastructure to add code examples - - Update of python bindings for completeness - - -0.0.2: Jan 29 2006: - - Update of the documentation, web site redesign (Diana Fong) - - integration of HTTP xend RPC based on libxend by Anthony Liquori for - most operations - - Adding Save and Restore APIs - - extended the virsh command line tool (Karel Zak) - - remove xenstore transactions (Anthony Liguori) - - fix the Python bindings bug when domain and connections where freed - - -0.0.1: Dec 19 2005: - - First release - - Basic management of existing Xen domains - - Minimal autogenerated Python bindings -