Commit dff840348ecde00e196dca1c87d5d365b7e3c985

Authored by Jan Kiszka
Committed by Anthony Liguori
1 parent 4ab312f7

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>
Showing 1 changed file with 2 additions and 2 deletions
configure
@@ -190,7 +190,7 @@ io_thread=&quot;no&quot; @@ -190,7 +190,7 @@ io_thread=&quot;no&quot;
190 nptl="yes" 190 nptl="yes"
191 mixemu="no" 191 mixemu="no"
192 bluez="yes" 192 bluez="yes"
193 -kvm="yes" 193 +kvm="no"
194 kerneldir="" 194 kerneldir=""
195 aix="no" 195 aix="no"
196 blobs="yes" 196 blobs="yes"
@@ -290,7 +290,6 @@ SunOS) @@ -290,7 +290,6 @@ SunOS)
290 make="gmake" 290 make="gmake"
291 install="ginstall" 291 install="ginstall"
292 needs_libsunmath="no" 292 needs_libsunmath="no"
293 - kvm="no"  
294 solarisrev=`uname -r | cut -f2 -d.` 293 solarisrev=`uname -r | cut -f2 -d.`
295 # have to select again, because `uname -m` returns i86pc 294 # have to select again, because `uname -m` returns i86pc
296 # even on an x86_64 box. 295 # even on an x86_64 box.
@@ -330,6 +329,7 @@ audio_possible_drivers=&quot;oss alsa sdl esd pa&quot; @@ -330,6 +329,7 @@ audio_possible_drivers=&quot;oss alsa sdl esd pa&quot;
330 linux="yes" 329 linux="yes"
331 linux_user="yes" 330 linux_user="yes"
332 usb="linux" 331 usb="linux"
  332 +kvm="yes"
333 if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then 333 if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
334 kqemu="yes" 334 kqemu="yes"
335 audio_possible_drivers="$audio_possible_drivers fmod" 335 audio_possible_drivers="$audio_possible_drivers fmod"