Logo
Explore Help
Sign In
ukui/kernel
0
0
Fork 0
You've already forked kernel
mirror of https://github.com/ukui/kernel.git synced 2026-03-09 10:07:04 -07:00
Code Issues Packages Projects Releases Wiki Activity
Files
94dea151bf3651c01acb12a38ca75ba9d26ea4da
kernel/tools/testing/vsock/timeout.h

16 lines
301 B
C
Raw Normal View History

VSOCK: add SPDX identifiers to vsock tests Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2019-12-18 19:06:59 +01:00
/* SPDX-License-Identifier: GPL-2.0-only */
VSOCK: add tools/testing/vsock/vsock_diag_test This patch adds tests for the vsock_diag.ko module. These tests are not self-tests because they require manual set up of a KVM or VMware guest. Please see tools/testing/vsock/README for instructions. The control.h and timeout.h infrastructure can be used for additional AF_VSOCK tests in the future. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-05 16:46:54 -04:00
#ifndef TIMEOUT_H
#define TIMEOUT_H
enum {
/* Default timeout */
TIMEOUT = 10 /* seconds */
};
void sigalrm(int signo);
void timeout_begin(unsigned int seconds);
void timeout_check(const char *operation);
void timeout_end(void);
#endif /* TIMEOUT_H */
Reference in New Issue Copy Permalink
Powered by Gitea Page: 339ms Template: 8ms
English
English
Licenses API