History

entry: Rename "kvm" entry code assets to "virt" to genericize APIs

Rename the "kvm" entry code files and Kconfigs to use generic "virt" nomenclature so that the code can be reused by other hypervisors (or rather, their root/dom0 partition drivers), without incorrectly suggesting the code somehow relies on and/or involves KVM. No functional change intended.

Sean Christopherson committed 1 year ago

Commit 9be7e1e1 parent 6d0386e12 files · +19 −19Browse files

Showing the changes to kernel/entry (2 of 12 files). Show all

Unified · Split

2 files
  1. kernel/entry/Makefile +1 −1
  2. kernel/entry/virt.c +1 −1
kernel/entry/Makefile+1−1
@@ -14,4 +14,4 @@ CFLAGS_common.o += -fno-stack-protector · 13 unmodified lines
1414
1515 obj-$(CONFIG_GENERIC_IRQ_ENTRY) += common.o
1616 obj-$(CONFIG_GENERIC_SYSCALL) += syscall-common.o syscall_user_dispatch.o
17−obj-$(CONFIG_KVM_XFER_TO_GUEST_WORK) += kvm.o
17+obj-$(CONFIG_VIRT_XFER_TO_GUEST_WORK) += virt.o
kernel/entry/virt.crenamed from kernel/entry/kvm.c+1−1
@@ -1,6 +1,6 @@
11 // SPDX-License-Identifier: GPL-2.0
22
3−#include <linux/entry-kvm.h>
3+#include <linux/entry-virt.h>
44
55 static int xfer_to_guest_mode_work(unsigned long ti_work)
66 {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t