linux-stable/tools/testing/selftests/kvm
Vitaly Kuznetsov e37f9f139f selftests: kvm: fix build with glibc >= 2.30
Glibc-2.30 gained gettid() wrapper, selftests fail to compile:

lib/assert.c:58:14: error: static declaration of ‘gettid’ follows non-static declaration
   58 | static pid_t gettid(void)
      |              ^~~~~~
In file included from /usr/include/unistd.h:1170,
                 from include/test_util.h:18,
                 from lib/assert.c:10:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
   34 | extern __pid_t gettid (void) __THROW;
      |                ^~~~~~

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-11-13 15:48:00 +01:00
..
include selftests: kvm: consolidate VMX support checks 2019-10-22 13:31:16 +02:00
lib selftests: kvm: fix build with glibc >= 2.30 2019-11-13 15:48:00 +01:00
s390x KVM: selftests: Test invalid bits in kvm_valid_regs and kvm_dirty_regs on s390x 2019-09-04 15:38:05 +02:00
x86_64 selftests: kvm: fix sync_regs_test with newer gccs 2019-10-22 13:31:18 +02:00
.gitignore selftests: kvm: synchronize .gitignore to Makefile 2019-10-22 13:31:13 +02:00
clear_dirty_log_test.c kvm: introduce manual dirty log reprotect 2018-12-14 12:34:19 +01:00
config selftests: kvm: Adding config fragments 2019-08-09 16:52:38 +02:00
dirty_log_test.c KVM: selftests: Remove duplicate guest mode handling 2019-09-24 13:37:24 +02:00
kvm_create_max_vcpus.c KVM: s390: add kselftests 2019-07-15 13:28:58 +02:00
Makefile selftests: kvm: Fix libkvm build error 2019-10-03 12:07:58 +02:00