diff options
author | Eric B Munson <emunson@mgebm.net> | 2012-03-10 14:37:25 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-04-08 12:48:57 +0300 |
commit | eae3ee7d8a7c59cf63441dedf28674889f5fc477 (patch) | |
tree | 99268a4135875c68c7aeb69bd8ca0f6e88aee146 /arch/x86/include/asm/pvclock-abi.h | |
parent | 2246f8b56315befa30f3d3d2800e0734c774f70e (diff) |
x86: pvclock: Add flag to indicate that a vm was stopped by the host
This flag will be used to check if the vm was stopped by the host when a soft
lockup was detected. The host will set the flag when it stops the guest. On
resume, the guest will check this flag if a soft lockup is detected and skip
issuing the warning.
Signed-off-by: Eric B Munson <emunson@mgebm.net>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/pvclock-abi.h')
-rw-r--r-- | arch/x86/include/asm/pvclock-abi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/pvclock-abi.h b/arch/x86/include/asm/pvclock-abi.h index 35f2d1948ad..6167fd79818 100644 --- a/arch/x86/include/asm/pvclock-abi.h +++ b/arch/x86/include/asm/pvclock-abi.h @@ -40,5 +40,6 @@ struct pvclock_wall_clock { } __attribute__((__packed__)); #define PVCLOCK_TSC_STABLE_BIT (1 << 0) +#define PVCLOCK_GUEST_STOPPED (1 << 1) #endif /* __ASSEMBLY__ */ #endif /* _ASM_X86_PVCLOCK_ABI_H */ |