diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-02-28 12:16:02 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-02-28 12:16:06 +0100 |
commit | dc54cb48438e2b5f66f8bbefe688d56fcc1268ff (patch) | |
tree | 7301e2867d2f759c1a72d8040ef543485382b5f1 | |
parent | 86d24fa60a173b1ae5f71f2aa8310f3a9ca32e39 (diff) | |
download | kvm-unit-tests-dc54cb48438e2b5f66f8bbefe688d56fcc1268ff.tar.gz |
x86: VMX: the "noclone" attribute is not needed
Don't use the "noclone" attribute as it's not needed.
Also, clang does not support it.
Reported-by: Bill Wendling <morbo@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | x86/vmx_tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x86/vmx_tests.c b/x86/vmx_tests.c index a7abd63..e2fa034 100644 --- a/x86/vmx_tests.c +++ b/x86/vmx_tests.c @@ -4974,7 +4974,7 @@ extern unsigned char test_mtf1; extern unsigned char test_mtf2; extern unsigned char test_mtf3; -__attribute__((noclone)) static void test_mtf_guest(void) +static void test_mtf_guest(void) { asm ("vmcall;\n\t" "out %al, $0x80;\n\t" |