Re: [PATCH 8/8] kvm-kmod: x86: Add MCE compat defines

2009-05-26 Thread Avi Kivity
Jan Kiszka wrote: + +#ifndef MCG_CTL_P +#define MCG_CTL_P(1ULL<<8) +#define MCG_STATUS_MCIP (1ULL<<2) +#define MCI_STATUS_VAL (1ULL<<63) +#define MCI_STATUS_OVER (1ULL<<62) +#define MCI_STATUS_UC(1ULL<<61) +#endif This breaks on recent kernels (redefinition), so I remo

Re: [PATCH 8/8] kvm-kmod: x86: Add MCE compat defines

2009-05-26 Thread Jan Kiszka
Avi Kivity wrote: > Jan Kiszka wrote: >> Signed-off-by: Jan Kiszka >> --- >> >> x86/external-module-compat.h |8 >> 1 files changed, 8 insertions(+), 0 deletions(-) >> >> diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h >> index c33eb2e..cc984ab 100644 >> ---

Re: [PATCH 8/8] kvm-kmod: x86: Add MCE compat defines

2009-05-26 Thread Avi Kivity
Jan Kiszka wrote: Signed-off-by: Jan Kiszka --- x86/external-module-compat.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h index c33eb2e..cc984ab 100644 --- a/x86/external-module-compat.h +++ b/x86/ex