x86emul: force CLZERO feature flag in test harness

Commit b988e88cc0 ("x86/emul: Add feature check for clzero") added a
feature check to the emulator, which breaks the harness without this
flag being forced to true.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Julien Grall <julien.grall@arm.com>
This commit is contained in:
Jan Beulich committed 2017-04-19 13:30:27 +02:00
1 parent 53e482266e
commit 5d1ad47ff7
1 file changed
+7
+7
View File
@@ -89,6 +89,13 @@ int emul_test_cpuid(
res->c |= 1U << 22;
}
/*
* The emulator doesn't itself use CLZERO, so we can always run the
* respective test(s).
*/
if ( leaf == 0x80000008 )
res->b |= 1U << 0;
return X86EMUL_OKAY;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.