[PATCH] KVM: VMX: Remove declaration of nested_mark_vmcs12_pages_dirty()

Binbin Wu posted 1 patch 3 weeks, 4 days ago
arch/x86/kvm/vmx/nested.h | 1 -
1 file changed, 1 deletion(-)
[PATCH] KVM: VMX: Remove declaration of nested_mark_vmcs12_pages_dirty()
Posted by Binbin Wu 3 weeks, 4 days ago
Remove the declaration of nested_mark_vmcs12_pages_dirty() from the
header file since it has been moved and renamed to
nested_vmx_mark_all_vmcs12_pages_dirty(), which is a static function.

Signed-off-by: Binbin Wu <binbin.wu@linux.intel.com>
---
 arch/x86/kvm/vmx/nested.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/kvm/vmx/nested.h b/arch/x86/kvm/vmx/nested.h
index 983484d42ebf..b844c5d59025 100644
--- a/arch/x86/kvm/vmx/nested.h
+++ b/arch/x86/kvm/vmx/nested.h
@@ -51,7 +51,6 @@ int vmx_set_vmx_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 data);
 int vmx_get_vmx_msr(struct nested_vmx_msrs *msrs, u32 msr_index, u64 *pdata);
 int get_vmx_mem_address(struct kvm_vcpu *vcpu, unsigned long exit_qualification,
 			u32 vmx_instruction_info, bool wr, int len, gva_t *ret);
-void nested_mark_vmcs12_pages_dirty(struct kvm_vcpu *vcpu);
 bool nested_vmx_check_io_bitmaps(struct kvm_vcpu *vcpu, unsigned int port,
 				 int size);
 

base-commit: f62b64b970570c92fe22503b0cdc65be7ce7fc7c
-- 
2.46.0
Re: [PATCH] KVM: VMX: Remove declaration of nested_mark_vmcs12_pages_dirty()
Posted by Sean Christopherson 3 weeks, 1 day ago
On Tue, 13 Jan 2026 16:47:48 +0800, Binbin Wu wrote:
> Remove the declaration of nested_mark_vmcs12_pages_dirty() from the
> header file since it has been moved and renamed to
> nested_vmx_mark_all_vmcs12_pages_dirty(), which is a static function.

Applied to kvm-x86 apic, thanks!

[1/1] KVM: VMX: Remove declaration of nested_mark_vmcs12_pages_dirty()
      https://github.com/kvm-x86/linux/commit/ac4f869c5630

--
https://github.com/kvm-x86/linux/tree/next