[PATCH] kvm-kmod: x86: Add MSR_K8_SYSCFG compat define

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Kiszka wrote:
> The is a flush of my current queue against kvm-kmod. Some are reposts,
> some are split-ups, and a few are new (specifically the MCE fixes). I
> did not include patches that you reported to have already in your queue.
> 
> Find the patches also at git://git.kiszka.org/kvm-kmod.git queue
> 
> Jan Kiszka (8):
>       kvm-kmod: Allow to override sync source
>       kvm-kmod: Include asm/uaccess.h on pre-2.6.18 kernels
>       kvm-kmod: Include relayfs_fs.h on pre-2.6.17 kernels
>       kvm-kmod: Provide flush_work compat wrapper
>       kvm-kmod: Fix msi_enabled patching
>       kvm-kmod: Add eventfd.c to patch list
>       kvm-kmod: x86: Add MSR_IA32_TSC compat define
>       kvm-kmod: x86: Add MCE compat defines
> 

And one more (probably not the last one, build round-trip on for my
legacy kernel environment is currently longer than posting round-trip).
Or do you have this in your queue already, too?

-------->

Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
---

 x86/external-module-compat.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h
index 66f3aea..3fc91a1 100644
--- a/x86/external-module-compat.h
+++ b/x86/external-module-compat.h
@@ -512,6 +512,10 @@ struct kvm_desc_ptr {
 #define MSR_K7_HWCR                     0xc0010015
 #endif
 
+#ifndef MSR_K8_SYSCFG
+#define MSR_K8_SYSCFG                   0xc0010010
+#endif
+
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25) && defined(__x86_64__)
 
 #undef set_debugreg

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux