cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

clock.h (500B)


      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(bool create_always);
     19
     20#else /* CONFIG_KVM */
     21
     22static inline void kvmclock_create(bool create_always)
     23{
     24}
     25
     26#endif /* !CONFIG_KVM */
     27
     28#endif