accel: cleanup error output
commitd73f0247228830a7730bb60af467e8d47aee78cf
authorLaurent Vivier <lvivier@redhat.com>
Mon, 17 Jul 2017 14:45:27 +0000 (17 16:45 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Aug 2017 15:27:33 +0000 (1 17:27 +0200)
tree25674374344763919ceb540ba79f476458965b07
parentf70d3451fe468eacddb15ccf5fd170754510b0a0
accel: cleanup error output

Only emit "XXX accelerator not found", if there are not
further accelerators listed. eg

   accel=kvm:tcg

doesn't print a "KVM accelerator not found" warning
when it falls back to tcg, but a

   accel=kvm

prints a warning, since no fallback is given.

Suggested-by: Daniel P. Berrange <berrange@redhat.com>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Message-Id: <20170717144527.24534-1-lvivier@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/accel.c