commit | bd87d2a2c05569a28768648b069cbc24c40f4fb8 | [log] [tgz] |
---|---|---|
author | Eduardo Habkost <ehabkost@redhat.com> | Mon Apr 22 16:00:18 2013 -0300 |
committer | Andreas Färber <afaerber@suse.de> | Mon May 06 17:53:57 2013 +0200 |
tree | b76660354f93e2c18aec249af54ecf0303e823a6 | |
parent | 04d104b61198615c259d1851684b2713213dcf99 [diff] |
target-i386: Use FeatureWord loop on filter_features_for_kvm() Instead of open-coding the filtering code for each feature word, change the existing code to use the feature_word_info array, that has exactly the same CPUID eax/ecx/register values for each feature word. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>