Skip to content

Commit 3597405

Browse files
ajdlinuxJonathan Corbet
authored andcommitted
Documentation: core-api: entry: Replace deprecated KVM entry/exit functions
The x86-specific functions kvm_guest_{enter,exit}_irqoff() were removed and replaced by the generic guest_state_{enter,exit}_irqoff() in commit ef9989a ("kvm: add guest_state_{enter,exit}_irqoff()") and commit b2d2af7 ("kvm/x86: rework guest entry logic"). Update the references in the entry/exit handling documentation. Cc: Thomas Gleixner <[email protected]> Cc: Nicolas Saenz Julienne <[email protected]> Cc: Mark Rutland <[email protected]> Signed-off-by: Andrew Donnellan <[email protected]> Reviewed-by: Thomas Gleixner <[email protected]> Acked-by: Mark Rutland <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent fa79e55 commit 3597405

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/core-api/entry.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ Entering or exiting guest mode is very similar to syscalls. From the host
115115
kernel point of view the CPU goes off into user space when entering the
116116
guest and returns to the kernel on exit.
117117

118-
kvm_guest_enter_irqoff() is a KVM-specific variant of exit_to_user_mode()
119-
and kvm_guest_exit_irqoff() is the KVM variant of enter_from_user_mode().
118+
guest_state_enter_irqoff() is a KVM-specific variant of exit_to_user_mode()
119+
and guest_state_exit_irqoff() is the KVM variant of enter_from_user_mode().
120120
The state operations have the same ordering.
121121

122122
Task work handling is done separately for guest at the boundary of the

0 commit comments

Comments
 (0)