diff options
author | Paolo Bonzini | 2022-08-19 18:40:46 +0200 |
---|---|---|
committer | Paolo Bonzini | 2022-09-01 07:42:37 +0200 |
commit | 7cb5844808f092306a5a764fe8427a653ac05358 (patch) | |
tree | 36f3a88b59be56e7d953b261080fa2990dbeca12 /configure | |
parent | i386: do kvm_put_msr_feature_control() first thing when vCPU is reset (diff) | |
download | qemu-7cb5844808f092306a5a764fe8427a653ac05358.tar.gz qemu-7cb5844808f092306a5a764fe8427a653ac05358.tar.xz qemu-7cb5844808f092306a5a764fe8427a653ac05358.zip |
configure: improve error for ucontext coroutine backend
Instead of using feature_not_found(), which is not a good match because
there is no "remedy" to fix the lack of makecontext(), just print a
custom error.
This happens to remove the last use of feature_not_found(), so remove
the definition and the documentation.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -1468,15 +1468,6 @@ if test "$tcg" = "enabled"; then git_submodules="$git_submodules tests/fp/berkeley-softfloat-3" fi -feature_not_found() { - feature=$1 - remedy=$2 - - error_exit "User requested feature $feature" \ - "configure was not able to find it." \ - "$remedy" -} - # --- # big/little endian test cat > $TMPC << EOF @@ -1639,7 +1630,7 @@ else ;; ucontext) if test "$ucontext_works" != "yes"; then - feature_not_found "ucontext" + error_exit "'ucontext' backend requested but makecontext not available" fi ;; sigaltstack) |