From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Cc: ehrhardt@linux.vnet.ibm.com, hollisb@us.ibm.com
Subject: Re: [Qemu-devel] [PATCH] qemu: report issues causing the kvm probe to fail
Date: Thu, 11 Dec 2008 15:18:32 -0600 [thread overview]
Message-ID: <494183A8.8090709@codemonkey.ws> (raw)
In-Reply-To: <1229013651-6200-1-git-send-email-ehrhardt@linux.vnet.ibm.com>
ehrhardt@linux.vnet.ibm.com 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
>
>
>
>
prev parent reply other threads:[~2008-12-11 21:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-11 16:40 [Qemu-devel] [PATCH] qemu: report issues causing the kvm probe to fail ehrhardt
2008-12-11 21:18 ` Anthony Liguori [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=494183A8.8090709@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=ehrhardt@linux.vnet.ibm.com \
--cc=hollisb@us.ibm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).