qemu/include/hw/kvm/clock.h
<<
>>
Prefs
   1/*
   2 * QEMU KVM support, paravirtual clock device
   3 *
   4 * Copyright (C) 2011 Siemens AG
   5 *
   6 * Authors:
   7 *  Jan Kiszka        <jan.kiszka@siemens.com>
   8 *
   9 * This work is licensed under the terms of the GNU GPL version 2.
  10 * See the COPYING file in the top-level directory.
  11 */
  12
  13#ifndef HW_KVM_CLOCK_H
  14#define HW_KVM_CLOCK_H
  15
  16#ifdef CONFIG_KVM
  17
  18void kvmclock_create(void);
  19
  20#else /* CONFIG_KVM */
  21
  22static inline void kvmclock_create(void)
  23{
  24}
  25
  26#endif /* !CONFIG_KVM */
  27
  28#endif
  29