lkml.org 
[lkml]   [2012]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/4 V11] Add functions to check if the host has stopped the vm
    On Tue, Jan 31, 2012 at 10:35:30AM -0500, Eric B Munson wrote:
    > When a host stops or suspends a VM it will set a flag to show this. The
    > watchdog will use these functions to determine if a softlockup is real, or the
    > result of a suspended VM.
    >
    > Signed-off-by: Eric B Munson <emunson@mgebm.net>
    > asm-generic changes Acked-by: Arnd Bergmann <arnd@arndb.de>
    > Cc: mingo@redhat.com
    > Cc: hpa@zytor.com
    > Cc: ryanh@linux.vnet.ibm.com
    > Cc: aliguori@us.ibm.com
    > Cc: mtosatti@redhat.com
    > Cc: kvm@vger.kernel.org
    > Cc: linux-arch@vger.kernel.org
    > Cc: x86@kernel.org
    > Cc: linux-kernel@vger.kernel.org
    > ---
    > Changes from V6:
    > Use __this_cpu_and when clearing the PVCLOCK_GUEST_STOPPED flag
    > Changes from V5:
    > Collapse generic stubs into this patch
    > check_and_clear_guest_stopped() takes no args and uses __get_cpu_var()
    > Include individual definitions in ia64, s390, and powerpc
    >
    > arch/ia64/include/asm/kvm_para.h | 5 +++++
    > arch/powerpc/include/asm/kvm_para.h | 5 +++++
    > arch/s390/include/asm/kvm_para.h | 5 +++++
    > arch/x86/include/asm/kvm_para.h | 8 ++++++++
    > arch/x86/kernel/kvmclock.c | 21 +++++++++++++++++++++
    > 5 files changed, 44 insertions(+), 0 deletions(-)

    Where is the check_and_clear_guest_stopped() stub in
    asm-generic/kvm_para.h? I think it is necessary for
    other architectures.




    \
     
     \ /
      Last update: 2012-02-07 20:13    [W:0.024 / U:59.084 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site