Merge remote-tracking branch 'remotes/bsdimp/tags/pull-bsd-user-20211018-pull-request...
[qemu.git] / include / hw / kvm / clock.h
1 /*
2 * QEMU KVM support, paravirtual clock device
3 *
4 * Copyright (C) 2011 Siemens AG
5 *
6 * Authors:
7 * Jan Kiszka <jan.kiszka@siemens.com>
8 *
9 * This work is licensed under the terms of the GNU GPL version 2.
10 * See the COPYING file in the top-level directory.
11 */
12
13 #ifndef HW_KVM_CLOCK_H
14 #define HW_KVM_CLOCK_H
15
16 #ifdef CONFIG_KVM
17
18 void kvmclock_create(bool create_always);
19
20 #else /* CONFIG_KVM */
21
22 static inline void kvmclock_create(bool create_always)
23 {
24 }
25
26 #endif /* !CONFIG_KVM */
27
28 #endif