what about adding extra pkgs to Virtualization yum group?
by Robert P. J. Day
currently:
$ yum groupinfo Virtualization
Loaded plugins: refresh-packagekit
Setting up Group Process
Group: Virtualization
Description: These packages provide a virtualization environment.
Mandatory Packages:
python-virtinst
Default Packages:
qemu-kvm
virt-manager
virt-viewer
Optional Packages:
gnome-applet-vm
virt-top
but what about other useful virt packages that one might never even
hear about, such as
virt-ctrl
virt-df
virt-mem
are any of these less useful than, say, virt-top? it might be useful
to add all those extra packages into the "Optional" category, just so
people will know they exist.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Annoying Kernel Pedantry.
Web page: http://crashcourse.ca
Linked In: http://www.linkedin.com/in/rpjday
Twitter: http://twitter.com/rpjday
========================================================================
15 years
Re: [fedora-virt] ANNOUNCE: Augeas support added to libguestfs
by Richard W.M. Jones
On Tue, Apr 21, 2009 at 09:53:20AM +0200, Ján ONDREJ (SAL) wrote:
> Another feature enhacement requirement:
>
> can you add an option "--kvm" to use qemu-kvm instead of qemu? It's much
> faster (aprox 50%) on machines, which support hardware virtualization.
> Also you need to remove --no-kqemu option, which is not recognized by
> qemu-kvm. May be ability to run kvm may be autodetected in future, but I
> think, if there is no kvm support, qemu-kvm will run in normal qemu mode.
Yes, this needs to be sorted out. It should also be possible to
choose which qemu/kvm/etc binary to run.
I also discovered that the -no-kqemu switch doesn't exist at all on
PPC, which is one of the reasons that it fails to run on that
platform. There's another problem with PPC as well, qemu on PPC
doesn't seem to support the -initrd option. As usual, since I don't
have a PPC machine it's hard to debug this. Instead I hacked around
it:
http://git.et.redhat.com/?p=libguestfs.git;a=commitdiff;h=936108f54cbf8e8...
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
15 years
Re: [fedora-virt] ANNOUNCE: Augeas support added to libguestfs
by Richard W.M. Jones
On Tue, Apr 21, 2009 at 10:12:53AM +0200, Ján ONDREJ (SAL) wrote:
> Yeah, CDPATH problem fixed. :-))
>
> Patch for febootstrap attached. Problem is, that you are using:
> febootstrap-to-initramfs initramfs > $output-t
> but this febootstrap-to-initramfs uses "cd" and displays current path before
> showing real output.
>
> SAL
> --- /usr/bin/febootstrap-to-initramfs 2009-04-12 11:17:41.000000000 +0200
> +++ febootstrap/febootstrap-to-initramfs 2009-04-21 10:00:31.000000000 +0200
> @@ -23,7 +23,7 @@
> exit 1
> fi
>
> -cd "$1"
> +cd "$1" >/dev/null
>
> if [ ! -f fakeroot.log -a $(id -u) -ne 0 ]; then
> echo "no fakeroot.log and not running as root"
Thanks, applied.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
15 years
what exactly is "virt-viewer" supposed to do?
by Robert P. J. Day
having long ago gotten over my embarrassment at asking dumb
questions, what can i get "virt-viewer" to do for me? i have a
perfectly respectable guest system named "f1164", but nothing i do
with "virt-viewer" will give me any useful info for that guest.
can someone give me a sample invocation that will print something
besides:
syntax: virt-viewer [OPTIONS] DOMAIN-NAME|ID|UUID
virt-viewer version 0.0.3
Options:
-h, --help display command line help
-v, --verbose display verbose information
-V, --version display version information
-d, --direct direct connection with no automatic tunnels
-c URI, --connect URI connect to hypervisor URI
-w, --wait wait for domain to start
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Annoying Kernel Pedantry.
Web page: http://crashcourse.ca
Linked In: http://www.linkedin.com/in/rpjday
Twitter: http://twitter.com/rpjday
========================================================================
15 years
reporting virtualization bugs
by Robert P. J. Day
some random thoughts, possibly related to this page:
https://fedoraproject.org/wiki/Reporting_virtualization_bugs#Is_My_Guest_...
1) somewhere near the front, i might suggest running any or all of the
following:
$ lsmod | grep kvm
$ ls -l /dev/kvm
$ ls -l /sys/class/misc/kvm
in case that needs to be reported.
2) would it be possible to have the actual, underlying qemu-related
commands added to the guest log file? i recall watching the output of
"ps -ef" when i was installing a guest once, and was curious about the
lengthy invocation of qemu-kvm that was doing all of the work. having
a record of that actual command would be spectacularly handy, as well
as having any other initialization commands, like qemu-img. is any of
that already stored somewhere? (it occurs to me that much of that
might be in XML form and available with "virsh dumpxml Guest").
more later as it occurs to me.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Annoying Kernel Pedantry.
Web page: http://crashcourse.ca
Linked In: http://www.linkedin.com/in/rpjday
Twitter: http://twitter.com/rpjday
========================================================================
15 years
Re: [fedora-virt] ANNOUNCE: Augeas support added to libguestfs
by Richard W.M. Jones
On Mon, Apr 20, 2009 at 08:16:32PM +0200, Ján ONDREJ (SAL) wrote:
> make[2]: Entering directory `/home/ondrejj/c/CVS/libguestfs'
> mv initramfs.fedora-10.i686.img initramfs.fedora-10.i686.img.bak
> mv: nie je možné stat() `initramfs.fedora-10.i686.img': Adresár alebo súbor neexistuje
> make[2]: [initramfs/fakeroot.log] Error 1 (ignored)
> mv vmlinuz.fedora-10.i686 vmlinuz.fedora-10.i686.bak
> mv: nie je možné stat() `vmlinuz.fedora-10.i686': Adresár alebo súbor neexistuje
> make[2]: [initramfs/fakeroot.log] Error 1 (ignored)
> if ! bash ./make-initramfs.sh; then rm -f initramfs/fakeroot.log; exit 1; fi
> /usr/bin/fakeroot: line 89: [: /home/ondrejj/c/CVS/libguestfs/initramfs: binary operator expected
> faked, daemon for fake root environment
> Best used from the shell script `fakeroot'
> options for fakeroot: --port, --foreground, --debug, --save-file, --load, --unknown-is-real
> fakeroot: error while starting the `faked' daemon.
> fakeroot: database file `/home/ondrejj/c/CVS/libguestfs/initramfs
> /home/ondrejj/c/CVS/libguestfs/initramfs/fakeroot.log' does not exist.
> /usr/bin/fakeroot: line 89: [: /home/ondrejj/c/CVS/libguestfs/initramfs: binary operator expected
> faked, daemon for fake root environment
> Best used from the shell script `fakeroot'
> options for fakeroot: --port, --foreground, --debug, --save-file, --load, --unknown-is-real
> fakeroot: error while starting the `faked' daemon.
> find: `initramfs/lib/modules/*/kernel': Adresár alebo súbor neexistuje
Not sure if this will help, but I wonder if you could
try the same commands again with LANG=C, ie:
LANG=C make clean
LANG=C make
Possibly I'm parsing output somewhere that depends on
the locale.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
15 years
Re: [fedora-virt] ANNOUNCE: Augeas support added to libguestfs
by Richard W.M. Jones
On Mon, Apr 20, 2009 at 08:01:34PM +0200, Ján ONDREJ (SAL) wrote:
> On Mon, Apr 20, 2009 at 06:59:50PM +0100, Richard W.M. Jones wrote:
> > On Mon, Apr 20, 2009 at 07:55:56PM +0200, Ján ONDREJ (SAL) wrote:
> > > I'm sorry, this is not a problem. But I don't know why, always 2 initramfs*
> > > directories are created:
> > >
> > > drwxr-xr-x 3 ondrejj ondrejj 4096 Apr 20 19:52 initramfs/
> > > drwxr-xr-x 3 ondrejj ondrejj 4096 Apr 20 19:52 initramfs?/
> > >
> > > Then fakeroot fails.
> >
> > What versions of fakeroot, Fedora, febootstrap etc are you using?
>
> I think these suggested by you:
>
> [ondrejj@work libguestfs]$ rpm -q fakeroot febootstrap fedora-release
> fakeroot-1.11-19.fc10.i386
Since it looks like a problem with fakeroot, do you think you could
try this with the version from Rawhide? This should work:
yum --enablerepo=rawhide install fakeroot\*
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.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
15 years