Hi,

I found there is a bug with configure file shipped with kvm-31. Here is
the part of configure file:

===============================
target_cpu() {
    if [[ $(uname -m) = i?86 ]]; then
       echo x86_64
    else
        uname -m
    fi
}
===============================

!?86 will match i386, i586 and i686. On my machine,  "uname -m" returns
i686, which is obviously a 32bit kernel. Assigning to x86_64 breaks kvm
and installs qemu-system-x86_64, instead of qemu.


After making a simple change as follow, kvm-31 compiles and installs as
expected on 32bit system.  qemu also woks.

===============================
target_cpu() {
    if [[ $(uname -m) = i?86 ]]; then
       #echo x86_64
       echo i386
    else
        uname -m
    fi
}
===============================

Looks like kvm-31 only compiles when target_cpu is i386 or x86_64. Under
other situations like i486, i585, i686, compiling kvm-31 will fail.  On
many machines, "uname -m" returns i586 or i686.

Simon

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to