[libvirt] Release of libvirt-0.8.5

So the release it out ! And hopefully we are back on our 'end of month' release cycle. The libvirt-0.8.5 release is available from ftp://libvirt.org/libvirt/ So we have a number of features in this new release, I will also note the rather large mount of documentation fixes (thanks Justin and others!) and portability. Hopefully this will help people to use libvirt in a veriety of context ! Features: - Enable JSON and netdev features in QEMU >= 0.13 (Daniel P. Berrange) - framework for auditing integration (Daniel P. Berrange) - framework for DTrace/SystemTap integration (Daniel P. Berrange) - Setting the number of vcpu at boot (Eric Blake) - Enable support for nested SVM (Daniel P. Berrange) - Virtio plan9fs filesystem QEMU (Daniel P. Berrange) - Memory parameter controls (Nikunj A. Dadhania) - portability to OS-X (Justin Clift) Documentation: - virsh: improve the help description for managedsave and start (Justin Clift) - docs: updated the C# bindings page with arnauds latest changes (Justin Clift) - docs: update ruby bindings maintainer to chris lalancette (Justin Clift) - docs: reworded and reordered the bindings page, plus minor tweaks (Justin Clift) - Fix xen API documentation (Philipp Hahn) - docs: added a table of contents to the first 11 docs files (Justin Clift) - docs: reformated the bindings page html markup to match other pages (Justin Clift) - docs: revamp api_extension example, using vcpu patch series (Eric Blake) - docs: install the generated html files when make install is run (Justin Clift) - Fix documentation for virEventAddTimeout() (Philipp Hahn) - esx: Add documentation about certificates and connection problems (Matthias Bolte) - docs: added a table of contents to the new c sharp bindings page (Justin Clift) - docs: removed old changelog file, as it is no longer relevant (Justin Clift) - Update comments for the memory tunables macros (Nikunj A. Dadhania) - docs: added initial page for c# binding, with links to it (Justin Clift) - virsh: consolidate memtune docs (Eric Blake) - Update docs for memory parameters and memtune command (Nikunj A. Dadhania) - docs: document how to disable memballoon (Eric Blake) - Update todo list file to point at bugzilla/website (Daniel P. Berrange) - virsh: update comment about parsing (Eric Blake) - virsh: document options in man page (Eric Blake) - Fixes for documentation extraction (Daniel Veillard) - Add automatic generation of a todo item page (Daniel P. Berrange) - nwfilter: Add 2nd example to the html docs (Stefan Berger) - nwfilter: Extend docs with info about the state attribute (Stefan Berger) - vcpu: improve cpuset attribute (Eric Blake) - nwfilter: Extend docs with information about comment attr. (Stefan Berger) - docs: grammar cleanups on logging examples (Eric Blake) - Fix spelling of Xen in comments (Philipp Hahn) - docs: reworked the policykit patch submitted by Patrick Dignan (Justin Clift) - docs: fix the xml validity errors regarding name and id (Justin Clift) - docs: improve wording for the dev guide (Justin Clift) - docs: add the app dev guide (Justin Clift) Portability: - mingw: Add body for virFork and remove double virDriverLoadModule export (Matthias Bolte) - daemon: exclude requirement for probes.h on systems without systemtap (Justin Clift) - build: skip xenapi driver when building for RHEL (Eric Blake) - build: fix mingw build (Eric Blake) - build: require pkg-config for bootstrap (Eric Blake) - configure: disable network and storage-fs drivers on mac os x (Justin Clift) - build: fix example build on MacOS X (Eric Blake) - mpath: disable devmapper-multipath checking on non-linux (Justin Clift) - mac os x: use awk selected by build system rather than first in path (Justin Clift) - virtualbox: fix a typo in the expected location on mac os x (Justin Clift) - nwfilter: Don't compile nwfilter driver on other systems than Linux (Stefan Berger) - nwfilter: add a missing define, so libvirtd builds on macos x (Justin Clift) - build: avoid non-portable IPv6 struct member, for MacOS X (Eric Blake) - virsh: change wexitstatus order to allow compilation on mac osx (Justin Clift) - build: use portable sed expressions (Eric Blake) Bug Fixes: - eliminate possibility of a double-closed file descriptor (Stefan Berger) - qemu: check for vm after starting a job (Eric Blake) - Only attempt removal of the rule allowing tftp if it was added (Laine Stump) - qemu: don't use %.3d format for bus/addr of USB devices (Diego Elio Pettenò) - virsh: fix range of memtune command (Eric Blake) - qemu: work around dash 0.5.5 bug in managed save (Eric Blake) - Avoid squashing errors during network startup cleanup path (Daniel P. Berrange) - xen: Fix domain dump (Jiri Denemark) - dnsmasq: avoid potential crash (Eric Blake) - Fix netmask checks for IPv6 in virSocketCheckNetmask (Daniel P. Berrange) - Don't fail lxc domain start when memory controller support is missing (Guido Günther) - root_squash: virFileOperation may fail with EPERM too (Dan Kenigsberg) - qemu: let qemu group look below /var/lib/libvirt/qemu/ (Dan Kenigsberg) - qemu: Prohibit migration of guests with host devices (Jiri Denemark) - cpu: Use vendor in baseline CPU only if all hosts use it (Jiri Denemark) - cpu: Fix vendor for recent CPU models (Jiri Denemark) - Fix Xen SEXPR generation to properly quote strings containing () (Daniel P. Berrange) - nwfilter: resolve deadlock between VM ops and filter update (Stefan Berger) - Don't fail on missing D-Bus (Guido Günther) - cpu: Remove redundant features (Jiri Denemark) - xen: Fix virDomain{At,De}tachDevice (Jiri Denemark) - xen: xenXMDomain*DeviceFlags should obey all flags (Jiri Denemark) - nwfilter: fix memory leaks (Stefan Berger) - phyp: Checking for NULL values when building new guest (Eduardo Otubo) - libvirt-guests: start late and stop early (Jiri Denemark) - nwfilter bug appearing on big endian machines (Stefan Berger) - Rebuild network filter for UML guests on updates (Soren Hansen) Improvements: - vbox: Stop hardcoding a single path for VBoxXPCOMC.so (Matthias Bolte) - Add disk/net resource auditing to QEMU driver (Daniel P. Berrange) - Add auditing of security label in QEMU driver (Daniel P. Berrange) - Add auditing of start/stop events to the QEMU driver (Daniel P. Berrange) - Add printf format attribute annotation to virAuditSend method (Daniel P. Berrange) - Add audit helper for escaping log message strings (Daniel P. Berrange) - virsh: use - not _ in memtune option names (Eric Blake) - build: fix shell detection bug (Eric Blake) - virsh: improve help text where integers are expected (Eric Blake) - docs: make the location of the xml catalog file a configure option (Justin Clift) - Fix build for SystemTap 1.0 (Matthias Bolte) - Fix formatting of network address in iptables helpers (Daniel P. Berrange) - virsh: Add option 'model' for attach-interface (Osier Yang) - qemu: Fix detection of drive readonly option (Jiri Denemark) - vbox: Fix compile errors due to the virSocketAddr series (Matthias Bolte) - Don't try to parse a NULL ip address for boot server (Daniel P. Berrange) - Convert virNetwork to use virSocketAddr everywhere (Daniel P. Berrange) - Include socket address in client probe data (Daniel P. Berrange) - Add dtrace static probes in libvirtd (Daniel P. Berrange) - Add test suite for virSocket APIs (Daniel P. Berrange) - Ban use of all inet_* functions (Daniel P. Berrange) - Fix error reporting for virSocketParse (Daniel P. Berrange) - Expand virSocketFormat to be more flexible (Daniel P. Berrange) - Fix passing of address family to virSocketParseAddr (Daniel P. Berrange) - Include length with virSocketAddr data (Daniel P. Berrange) - audit: simplify declaration (Eric Blake) - qemu: Exit on first error in qemuDomainGetMemoryParameters (Matthias Bolte) - virsh: Don't read nparams when virDomainGetMemoryParameters fails (Matthias Bolte) - Fix formatting of the memtune XML element (Matthias Bolte) - Add process= support for 'qemu-kvm -name' (John Morrissey) - nwfilter: avoid dir. enforcement for certain types of rules (Stefan Berger) - Audit SELinux label assignment. (Miloslav Trmač) - Audit VM start/stop/suspend/resume (Miloslav Trmač) - vcpu: remove dead xen code (Eric Blake) - vcpu: improve support for setting xen vcpu counts (Eric Blake) - vcpu: improve support for getting xen vcpu counts (Eric Blake) - vcpu: improve vcpu support in xen command line (Eric Blake) - vcpu: complete vcpu support in qemu driver (Eric Blake) - vcpu: improve vcpu support in qemu command line (Eric Blake) - vcpu: support all flags in test driver (Eric Blake) - vcpu: add virsh support (Eric Blake) - vcpu: support maxvcpu in domain_conf (Eric Blake) - vcpu: make old API trivially wrap to new API (Eric Blake) - vcpu: implement the remote protocol (Eric Blake) - vcpu: implement the public APIs (Eric Blake) - vcpu: define internal driver API (Eric Blake) - vcpu: add new public API (Eric Blake) - nwfilter: changes to rules in VM->host table (Stefan Berger) - esx: Handle non-UTF-8 encoded VMX files (Matthias Bolte) - Run initgroups() in qemudOpenAsUID() (Dan Kenigsberg) - memtune: Add min_guarantee to the virsh memtune command (Nikunj A. Dadhania) - esx: Fix check in esxDomainGetInfo's perf metric handling (Matthias Bolte) - virsh: add tests for recent cli improvements (Eric Blake) - virsh: new echo command (Eric Blake) - virsh: add support for accepting arbitrary argv (Eric Blake) - esx: Explictly declare VMX file content as UTF-8 (Matthias Bolte) - esx: Handle name escaping properly (Matthias Bolte) - nwfilter: prevent filters with different name but same UUID (Stefan Berger) - new attribute accessmode to filesystem element (Harsh Prateek Bora) - nwfilter: cut off connections after changing filters (Stefan Berger) - build: provide URL in 'configure --help' (Eric Blake) - tests: Honor LIBVIRT_{DEBUG,LOG_*} variables (Jiri Denemark) - tests: Do not override LIBVIRT_DEBUG variable (Jiri Denemark) - Improve error reporting in test suites (Daniel P. Berrange) - virsh: move code into topological order (Eric Blake) - virsh: simplify top-level option parsing (Eric Blake) - virsh: add -- support (Lai Jiangshan) - virsh: support single quote (Lai Jiangshan) - virsh: add escaper \ for command string parsing (Lai Jiangshan) - virsh: rework command parsing (Lai Jiangshan) - virsh: add vshCommandParser abstraction (Lai Jiangshan) - virsh: better handling the boolean option (Lai Jiangshan) - virsh: allow zero length arguments (Lai Jiangshan) - virsh: better support double quote (Lai Jiangshan) - Add todo.pl and config example to EXTRA_DIST (Daniel P. Berrange) - Fix several minor problems introduced by the memtune series (Matthias Bolte) - Remote protocol implementation of virDomainSet/GetMemoryParameters (Nikunj A. Dadhania) - Adding memtune command to virsh tool (Nikunj A. Dadhania) - Implement domainGetMemoryParamters for LXC (Nikunj A. Dadhania) - Implement domainSetMemoryParamters for LXC (Nikunj A. Dadhania) - Adding memtunables to libvirt-lxc command (Nikunj A. Dadhania) - Adding memtunables to qemuSetupCgroup (Nikunj A. Dadhania) - Implement domainGetMemoryParamters for QEmu (Nikunj A. Dadhania) - Implement domainSetMemoryParamters for QEmu (Nikunj A. Dadhania) - Implement cgroup memory controller tunables (Nikunj A. Dadhania) - XML parsing for memory tunables (Nikunj A. Dadhania) - Adds xml entries for memory tunables in domain schema (Nikunj A. Dadhania) - Adding structure and defines for virDomainSet/GetMemoryParameters (Nikunj A. Dadhania) - Set sensible defaults for cpu match and feature policy (Daniel P. Berrange) - xen: Fix logic bug in xenDaemon*DeviceFlags (Jiri Denemark) - xen: Make xenDaemon*DeviceFlags errors less confusing (Jiri Denemark) - Return a suitable error message if we can't find a matching emulator (Guido Günther) - Pass -n to ip(6)tables (Guido Günther) - nwfilter: Extend schema to accept state attribute (Stefan Berger) - nwfilter: Add test case for testing the state attribute (Stefan Berger) - nwfilter: Instantiate state match in ip(6)tables rules (Stefan Berger) - nwfilter: Extend XML parser and gen. to support state attr. (Stefan Berger) - xen: Fix bogus error when attaching a device (Jiri Denemark) - esx: Add support for virtual serial device network backing (Matthias Bolte) - phyp: Verify that domain XML contains at least one disk element (Matthias Bolte) - implement usb and pci hot attach in AppArmor driver (Jamie Strandboge) - nwfilter: Add a test case for testing the comment attribute (Stefan Berger) - nwfilter: Extend nwfilter schema to accept comment attrib. (Stefan Berger) - nwfilter: Instantiate comments in ip(6)tables rules (Stefan Berger) - nwfilter: Extend XML parser and generator w/ comment attribute (Stefan Berger) - configure: tweak logic flow of virtport check (Justin Clift) - Rework configure logic for virtualport support (Stefan Berger) - nwfilter: report if ip(6)tables rules would not be active (Stefan Berger) - app-armor: add 'rw' for appropriate devices (Jamie Strandboge) - add extra tests to virt-aa-helper-test for new '-p' option (Jamie Strandboge) - esx: Allow '-' in VMX entry names (Matthias Bolte) - Make SASL work over UNIX domain sockets (Daniel P. Berrange) - Refactor some daemon code to facilitate introduction of static probes (Daniel P. Berrange) - nodeinfo: work when hot-plugging is disabled (Eric Blake) - libvirtd: improve the error message displayed on tls client auth failure (Justin Clift) - virsh: Use virBuffer for generating XML (Jiri Denemark) Cleanups: - audit: printf warning fix (KAMEZAWA Hiroyuki) - build: use shorter file names for 'make dist' (Eric Blake) - maint: fix syntax-check failure of previous patch (Eric Blake) - maint: ignore new test executable (Eric Blake) - tests: Silence qemuxml2argv test (Jiri Denemark) - Remove all use of inet_pton and inet_ntop (Daniel P. Berrange) - Remove both addrToString methods (Daniel P. Berrange) - Remove pointless nwIPAddress struct & void *casts (Daniel P. Berrange) - Remove useless code in error path of getnameinfo() (Daniel P. Berrange) - maint: sort private sym lists (Eric Blake) - Rename VIR_DOMAIN_SWAP_HARD_LIMIT to VIR_DOMAIN_MEMORY_SWAP_HARD_LIMIT (Matthias Bolte) - Fix make check on RHEL-5 (Jiri Denemark) - Don't let daemon-conf test fail when auditing is disabled (Matthias Bolte) - Fix compile errors in remote.c and newly added audit code (Matthias Bolte) - Fix symbol exports & remove duplicated libvirt_util.la linkage (Daniel P. Berrange) - Fix statstest when driver modules are enabled (Daniel P. Berrange) - build: avoid false positive syntax-check failure (Eric Blake) - proxy: Fix undefined reference to virClose (Matthias Bolte) - Introduce VIR_CLOSE to be used rather than close() (Stefan Berger) - Fix warning about a non-literal format string in qemu_driver.c (Laine Stump) - test: silence nwfilter test (Stefan Berger) - tests: fix spurious test failure (Eric Blake) - memory: fix remote protocol compilation (Eric Blake) - virsh: poison raw allocation routines (Eric Blake) - Avoid checking against strncpy in virsh.c (Daniel Veillard) - Cleanup some tabs issues (Daniel Veillard) - util: add missing export (Eric Blake) - virt-aa-helper-test cleanups (Jamie Strandboge) - python: drop unnecessary conn assignment (Dan Kenigsberg) - pciFindStubDriver should return NULL on error (Chris Wright) - tests: silence qemuargv2xmltest noise (Eric Blake) - tests: clean up qemuargv2xmltest (Eric Blake) - maint: silence warning from libtool (Eric Blake) - tests: Fix preprocessor indentation (Jiri Denemark) Thanks everybody who helped for this release ! Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

