summaryrefslogtreecommitdiffstats
path: root/qemu/include/hw/kvm
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/include/hw/kvm')
-rw-r--r--qemu/include/hw/kvm/clock.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/qemu/include/hw/kvm/clock.h b/qemu/include/hw/kvm/clock.h
new file mode 100644
index 000000000..252ea1346
--- /dev/null
+++ b/qemu/include/hw/kvm/clock.h
@@ -0,0 +1,24 @@
+/*
+ * 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.
+ *
+ */
+
+#ifdef CONFIG_KVM
+
+void kvmclock_create(void);
+
+#else /* CONFIG_KVM */
+
+static inline void kvmclock_create(void)
+{
+}
+
+#endif /* !CONFIG_KVM */