diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-10-15 10:01:27 +0200 |
---|---|---|
committer | Jan Kiszka <jan.kiszka@siemens.com> | 2012-01-19 12:14:39 +0100 |
commit | 3b9a6ee50e88c47f64486b6b143b1363fa5c327c (patch) | |
tree | ede059c4021edebc53d368922d53118a65d685d9 /hw/kvm/clock.h | |
parent | 60ba3cc231d6bc7b802ad4fe6b6fc159ecb112e2 (diff) | |
download | qemu-3b9a6ee50e88c47f64486b6b143b1363fa5c327c.tar.gz qemu-3b9a6ee50e88c47f64486b6b143b1363fa5c327c.tar.bz2 qemu-3b9a6ee50e88c47f64486b6b143b1363fa5c327c.zip |
kvm: Move kvmclock into hw/kvm folder
More KVM-specific devices will come, so let's start with moving the
kvmclock into a dedicated folder.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'hw/kvm/clock.h')
-rw-r--r-- | hw/kvm/clock.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/hw/kvm/clock.h b/hw/kvm/clock.h new file mode 100644 index 0000000000..252ea13461 --- /dev/null +++ b/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 */ |