mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
KVM: x86: Rename kvm_cache_regs.h => regs.h
Rename kvm_cache_regs.h to simply regs.h, as the "cache" nomenclature is already a lie (the file deals with state/registers that aren't cached per se), and so that more code/functionality can be landed in the header without making it a truly horrible misnomer. Deliberately drop the kvm_ prefix/namespace to align with other "local" headers, and to further differentiate regs.h from the public/global arch/x86/include/asm/kvm_vcpu_regs.h, which sadly needs to stay in asm/ so that the number of registers can be referenced by kvm_vcpu_arch. No functional change intended. Reviewed-by: Yosry Ahmed <yosry@kernel.org> Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com> Link: https://patch.msgid.link/20260529222223.870923-7-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
This commit is contained in:
parent
16b5d193b2
commit
ece08316ca
|
|
@ -20,7 +20,7 @@
|
|||
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
||||
|
||||
#include <linux/kvm_host.h>
|
||||
#include "kvm_cache_regs.h"
|
||||
#include "regs.h"
|
||||
#include "kvm_emulate.h"
|
||||
#include <linux/stringify.h>
|
||||
#include <asm/debugreg.h>
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
#include <asm/delay.h>
|
||||
#include <linux/atomic.h>
|
||||
#include <linux/jump_label.h>
|
||||
#include "kvm_cache_regs.h"
|
||||
#include "regs.h"
|
||||
#include "irq.h"
|
||||
#include "ioapic.h"
|
||||
#include "trace.h"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#define __KVM_X86_MMU_H
|
||||
|
||||
#include <linux/kvm_host.h>
|
||||
#include "kvm_cache_regs.h"
|
||||
#include "regs.h"
|
||||
#include "x86.h"
|
||||
#include "cpuid.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
#include "mmu_internal.h"
|
||||
#include "tdp_mmu.h"
|
||||
#include "x86.h"
|
||||
#include "kvm_cache_regs.h"
|
||||
#include "regs.h"
|
||||
#include "smm.h"
|
||||
#include "kvm_emulate.h"
|
||||
#include "page_track.h"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
#ifndef ASM_KVM_CACHE_REGS_H
|
||||
#define ASM_KVM_CACHE_REGS_H
|
||||
#ifndef ARCH_X86_KVM_REGS_H
|
||||
#define ARCH_X86_KVM_REGS_H
|
||||
|
||||
#include <linux/kvm_host.h>
|
||||
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <linux/kvm_host.h>
|
||||
#include "x86.h"
|
||||
#include "kvm_cache_regs.h"
|
||||
#include "regs.h"
|
||||
#include "kvm_emulate.h"
|
||||
#include "smm.h"
|
||||
#include "cpuid.h"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "irq.h"
|
||||
#include "mmu.h"
|
||||
#include "kvm_cache_regs.h"
|
||||
#include "regs.h"
|
||||
#include "x86.h"
|
||||
#include "smm.h"
|
||||
#include "cpuid.h"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
#include <asm/sev-common.h>
|
||||
|
||||
#include "cpuid.h"
|
||||
#include "kvm_cache_regs.h"
|
||||
#include "regs.h"
|
||||
|
||||
/*
|
||||
* Helpers to convert to/from physical addresses for pages whose address is
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#ifndef __KVM_X86_VMX_NESTED_H
|
||||
#define __KVM_X86_VMX_NESTED_H
|
||||
|
||||
#include "kvm_cache_regs.h"
|
||||
#include "regs.h"
|
||||
#include "hyperv.h"
|
||||
#include "vmcs12.h"
|
||||
#include "vmx.h"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include <asm/sgx.h>
|
||||
|
||||
#include "x86.h"
|
||||
#include "kvm_cache_regs.h"
|
||||
#include "regs.h"
|
||||
#include "nested.h"
|
||||
#include "sgx.h"
|
||||
#include "vmx.h"
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@
|
|||
#include "hyperv.h"
|
||||
#include "kvm_onhyperv.h"
|
||||
#include "irq.h"
|
||||
#include "kvm_cache_regs.h"
|
||||
#include "regs.h"
|
||||
#include "lapic.h"
|
||||
#include "mmu.h"
|
||||
#include "nested.h"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#include <asm/posted_intr.h>
|
||||
|
||||
#include "capabilities.h"
|
||||
#include "../kvm_cache_regs.h"
|
||||
#include "../regs.h"
|
||||
#include "pmu_intel.h"
|
||||
#include "vmcs.h"
|
||||
#include "vmx_ops.h"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
#include "mmu.h"
|
||||
#include "i8254.h"
|
||||
#include "tss.h"
|
||||
#include "kvm_cache_regs.h"
|
||||
#include "regs.h"
|
||||
#include "kvm_emulate.h"
|
||||
#include "mmu/page_track.h"
|
||||
#include "x86.h"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include <asm/fpu/xstate.h>
|
||||
#include <asm/mce.h>
|
||||
#include <asm/pvclock.h>
|
||||
#include "kvm_cache_regs.h"
|
||||
#include "regs.h"
|
||||
#include "kvm_emulate.h"
|
||||
#include "cpuid.h"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user