We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d873318 commit 2843909Copy full SHA for 2843909
tools/testing/selftests/kvm/x86_64/state_test.c
@@ -145,11 +145,6 @@ static void __attribute__((__flatten__)) guest_code(void *arg)
145
146
memset(buffer, 0xcc, sizeof(buffer));
147
148
- set_cr4(get_cr4() | X86_CR4_OSXSAVE);
149
- GUEST_ASSERT(this_cpu_has(X86_FEATURE_OSXSAVE));
150
-
151
- xsetbv(0, xgetbv(0) | supported_xcr0);
152
153
/*
154
* Modify state for all supported xfeatures to take them out of
155
* their "init" state, i.e. to make them show up in XSTATE_BV.
0 commit comments