mirror of
https://github.com/qemu/qemu.git
synced 2024-12-17 17:23:52 +08:00
f91005e195
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190604181618.19980-5-armbru@redhat.com>
29 lines
472 B
C
29 lines
472 B
C
/*
|
|
* QEMU KVM support, paravirtual clock device
|
|
*
|
|
* Copyright (C) 2011 Siemens AG
|
|
*
|
|
* Authors:
|
|
* Jan Kiszka <jan.kiszka@siemens.com>
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL version 2.
|
|
* See the COPYING file in the top-level directory.
|
|
*/
|
|
|
|
#ifndef HW_KVM_CLOCK_H
|
|
#define HW_KVM_CLOCK_H
|
|
|
|
#ifdef CONFIG_KVM
|
|
|
|
void kvmclock_create(void);
|
|
|
|
#else /* CONFIG_KVM */
|
|
|
|
static inline void kvmclock_create(void)
|
|
{
|
|
}
|
|
|
|
#endif /* !CONFIG_KVM */
|
|
|
|
#endif
|