diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2013-05-06 13:20:08 -0300 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-05-06 19:16:30 +0200 |
commit | 034acf4a581b03fc10cba772f731ae521e00fcd8 (patch) | |
tree | 61034b14cfad2ba5c8b00ed4dd6a684ba3c4b663 /target-i386/cpu-qom.h | |
parent | 8e8aba5054c043027445c880fcb9dbc8f6a217f3 (diff) |
target-i386: Introduce X86CPU::filtered_features field
This field will contain the feature bits that were filtered out because
of missing host support.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-i386/cpu-qom.h')
-rw-r--r-- | target-i386/cpu-qom.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target-i386/cpu-qom.h b/target-i386/cpu-qom.h index f890f1c912..849cedf94c 100644 --- a/target-i386/cpu-qom.h +++ b/target-i386/cpu-qom.h @@ -65,6 +65,9 @@ typedef struct X86CPU { /*< public >*/ CPUX86State env; + + /* Features that were filtered out because of missing host capabilities */ + uint32_t filtered_features[FEATURE_WORDS]; } X86CPU; static inline X86CPU *x86_env_get_cpu(CPUX86State *env) |