[Libvirt-announce] ANNOUNCE: Release of libvirt-sandbox version 0.0.2
by Daniel P. Berrange
I pleased to announce the first public release of libvirt-sandbox,
version 0.0.2 is now available for download
ftp://libvirt.org/libvirt/sandbox/
The packages are GPG signed with
Key fingerprint: DAF3 A6FD B26B 6291 2D0E 8E3F BE86 EBB4 1510 4FDF (4096R)
The libvirt-sandbox package provides an API layer on top of libvirt-gobject
which facilitates the cration of application sandboxes using virtualization
technology. An application sandbox is a virtual machine or container that
runs a single application binary, directly from the host OS filesystem.
In other words there is no separate guest operating system install to build
or manager.
At this point in time libvirt-sandbox can create sandboxes using either LXC
or KVM, and should in theory be extendable to any libvirt driver. The first
release is able to run simple command line based programs. While there is
some GUI support, this is mostly unreliable / non-functional at this point
in time, future releases will address this properly.
Some examples
$ virt-sandbox -c qemu:///session /bin/date
Thu Jan 12 22:30:03 GMT 2012
$ virt-sandbox -c qemu:///session /bin/cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 2
model name : QEMU Virtual CPU version 1.0
stepping : 3
cpu MHz : 2793.084
cache size : 4096 KB
fpu : yes
fpu_exception : yes
cpuid level : 4
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm up rep_good nopl pni cx16 hypervisor lahf_lm
bogomips : 5586.16
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
$ ./bin/virt-sandbox -c lxc:/// /bin/sh
sh-4.2$ ps -axuwf
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 165436 3756 pts/0 Ss+ 22:31 0:00 libvirt-sandbox-init-lxc
berrange 24 0.0 0.1 167680 4688 pts/0 S+ 22:31 0:00 libvirt-sandbox-init-common
berrange 47 0.0 0.0 13852 1608 pts/1 Ss 22:31 0:00 \_ /bin/sh
berrange 48 0.0 0.0 13124 996 pts/1 R+ 22:31 0:00 \_ ps -axuwf
Watch this space, there is much more interesting functionality in this
space that will be arriving soon...
Feedback / patches / etc should be directed to the main libvirt
development mailing list.
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
12 years, 11 months
[Libvirt-announce] ANNOUNCE: libvirt-glib release 0.0.4
by Daniel P. Berrange
I am pleased to announce that a new release of the libvirt-glib package,
version 0.0.4 is now available from
ftp://libvirt.org/libvirt/glib/
The packages are GPG signed with
Key fingerprint: DAF3 A6FD B26B 6291 2D0E 8E3F BE86 EBB4 1510 4FDF (4096R)
New in this release:
- Add support for configuring sound, serial, parallel
and channel devices
- Add support for newer libvirt shutdown event
- Add support for setting SPICE/VNC passwords
- Fix storage pool annotations
- Improve docs for memory APIs
- Fix problem with duplicated attributes
- Many internal XML helper API cleanups/additions
- Add API for retrieving list of all devices
- Fix mixup between g_new0/g_slice_free
- Change namespace for GVirConfig APIs (breaks ABI
and API)
- New APIs for save/suspend
libvirt-glib comprises three distinct libraries:
- libvirt-glib - Integrate with the GLib event loop and error handling
- libvirt-gconfig - Representation of libvirt XML documents as GObjects
- libvirt-gobject - Mapping of libvirt APIs into the GObject type system
NB: While libvirt aims to be API/ABI stable, for the first few releases,
we are *NOT* guaranteeing that libvirt-glib libraries are API/ABI stable.
ABI stability will only be guaranteed once the bulk of the APIs have been
fleshed out and proved in non-trivial application usage. We anticipate
this will be within the next 6 months in order to line up with Fedora 17.
Follow up comments about libvirt-glib should be directed to the regular
libvir-list redhat com development list.
Thanks to all the people involved in contributing to this release.
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
12 years, 11 months
[Libvirt-announce] Release of libvirt-0.9.9
by Daniel Veillard
As expected, I made the release of 0.9.9 today, it is tagged in git and
available at:
ftp://libvirt.org/libvirt/
Apparently some people expect the next one to be 1.0.0, but more
realistically it should be 0.9.10 and occuring in a month from today :-)
So this realease is a relatively light one with around 150 commits
i.e. half the usual amount, I assume most people envoyed the end of year
vacations :-) . The content is in a large part focused on local
improvements and bug fixes though we have a few new features !
Features:
- Add new API virDomain{S,G}etInterfaceParameters (Hu Tao)
- Add new API virDomain{G, S}etNumaParameters (Hu Tao)
- Add support for ppc64 qemu (Prerna Saxena, Bharata B Rao, Michael Ellerman)
- Support Xen domctl v8 (Jim Fehlig)
Documentation:
- Fix typos in messages. (Yuri Chornoivan)
- docs: re-fix stray / (Eric Blake)
- virsh: move version command to host group (Lai Jiangshan)
- docs: Move 'echo' command description into the generic commands section (Satoru SATOH)
- docs: Move 'send-key' command description into the domain commands section (Satoru SATOH)
- docs: remove stray / (Eric Blake)
- docs: fix missing / in xml examples (Eric Blake)
- docs: improve virsh domxml-*-native command docs (Alex Jia)
- docs: document <qemu:commandline> xml (Eric Blake)
- Fix typo in storage pool documentation (Christophe Fergeau)
- docs: tweak 'virsh edit' wording (Eric Blake)
- docs: document <address> elements in one place (Eric Blake)
- threads: Document spurious wakeups on virCondWait (Michal Privoznik)
Portability:
- build: fix mingw virCommand build (Eric Blake)
- tests: avoid test failure on rawhide gnutls (Eric Blake)
- build: drop check for ANSI compiler (Eric Blake)
- Fix build on s390(x) and other stange arches (Daniel Veillard)
- Require avahi as an rpm dependancy (Daniel Veillard)
- Disable python explicitly in mingw32 autobuild (Daniel P. Berrange)
- build: disable dtrace on non-Linux builds (Eric Blake)
- build: let autobuild check more code (Eric Blake)
- maint: allow bootstrap in a sandbox (Eric Blake)
Bug Fixes:
- qemu: Avoid memory leaks on qemuParseRBDString (Alex Jia)
- qemu: fix a bug in numatune (Hu Tao)
- qemu: fix use-after-free regression (Eric Blake)
- seclabel: fix regression in libvirtd restart (Eric Blake)
- command: Discard FD_SETSIZE limit for opened files (Michal Privoznik)
- Fix xenstore serial console path for HVM guests (Jim Fehlig)
- schemas: Allow '.' in CPU feature name (Jiri Denemark)
- virCommand: Properly handle POLLHUP (Michal Privoznik)
- virCPUDefCopy forgot to copy NUMA topology (Jiri Denemark)
- qemu: fix block stat naming (Eric Blake)
- domiftune: clean up previous patches (Eric Blake)
- virsh: Fix checking for reconnect conditions (Peter Krempa)
- qemu: Fix bandwidth memory leak on failure (Alex Jia)
- qemu: fix blkio memory leak on failure (Eric Blake)
- remove a static limit on max domains in python bindings (Daniel Veillard)
- python: Fix problems of virDomain{Set, Get}BlockIoTune bindings (Alex Jia)
- qemu: fix inf-loop in blkio parameters (Eric Blake)
- qemu: Keep list of USB devices attached to domains (Michal Privoznik)
- qemu: Release the lock on domobj if fails on finding the disk path (Osier Yang)
- virsh: plug mem leaks in domxml-*-native (Alex Jia)
- console: plug memory leaks (Alex Jia)
- rpc: handle param_int, plug memory leaks (Eric Blake)
- python: plug memory leak on libvirt_virConnectOpenAuth (Alex Jia)
- Only add the timer when a callback is registered (Daniel P. Berrange)
- qemu: detect truncated file as invalid save image (Eric Blake)
- qemu: Don't drop hostdev config until security label restore (Michal Privoznik)
- Fix default migration speed in qemu driver (Jim Fehlig)
- qemu: Fix race between async and query jobs (Jiri Denemark)
- qemu: Do not free the device from activePciHostdevs if it's in use (Osier Yang)
- qemu: Honor the original properties of PCI device when detaching (Osier Yang)
- spec: fix inverted logic on sanlock (Wen Congyang)
- tests: plug memory leak on linuxTestNodeInfo (Alex Jia)
- storage: Fix a potential crash when creating vol object (Osier Yang)
- qemu: Disable EOF processing during qemuDomainDestroy (Jiri Denemark)
- virsh: Free returned MIME type string (Michal Privoznik)
- storage: Activate/deactivate logical volumes only on local node (Rommer)
- security: don't try to label network disks (Josh Durgin)
- test: replace deprecated "fedora-13" machine with "pc-0.13" (Laine Stump)
- network: don't add iptables rules for externally managed networks (Laine Stump)
- threadpool: Use while loop on virCondWait (Michal Privoznik)
- virsh: plug memory leak on cmdDomblklist (Alex Jia)
- fix error when parsing ppc64 models on x86 host (Stefan Berger)
- fix memory leak in src/nodeinfo.c (Stefan Berger)
- threadpool: Don't wait on condition if pool has no workers (Michal Privoznik)
- bridge: Fix forward delay APIs (Jiri Denemark)
- virsh: return correct value from cmdDomIfGetLink (Peter Krempa)
- virsh: plug memory leak on cmdDomIfGetLink() sucessful path (Alex Jia)
- virsh: plug memory leak on cmdBlkdeviotune() sucessful path (Alex Jia)
- test: fix potential lock corruption in test driver (Laine Stump)
- spec: fix logic bug in deciding to turn on cgconfig (Eric Blake)
- When checking nttyFDs to see if it is != 1, be sure to use '1' and not '-1' (Daniel P. Berrange)
- Fix installation of libvirt-guests.service (Daniel P. Berrange)
Improvements:
- Implement DNS SRV record into the bridge driver (Michal Novotny)
- seclabel: honor device override in selinux (Eric Blake)
- seclabel: allow a seclabel override on a disk src (Eric Blake)
- seclabel: extend XML to allow per-disk label overrides (Eric Blake)
- seclabel: move seclabel stuff earlier (Eric Blake)
- seclabel: refactor existing domain_conf usage (Eric Blake)
- schema: rewrite seclabel rng to match code (Eric Blake)
- domiftune: Enable the virDomain{S,G}etInterfaceParameters in virsh (Hu Tao)
- domiftune: Add virDomain{S,G}etInterfaceParameters support to qemu driver (Hu Tao)
- domiftune: Add a util function virDomainNetFind (Hu Tao)
- domiftune: Add support of new APIs to the remote driver (Hu Tao)
- domiftune: virDomain{S,G}etInterfaceParameters: the main entry points (Hu Tao)
- daemon: clean up daemonization (Eric Blake)
- tests: fix schema checks sorting (Eric Blake)
- qemu: Support for overriding NOFILE limit (Michal Privoznik)
- virsh: Use vshWatchJob in cmdManagedSave (Michal Privoznik)
- virsh: Use vshWatchJob in cmdSave (Michal Privoznik)
- virsh: Use vshWatchJob in cmdDump (Michal Privoznik)
- virsh: Move job watch code to a separate function (Michal Privoznik)
- qemuhelptest: Add new qemuCap flag (Michal Privoznik)
- qemu: Support readonly filesystem passthrough (Osier Yang)
- nwfilter: Do not require DHCP requests to be broadcasted (Stefan Berger)
- tests: run schema checks in sorted order (Eric Blake)
- tests: Add fake PPC64 emulator for QEMU testing (Michael Ellerman)
- qemu: Add spapr-vio address assignment (Michael Ellerman)
- Add New address type spapr-vio to domain.rng (Bharata B Rao)
- Add address type for SPAPR VIO devices (Michael Ellerman)
- qemu: Add a capability flag for -no-acpi (Michael Ellerman)
- add new command numatune to virsh (Hu Tao)
- Implement virDomain{G, S}etNumaParameters for the qemu driver (Hu Tao)
- Add virDomain{G, S}etNumaParameters support to the remote driver (Hu Tao)
- use cpuset to manage numa (Hu Tao)
- Add functions to set/get cgroup cpuset parameters (Hu Tao)
- virsh: simplify printing of typed parameters (Eric Blake)
- Hide use of timers for domain event dispatch (Daniel P. Berrange)
- Remove decl of all APIs related to domain event callbacks & queues (Daniel P. Berrange)
- Remove all domain event structs from header (Daniel P. Berrange)
- Convert drivers to thread safe APIs for adding callbacks (Daniel P. Berrange)
- Add APIs to allow management of callbacks purely with virDomainEventState (Daniel P. Berrange)
- Return count of callbacks when registering callbacks (Daniel P. Berrange)
- Convert Xen & VBox drivers to use virDomainEventState (Daniel P. Berrange)
- nwfilter: do not create ebtables chain unnecessarily (Stefan Berger)
- migration: Add more specific error code/message on migration abort (Peter Krempa)
- virsh: Add option to undefine storage with domains (Peter Krempa)
- python: Expose blockPeek and memoryPeek in Python binding (Osier Yang)
- virsh: support multifunction in attach-disk (KAMEZAWA Hiroyuki)
- python: Fix export of virDomainSnapshotListChildrenNames (Peter Krempa)
- Provide a helper method virDomainLiveConfigHelperMethod (Lei Li)
- virsh: Print error message if argument parsing fails for cmdNodesuspend (Peter Krempa)
- build: follow directory install conventions (Eric Blake)
- Fix make uninstall (Dave Allan)
- qemu: Prepare to cater for more general address assignment (Michael Ellerman)
- qemu: Add address in qemuBuildChrDeviceStr() on pseries (Michael Ellerman)
- qemu: Use spapr-vscsi on pseries machine type (Michael Ellerman)
- network: allow '-' in model name (Eric Blake)
- cpu: Add cpu flags supported by newest qemu (Peter Krempa)
- Pass the VM's UUID into the nwfilter subsystem (Stefan Berger)
- nwfilter: cleanup return codes in nwfilter subsystem (Stefan Berger)
- spec: make it easier to autoreconf when building rpm (Eric Blake)
- Ensure to prefix %{buildroot} when overriding systemd install location (Daniel P. Berrange)
- Add ppc64 specific definitions to domain.rng (Bharata B Rao)
- Clean up qemuBuildCommandLine to remove x86-specific (Prerna Saxena)
- Modify the tests/nodeinfotest.c to use sysfs in addition (Prerna Saxena)
- Use sysfs to gather host topology, in place of (Prerna Saxena)
Cleanups:
- network_conf: Fix whitespace to pass syntax-check (Peter Krempa)
So thanks for everybody who contributed for this first release of
2012, please continue to send reports, ideas and patches :-) !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel(a)veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
12 years, 11 months