target-i386: Merge feature filtering/checking functions
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 30 Apr 2014 16:48:30 +0000 (13:48 -0300)
committerAndreas Färber <afaerber@suse.de>
Wed, 25 Jun 2014 16:04:15 +0000 (18:04 +0200)
commit51f63aed32314479065207ff2fb28255de4dbda4
treeb7679ce6215552e5ad0f1407b0b7fd96cbfbc416
parent857aee337c22dc6c56304146e938efacaf587e1c
target-i386: Merge feature filtering/checking functions

Merge filter_features_for_kvm() and kvm_check_features_against_host().

Both functions made exactly the same calculations, the only difference
was that filter_features_for_kvm() changed the bits on cpu->features[],
and kvm_check_features_against_host() did error reporting.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
target-i386/cpu.c