diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2013-01-07 16:20:46 -0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-01-15 04:09:14 +0100 |
commit | bffd67b01d96d3a59bf74a2d38f00e59d4b9c774 (patch) | |
tree | 5399df9926ea66b82db1760725a306e9ddbc85d3 /TODO | |
parent | 5ef5787627c07d053c2628fe720e814561fbfbe3 (diff) |
target-i386: kvm_check_features_against_host(): Use feature_word_info
Instead of carrying the CPUID leaf/register and feature name array on
the model_features_t struct, move that information into
feature_word_info so it can be reused by other functions.
The goal is to eventually kill model_features_t entirely, but to do that
we have to either convert x86_def_t.features to an array or use
offsetof() inside FeatureWordInfo (to replace the pointers inside
model_features_t). So by now just move most of the model_features_t
fields to FeatureWordInfo except for the two pointers to local
arguments.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions