kvm: Restrict configure check to Linux
There is no point in trying to find KVM on anything else than Linux, at least for the moment. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
4ab312f793
commit
dff840348e
|
@ -190,7 +190,7 @@ io_thread="no"
|
||||||
nptl="yes"
|
nptl="yes"
|
||||||
mixemu="no"
|
mixemu="no"
|
||||||
bluez="yes"
|
bluez="yes"
|
||||||
kvm="yes"
|
kvm="no"
|
||||||
kerneldir=""
|
kerneldir=""
|
||||||
aix="no"
|
aix="no"
|
||||||
blobs="yes"
|
blobs="yes"
|
||||||
|
@ -290,7 +290,6 @@ SunOS)
|
||||||
make="gmake"
|
make="gmake"
|
||||||
install="ginstall"
|
install="ginstall"
|
||||||
needs_libsunmath="no"
|
needs_libsunmath="no"
|
||||||
kvm="no"
|
|
||||||
solarisrev=`uname -r | cut -f2 -d.`
|
solarisrev=`uname -r | cut -f2 -d.`
|
||||||
# have to select again, because `uname -m` returns i86pc
|
# have to select again, because `uname -m` returns i86pc
|
||||||
# even on an x86_64 box.
|
# even on an x86_64 box.
|
||||||
|
@ -330,6 +329,7 @@ audio_possible_drivers="oss alsa sdl esd pa"
|
||||||
linux="yes"
|
linux="yes"
|
||||||
linux_user="yes"
|
linux_user="yes"
|
||||||
usb="linux"
|
usb="linux"
|
||||||
|
kvm="yes"
|
||||||
if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
|
if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
|
||||||
kqemu="yes"
|
kqemu="yes"
|
||||||
audio_possible_drivers="$audio_possible_drivers fmod"
|
audio_possible_drivers="$audio_possible_drivers fmod"
|
||||||
|
|
Reference in New Issue