qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] x86/cpu: use FeatureWordArray to define filtered_features
@ 2019-06-20  2:37 Wei Yang
  2019-06-20  3:25 ` Eduardo Habkost
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Yang @ 2019-06-20  2:37 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, Wei Yang, ehabkost, rth

Use the same definition as features/user_features in CPUX86State.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
---
 target/i386/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/i386/cpu.h b/target/i386/cpu.h
index 0732e059ec..fd5ff13817 100644
--- a/target/i386/cpu.h
+++ b/target/i386/cpu.h
@@ -1413,7 +1413,7 @@ struct X86CPU {
     } mwait;
 
     /* Features that were filtered out because of missing host capabilities */
-    uint32_t filtered_features[FEATURE_WORDS];
+    FeatureWordArray filtered_features;
 
     /* Enable PMU CPUID bits. This can't be enabled by default yet because
      * it doesn't have ABI stability guarantees, as it passes all PMU CPUID
-- 
2.19.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] x86/cpu: use FeatureWordArray to define filtered_features
  2019-06-20  2:37 [Qemu-devel] [PATCH] x86/cpu: use FeatureWordArray to define filtered_features Wei Yang
@ 2019-06-20  3:25 ` Eduardo Habkost
  0 siblings, 0 replies; 2+ messages in thread
From: Eduardo Habkost @ 2019-06-20  3:25 UTC (permalink / raw)
  To: Wei Yang; +Cc: pbonzini, qemu-devel, rth

On Thu, Jun 20, 2019 at 10:37:46AM +0800, Wei Yang wrote:
> Use the same definition as features/user_features in CPUX86State.
> 
> Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>

Queued, thanks.

-- 
Eduardo


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-20  3:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-20  2:37 [Qemu-devel] [PATCH] x86/cpu: use FeatureWordArray to define filtered_features Wei Yang
2019-06-20  3:25 ` Eduardo Habkost

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).