git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This commit was manufactured by cvs2svn to create branch 'vserver'.
[linux-2.6.git]
/
drivers
/
kvm
/
kvm_vmx.h
diff --git a/drivers/kvm/kvm_vmx.h
b/drivers/kvm/kvm_vmx.h
new file mode 100644
(file)
index 0000000..
d139f73
--- /dev/null
+++ b/
drivers/kvm/kvm_vmx.h
@@ -0,0
+1,14
@@
+#ifndef __KVM_VMX_H
+#define __KVM_VMX_H
+
+#ifdef CONFIG_X86_64
+/*
+ * avoid save/load MSR_SYSCALL_MASK and MSR_LSTAR by std vt
+ * mechanism (cpu bug AA24)
+ */
+#define NR_BAD_MSRS 2
+#else
+#define NR_BAD_MSRS 0
+#endif
+
+#endif