Add qemu 2.4.0
[kvmfornfv.git] / qemu / include / hw / kvm / clock.h
diff --git a/qemu/include/hw/kvm/clock.h b/qemu/include/hw/kvm/clock.h
new file mode 100644 (file)
index 0000000..252ea13
--- /dev/null
@@ -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 */