qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] qemu: report issues causing the kvm probe to fa


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] qemu: report issues causing the kvm probe to fail
Date: Thu, 11 Dec 2008 15:18:32 -0600
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

address@hidden wrote:
+    kvmprobeerr=`$cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $kvm_cflags $TMPC 2>&1 | grep "error: #error " | awk 
--field-separator "error: #error " '{if (NR>1) printf(", "); printf("%s",$2);}'`

We don't currently use awk in configure. Is awk available on all the crazy platforms QEMU builds on? Is it possible to do this without introducing a new configure dependency?

A graceful fail if awk isn't present (disabling KVM support) would be fine too.

Regards,

Anthony Liguori

+    if test "$kvmprobeerr" != "" ; then
+      kvm="no - (${kvmprobeerr})"
+    else
+      kvm="no"
+    fi
   fi
 fi






reply via email to

[Prev in Thread] Current Thread [Next in Thread]