Il giorno ven, 29/10/2010 alle 17.11 +0200, Daniel Veillard ha scritto:
So the release it out ! And hopefully we are back on our 'end of month' release cycle. The libvirt-0.8.5 release is available from
0.8.5 has broken tests when disabling Xen support (see my patch about that). -- Diego Elio Pettenò — “Flameeyes” http://blog.flameeyes.eu/ If you found a .asc file in this mail and know not what it is, it's a GnuPG digital signature: http://www.gnupg.org/

Hi, I get the following error when trying to compile libvirt 0.8.5 on Debian: xen/xm_internal.c: In function 'xenXMDomainConfigParse': xen/xm_internal.c:774: error: 'MAX_VIRT_CPUS' undeclared (first use in this function) xen/xm_internal.c:774: error: (Each undeclared identifier is reported only once xen/xm_internal.c:774: error: for each function it appears in.) make[3]: *** [libvirt_driver_xen_la-xm_internal.lo] Error 1 make[3]: Leaving directory `/home/user/debian/libvirt/libvirt-0.8.5/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/user/debian/libvirt/libvirt-0.8.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/user/debian/libvirt/libvirt-0.8.5' make: *** [all] Error 2 Any idea what's wrong ? Thank you, -- Laurent Léonard

Il giorno dom, 31/10/2010 alle 00.09 +0200, Laurent Léonard ha scritto:
I get the following error when trying to compile libvirt 0.8.5 on Debian:
You need the patch that Eric sent afterwards Subject: [libvirt] [PATCH] xen: work with ia64 MAX_VIRT_CPUS of 64 or rather a modified version of it (it doesn't apply cleanly); you can find the one I've been applying at http://git.overlays.gentoo.org/gitweb/?p=proj/libvirt.git;a=patch;h=844ba611... -- Diego Elio Pettenò — “Flameeyes” http://blog.flameeyes.eu/ If you found a .asc file in this mail and know not what it is, it's a GnuPG digital signature: http://www.gnupg.org/

Can we put out a 0.8.5.1 release quickly, one with this patch applied? On 31/10/2010, at 9:36 AM, Diego Elio Pettenò <flameeyes@gmail.com> wrote:
Il giorno dom, 31/10/2010 alle 00.09 +0200, Laurent Léonard ha scritto:
I get the following error when trying to compile libvirt 0.8.5 on Debian:
You need the patch that Eric sent afterwards
Subject: [libvirt] [PATCH] xen: work with ia64 MAX_VIRT_CPUS of 64
or rather a modified version of it (it doesn't apply cleanly); you can find the one I've been applying at
http://git.overlays.gentoo.org/gitweb/?p=proj/libvirt.git;a=patch;h=844ba611...
-- Diego Elio Pettenò — “Flameeyes” http://blog.flameeyes.eu/
If you found a .asc file in this mail and know not what it is, it's a GnuPG digital signature: http://www.gnupg.org/
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Il giorno sab, 30/10/2010 alle 18.40 -0400, jclift@redhat.com ha scritto:
Can we put out a 0.8.5.1 release quickly, one with this patch applied?
For those of us who don't use xen, there is another patch needed (which is applied in HEAD already) at http://git.overlays.gentoo.org/gitweb/?p=proj/libvirt.git;a=patch;h=8547fa3c... In gentoo I have a 0.8.5-r1 that applies those two and the one I sent for USB/cgroup interactions (since I needed it for my stuff and it was reported in Gentoo as a bug already). -- Diego Elio Pettenò — “Flameeyes” http://blog.flameeyes.eu/ If you found a .asc file in this mail and know not what it is, it's a GnuPG digital signature: http://www.gnupg.org/

Le dimanche 31 octobre 2010 00:40:36, jclift@redhat.com a écrit :
Can we put out a 0.8.5.1 release quickly, one with this patch applied?
On 31/10/2010, at 9:36 AM, Diego Elio Pettenò <flameeyes@gmail.com> wrote:
Il giorno dom, 31/10/2010 alle 00.09 +0200, Laurent Léonard ha scritto:
I get the following error when trying to compile libvirt 0.8.5 on
Debian: You need the patch that Eric sent afterwards
Subject: [libvirt] [PATCH] xen: work with ia64 MAX_VIRT_CPUS of 64
or rather a modified version of it (it doesn't apply cleanly); you can find the one I've been applying at
http://git.overlays.gentoo.org/gitweb/?p=proj/libvirt.git;a=patch;h=844ba 61193015624dcf753b1eed2f62ae5d66685
Any idea when a 0.8.5.1 (without broken Xen support) will be released ? -- Laurent Léonard

On Fri, Nov 12, 2010 at 02:29:09PM +0100, Laurent Léonard wrote:
Le dimanche 31 octobre 2010 00:40:36, jclift@redhat.com a écrit :
Can we put out a 0.8.5.1 release quickly, one with this patch applied?
On 31/10/2010, at 9:36 AM, Diego Elio Pettenò <flameeyes@gmail.com> wrote:
Il giorno dom, 31/10/2010 alle 00.09 +0200, Laurent Léonard ha scritto:
I get the following error when trying to compile libvirt 0.8.5 on
Debian: You need the patch that Eric sent afterwards
Subject: [libvirt] [PATCH] xen: work with ia64 MAX_VIRT_CPUS of 64
or rather a modified version of it (it doesn't apply cleanly); you can find the one I've been applying at
http://git.overlays.gentoo.org/gitweb/?p=proj/libvirt.git;a=patch;h=844ba 61193015624dcf753b1eed2f62ae5d66685
Any idea when a 0.8.5.1 (without broken Xen support) will be released ?
There aren't any plans for a 0.8.5.1 release. It will be fixed in the regular end of month release for 0.8.6. In the meantime the patches the be found from GIT Regards, Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

Le vendredi 12 novembre 2010 14:42:56, Daniel P. Berrange a écrit :
On Fri, Nov 12, 2010 at 02:29:09PM +0100, Laurent Léonard wrote:
Le dimanche 31 octobre 2010 00:40:36, jclift@redhat.com a écrit :
Can we put out a 0.8.5.1 release quickly, one with this patch applied?
On 31/10/2010, at 9:36 AM, Diego Elio Pettenò <flameeyes@gmail.com> wrote:
Il giorno dom, 31/10/2010 alle 00.09 +0200, Laurent Léonard ha scritto:
I get the following error when trying to compile libvirt 0.8.5 on
Debian: You need the patch that Eric sent afterwards
Subject: [libvirt] [PATCH] xen: work with ia64 MAX_VIRT_CPUS of 64
or rather a modified version of it (it doesn't apply cleanly); you can find the one I've been applying at
http://git.overlays.gentoo.org/gitweb/?p=proj/libvirt.git;a=patch;h=8 44ba 61193015624dcf753b1eed2f62ae5d66685
Any idea when a 0.8.5.1 (without broken Xen support) will be released ?
There aren't any plans for a 0.8.5.1 release. It will be fixed in the regular end of month release for 0.8.6. In the meantime the patches the be found from GIT
OK, thank you. What patches are needed to fix this issue ? http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=dc27e089bf40ef0336667e2... Are there other patches ? -- Laurent Léonard
participants (6)
-
Daniel P. Berrange
-
Daniel Veillard
-
Diego Elio Pettenò
-
jclift@redhat.com
-
Justin Clift
-
Laurent Léonard