lkml.org 
[lkml]   [2011]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4/6] Add generic stubs for kvm stop check functions
    Date
    Signed-off-by: Eric B Munson <emunson@mgebm.net>
    ---
    include/asm-generic/pvclock.h | 19 +++++++++++++++++++
    1 files changed, 19 insertions(+), 0 deletions(-)
    create mode 100644 include/asm-generic/pvclock.h

    diff --git a/include/asm-generic/pvclock.h b/include/asm-generic/pvclock.h
    new file mode 100644
    index 0000000..b42a8eb
    --- /dev/null
    +++ b/include/asm-generic/pvclock.h
    @@ -0,0 +1,19 @@
    +#ifndef _ASM_GENERIC_PVCLOCK_H
    +#define _ASM_GENERIC_PVCLOCK_H
    +
    +
    +/*
    + * These functions are used by architectures that support kvm to avoid issuing
    + * false soft lockup messages.
    + */
    +static inline bool kvm_check_and_clear_host_stopped(int cpu)
    +{
    + return false;
    +}
    +
    +static inline void kvm_clear_guest_paused(struct kvm_vcpu *vcpu)
    +{
    + return;
    +}
    +
    +#endif
    --
    1.7.5.4


    \
     
     \ /
      Last update: 2011-10-25 21:29    [W:0.021 / U:125.720 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site