mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-08 16:07:39 -06:00
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>
This commit is contained in:
parent
60ba3cc231
commit
3b9a6ee50e
5 changed files with 6 additions and 5 deletions
24
hw/kvm/clock.h
Normal file
24
hw/kvm/clock.h
Normal file
|
@ -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 */
|
Loading…
Add table
Add a link
Reference in a new issue