[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] libguestfs-1.0.85-1.el5.5 - seems no KVM acceleration support included



On Wed, Mar 31, 2010 at 10:17:13PM +0300, Active Systems OÜ wrote:
> No - /dev/kvm is already with right perms:
> ls  -l /dev/kvm 
> crw-rw-rw- 1 root kvm 10, 232 26. märts 10:01 /dev/kvm
> 
[...]
> Here is the libguestfs-test-tool log example (first block):
[...]
> /usr/bin/qemu-system-x86_64 \

As you noted, the answer is this line -- it's running the wrong qemu.

The simplest fix is just to change qemu by setting
LIBGUESTFS_QEMU=/usr/bin/qemu-kvm (see:
http://libguestfs.org/guestfs.3.html#qemu_wrappers)

In broader terms, I think this is an issue with how libguestfs is
built:

http://cvs.fedoraproject.org/viewvc/EL-5/libguestfs/libguestfs.spec?view=markup

http://kojipkgs.fedoraproject.org/packages/libguestfs/1.0.85/1.el5.9/data/logs/x86_64/build.log

  checking for qemu-kvm... no
  checking for qemu-system-x86_64... /usr/bin/qemu-system-x86_64
  checking for guestfwd support in /usr/bin/qemu-system-x86_64... no

Apparently we need to BuildRequire kvm (not qemu-system-x86) on EL-5.
I'll have a look at fixing this.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]