* [PATCH] define NMI_VECTOR in external-module-compat
@ 2008-06-15 19:53 Alexander Graf
2008-06-16 4:20 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Graf @ 2008-06-15 19:53 UTC (permalink / raw)
To: kvm
[-- Attachment #1: Type: text/plain, Size: 291 bytes --]
Due to the recent introduction of NMI injections, an internal
dependency on the define of NMI_VECTOR was created.
This define does not exist in SLES10 i586, but is fairly easy to
define in the compat header, which is what this patch does.
Signed-off-by: Alexander Graf <agraf@suse.de>
[-- Attachment #2: kvm-nmi.patch --]
[-- Type: application/octet-stream, Size: 495 bytes --]
diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h
index fab603a..7434e64 100644
--- a/kernel/external-module-compat.h
+++ b/kernel/external-module-compat.h
@@ -692,6 +692,10 @@ static inline void hrtimer_data_pointer(struct hrtimer *timer)
static inline void hrtimer_data_pointer(struct hrtimer *timer) {}
#endif
+#ifndef NMI_VECTOR
+#define NMI_VECTOR 2
+#endif
+
#ifndef MSR_MTRRcap
#define MSR_MTRRcap 0x0fe
#define MSR_MTRRfix64K_00000 0x250
[-- Attachment #3: Type: text/plain, Size: 1 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] define NMI_VECTOR in external-module-compat
2008-06-15 19:53 [PATCH] define NMI_VECTOR in external-module-compat Alexander Graf
@ 2008-06-16 4:20 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2008-06-16 4:20 UTC (permalink / raw)
To: Alexander Graf; +Cc: kvm
Alexander Graf wrote:
> Due to the recent introduction of NMI injections, an internal
> dependency on the define of NMI_VECTOR was created.
> This define does not exist in SLES10 i586, but is fairly easy to
> define in the compat header, which is what this patch does.
>
Applied, thanks. Please attach plaintext files or post inline (this
attachment was application/octet-stream).
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-16 4:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-15 19:53 [PATCH] define NMI_VECTOR in external-module-compat Alexander Graf
2008-06-16 4:20 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox