[PATCH] Mac OS X: 'xdr_uint32_t' is 'xdr_u_int32_t'
by Richard W.M. Jones
After this, and adding a small hack to work around the Gnulib/setenv
problem, I was able to get an appliance to boot. The actual appliance
I was booting was one that I copied off a Fedora machine.
However there is still some problem with vmchannel which I'm looking
into, so the daemon cannot talk to the library yet.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
14 years, 8 months
Re: [Libguestfs] XML encoding of the registry
by Richard W.M. Jones
[CC-ing to libguestfs mailing list]
You might want to try building from the tarballs. You won't need
OCaml to build from the tarballs (although that is available for Mac
OS X, see: http://godi.camlcity.org/).
If you want to see how we build for Fedora, see:
http://cvs.fedoraproject.org/viewvc/devel/libguestfs/libguestfs.spec?view...
If building from git, make sure you start with the ./bootstrap script,
otherwise you won't get gnulib. Generally to build from git (from a
fresh clone) you would do:
./bootstrap
./autogen.sh [any configure args]
make
Also you'll probably want to disable the appliance/ and daemon/
directories since you will need to copy an appliance and daemon over
from (eg) a Fedora or Debian box. Just remove those directories from
SUBDIRS in Makefile.am.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v
14 years, 8 months
hivexml - Flattened vs. Expanded XML
by Simson Garfinkel
All,
Greetings. I am new to this mailing list.
We have been working with XML for digital forensics. One of the areas that we wish to create a schema for is the representation of registry entries.
We are interested in hivexml as a tool for extracting the registry as an XML representation.
In our discussion with possible users, we have generally come to the conclusion that it is useful to represent each XML key as a fully expanded path, rather than preserving the tree structure of the registry hive. Although this may seem verbose, it makes processing the data significantly easier.
Is working with the hivexml system in a production environment? If so, do you have any thoughts on this matter?
You can find an example of the digital forensics XML at:
http://www.forensicswiki.org/wiki/Fiwalk
Regards,
Simson Garfinkel
14 years, 8 months
[PATCH FOR DISCUSSION ONLY] Allow setting of user:group for qemu subprocess.
by Richard W.M. Jones
This is an experimental (not working) patch which would allow you to
set the user and group of the qemu process, assuming the main program
is running as root.
The reason for this is to allow access as root to disk images which
are located on "root-squashed" NFS volumes. This is a particular
concern for virt-v2v.
The most immediate problem with the patch (which can be fixed easily)
is that the non-root qemu cannot access the appliance:
qemu: could not load kernel '/tmp/libguestfsj2CItc/kernel': Permission denied
In terms of the bigger picture I'm not convinced that this patch is
really going to be useful. Firstly various commands currently try to
access the disk image from the main process (notably
guestfs_add_drive). Secondly any serious program using libguestfs
will want to touch the disk image elsewhere, so the root-squashing
problem will have to be tackled there too. It sounds as if for
virt-v2v the whole program should just setuid itself to a non-root
user as early as possible, rather than pushing this into libguestfs.
On the other hand, not running qemu as root even when libguestfs
itself is root, is an appealing idea if the permissions issues could
be resolved.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v
14 years, 8 months
[PATCH 0/2] Add API for querying the relationship between LVM objects
by Richard W.M. Jones
Currently I found it it's hard to determine the relationship between
LVM objects, by which I mean "what PVs contain a VG?", or "what LVs
are contained in a VG?"
This simple API exposes that to callers.
{lv,vg,pv}uuid:
Return the UUID of an LVM object. You can already get this
using (eg.) lvs_full, but this is a lot less faffing around.
vg{lv,pv}uuids:
Return the LVs belonging to a VG, or the PVs containing a VG.
It returns them as UUIDs, so if you build up a map using the
previous calls, then you can map them back to names, or keep
them as UUIDs as required.
There's an example Perl program included which demonstrates how to do
this.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
14 years, 8 months