forked from mirror/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
500 B
C
29 lines
500 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(bool create_always);
|
|
|
|
#else /* CONFIG_KVM */
|
|
|
|
static inline void kvmclock_create(bool create_always)
|
|
{
|
|
}
|
|
|
|
#endif /* !CONFIG_KVM */
|
|
|
|
#endif
|