sample code for guestfs_hivex_node_set_value
by Skippy VonDrake
Is there any sample code available to demonstrate the use of the
guestfs_hivex_node_set_value API?
I have no problem traversing and reading keys using libguestfs hivex
wrappers - but continue to fail on any write attempts.
The return is always -1 and errno is unchanged.
I've set the environment variable HIVEX_DEBUG to 1 on a chance that
this may help - but it doesn't.
The only sample I can find in the sources that use hivex is the
"virt-dhcp-address.c" sample.
But it does not write to the registry.
11 years, 11 months
[PATCH] Enable code profiling and code coverage
by Richard W.M. Jones
moli:
This won't apply directly to 1.16, but it should give you some ideas
about making code profiling and code coverage more automatic.
The trick to making OCaml programs link turns out to be `-cclib -lgcov'.
See the configure.ac patch for the details.
I will apply something like this upstream once I've done some more
testing.
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
11 years, 11 months
packagelist.in for archlinux
by Evaggelos Balaskas
latest archlinux has some small changes:
btrfs-progs-unstable --> btrfs-progs
genisoimage --> cdrkit
iproute --> iproute2
module-init-tools --> kmod
procps --> procps-ng
udev --> systemd
util-linux-ng --> util-linux
and could you plz add the below packages
lrzip
less
sed
--
Evaggelos Balaskas - Unix System Engineer
http://gr.linkedin.com/in/evaggelosbalaskas
11 years, 11 months
distro checking
by Evaggelos Balaskas
NOT a problem,
just a question about distro checking:
the default value is REDHAT,
then you check debian (or ubuntu)
and then archlinux
why are you using two if statements ?
--
Evaggelos Balaskas - Unix System Engineer
http://gr.linkedin.com/in/evaggelosbalaskas
11 years, 11 months
libguestfs 1.18.11 build error
by Evaggelos Balaskas
I am trying to build libguestfs version libguestfs-1.18.11 in my archlinux box
i am getting this error:
febootstrap: error: /lib appears as both directory and ordinary file
(glibc, ntfs-3g)
make[2]: *** [stamp-supermin] Error 1
make[2]: Leaving directory
`/mnt/downloads/dnl/PKGBUILDs/kvm/libguestfs/src/libguestfs-1.18.11/appliance'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/mnt/downloads/dnl/PKGBUILDs/kvm/libguestfs/src/libguestfs-1.18.11'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
any pointers ?
--
Evaggelos Balaskas - Unix System Engineer
http://gr.linkedin.com/in/evaggelosbalaskas
11 years, 11 months
The road to libguestfs 1.20
by Richard W.M. Jones
I've got some bad news: libvirt remote support is probably not going
to make libguestfs 1.20. John Eckersberg is diligently working on
this, but I don't want to hold up the release of the next stable
libguestfs for this, particularly since it needs dependent changes in
libvirt.
The last stable branch of libguestfs (1.18) happened in the middle of
May. That's 7 months ago, making this the longest cycle we've ever
had by a large margin. Therefore it is time to start thinking about
the next stable version, 1.20.
As usual, bugs that need to be fixed for 1.20 should have "1.20"
(without quotes) placed in the Devel Whiteboard field in Bugzilla.
(There are currently none, but I plan to mark some). You can get a
list of these bugs using this link:
https://bugzilla.redhat.com/buglist.cgi?query_format=advanced&field0-0-0=...
( http://tinyurl.com/bx8kter )
or all bugs here:
https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virt...
The draft release notes (not quite up to date) are here so you can get
an idea of the new features:
http://libguestfs.org/guestfs-release-notes.1.html#release-notes-for-libg...
I'm planning to spend at least the next 3 weeks making the libvirt
backend stable, so that we can use this as the default in Fedora 18,
but I'm quite prepared to pull this and go with the ordinary backend
if I cannot do this. Note that the default upstream is the
non-libvirt appliance backend, and this will remain so.
If there are any other problems, please let me know.
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
11 years, 12 months