Re: [PATCH 1/6 V2] Add flag to indicate that a vm was stopped bythe host

From: Anthony Liguori
Date: Tue Nov 01 2011 - 15:24:35 EST


On 10/31/2011 03:07 PM, Eric B Munson wrote:
This flag will be used to check if the vm was stopped by the host when a soft
lockup was detected.

Signed-off-by: Eric B Munson<emunson@xxxxxxxxx>

Adding Jeremy since the pvclock ABI is shared across Xen and KVM.

Regards,

Anthony Liguori

---
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 35f2d19..6167fd7 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 */

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/