[fedora-virt] guestfish, libguestfs, ext4 and bad perms on /dev/kvm

Ján ONDREJ (SAL) ondrejj at salstar.sk
Thu Apr 23 06:22:13 UTC 2009


On Wed, Apr 22, 2009 at 09:17:29PM +0100, Richard W.M. Jones wrote:
> On Wed, Apr 22, 2009 at 03:20:14PM -0400, Robert P. J. Day wrote:
> >   in short, ext4 filesystem support now appears to work, but there's
> > still the issue (perhaps addressed earlier) that non-root users don't
> > have access to KVM support but, from the perspective of libguestfs,
> > does that really matter?
> 
> KVM makes things do a lot faster, which is always nice.  You can
> do the following:

Thanks for this update, but autodetection does not work for me.
I have an fedora.i386 system installed on my machine and autodetection tests
only x86_64. Can you please add i386 or x86 arch?

I think betted detection is for qemu-kvm binary. Using qemu-kvm on systems
without hardware virtualization display:

open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support

but works well as normal qemu without accelerated virtualization.

Another problem. Using:

/autogen.sh --with-java-home=no --with-qemu=/usr/bin/qemu-kvm

displays:
checking for /usr/bin/qemu-kvm... no
configure: error: qemu must be installed

even if I have qemu-kvm binary in this path:

[ondrejj at work libguestfs]$ ls /usr/bin/qemu-kvm
/usr/bin/qemu-kvm*

But --with-qemu=qemu-kvm works.

			SAL




More information about the Fedora-virt mailing list