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>
This commit is contained in:
Eduardo Habkost 2013-05-06 13:20:08 -03:00 committed by Andreas Färber
parent 8e8aba5054
commit 034acf4a58
2 changed files with 9 additions and 3 deletions

View file

@ -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)