mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
KVM: x86: Move KVM_MAX_MCE_BANKS to header file
Move KVM_MAX_MCE_BANKS to header file so that it can be used for TDX in a future patch. Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com> [binbin: split into new patch] Signed-off-by: Binbin Wu <binbin.wu@linux.intel.com> Message-ID: <20250227012021.1778144-8-binbin.wu@linux.intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
5cf7239b78
commit
7ddf314441
|
|
@ -90,7 +90,6 @@
|
|||
#include "trace.h"
|
||||
|
||||
#define MAX_IO_MSRS 256
|
||||
#define KVM_MAX_MCE_BANKS 32
|
||||
|
||||
/*
|
||||
* Note, kvm_caps fields should *never* have default values, all fields must be
|
||||
|
|
|
|||
|
|
@ -10,6 +10,8 @@
|
|||
#include "kvm_emulate.h"
|
||||
#include "cpuid.h"
|
||||
|
||||
#define KVM_MAX_MCE_BANKS 32
|
||||
|
||||
struct kvm_caps {
|
||||
/* control of guest tsc rate supported? */
|
||||
bool has_tsc_control;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user