Richard Jones at Emerging Technologies, Red Hat
libguestfs is a library for accessing and modifying virtual
machine disk images, and a lot of related tools such
as guestfish — an interactive shell,
virt-cat and virt-edit — for editing files inside VMs,
virt-df — for displaying free disk space, and
virt-inspector — for inspecting the contents
of VMs, and much more.
| Fedora OCaml project
OCaml is an advanced programming language with performance
similar to C. The Fedora OCaml project brings the
latest OCaml compiler and over 70 libraries to Fedora.
| Fedora MinGW project
The Fedora MinGW special interest group packages a complete
Windows cross-compiler and hundreds of libraries,
so you can instantly cross-compile most software to Windows.
for showing stats of virtualized
domains. Many keys and command line options are the same as for
ordinary top. It uses libvirt so it capable of showing stats across
a variety of different virtualization systems.
df for virtual guests. Run this on the host / dom0 to
find out how much disk space is used and available on all
partitions of all the guests.
# virt-df -h
Filesystem Size Used Available Use%
Ubuntu904x64:/dev/sda1 9.4G 2.1G 6.8G 27.7%
Debian5x64:/dev/debian5x64/home 3.4G 761.9M 2.5G 27.0%
Debian5x64:/dev/debian5x64/root 321.5M 111.1M 193.8M 39.7%
Debian5x64:/dev/debian5x64/tmp 302.1M 10.0M 276.5M 8.5%
Debian5x64:/dev/debian5x64/usr 3.4G 1.1G 2.1G 38.3%
Debian5x64:/dev/debian5x64/var 1.7G 612.6M 1001.9M 41.1%
Debian5x64:/dev/sda1 227.9M 18.6M 197.1M 13.5%
F10x32:/dev/VolGroup00/LogVol00 8.8G 3.1G 5.2G 40.3%
F10x32:/dev/sda1 189.9M 20.2M 159.9M 15.8%
CentOS5x32:/dev/VolGroup00/LogVol00 8.6G 3.9G 4.2G 50.6%
CentOS5x32:/dev/sda1 98.7M 23.5M 70.1M 29.0%
Win2003x32:/dev/sda1 20.0G 2.1G 17.9G 10.4%
| virt-tools (coming soon)
Virt-tools is a suite of tools for managing virtual machines,
including virt-uname, virt-ifconfig, virt-ps, virt-uptime,
virt-dmesg, and more. At the moment you have to compile from source
Virt-p2v can migrate physical machines to virtual guests
(P2V), virtual guests to virtual guests
(V2V) and virtual guests back to physical machines
(V2P). Amongst other features it lets you resize
partitions, install paravirt drivers and change how the virtual
hardware is configured after migration.
Virt-what is a shell script to detect if we are running in
a virtual machine. It can detect a number of different forms
For more up to date news,
please see my blog.
library for accessing and modifying guest
(virtual machine) disk images
rpmdepsize, visualize the size of RPM
febootstrap, a tool for bootstrapping a Fedora
system (like Debian debootstrap)
Direct access to I/O ports from the command line or
Suggest BuildRequires automatically
You can find more news on
How to get
your code and patches into open source projects
ocaml-bitmatch has been renamed bitstring
Virt-mem monitoring tools for virtual
Augeas bindings for OCaml
Bitmatch - bitstring matching for OCaml
OCaml newt - newt text window system bindings for OCaml
An external data representation (XDR) library for Windows and
Mac OS X.
Porting virt tools to Windows.
My experience porting the virt tools
to run as native Windows applications
Libunbin is a library / toolkit for safely reading
Nagios-virt is a tool for configuring
virtual hosts for monitoring by Nagios.
Virt-p2v is a tool for physical to virtual machine
Virt-top is a top-like utility for displaying
virtualization stats. We aim to make as many command line options
and key combinations as possible the same as for
make the tool familiar for systems administrators.
Using CIL to analyze libvirt.
CIL is a library
for doing static analysis on large C projects. In this
document I describe how I used it to analyze
Xavierbot is an OCaml toplevel for IRC.
This is a teaching tool to allow people learning OCaml and their
teachers to cooperate in an IRC chat session, trying out
different OCaml commands with a shared toplevel
OCaml bindings for libvirt
Xen hypervisor calls from OCaml.
Make Xen hypervisor calls from OCaml, macros to allow binary and
bitfield structure packing, and
Stress-testing Xen on Rawhide.
Scripts and tips for stress-testing Xen.
XDR allocate, free and destroy.
How and when to use XDR, with particular emphasis on
How SunRPC handles reconnection.
We tested SunRPC reconnections when the transport was UDP, TCP
and Unix domain sockets.
How to run SunRPC and XML-RPC over various
authenticated and encrypted transports.
On this page I'm looking into how to do remote
procedure calls (RPC) from C in a secure way.
We settled at looking at two popular RPC mechanisms
and how to transport those over
GnuTLS (SSL, TLS)
and ssh. For XML-RPC, running over SSL is relatively straightforward
because almost any competent library supports it. Running
over ssh is more difficult, but it is likely to be more
useful for users since they likely already have the ssh infrastructure
SunRPC is much trickier because there is no standard way
to run it over a transport other than Berkeley sockets. However
with the SunRPC implementation within glibc you can write
your own transport (other than the standard UDP and TCP).
rjones AT redhat DOT com
$Id: index.html,v 1.34 2009/11/16 12:53:14 rjones Exp $