summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/Kconfig
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-07-23 00:00:09 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-07-24 15:05:01 +0200
commit72c3c0fe54a3f3ddea8f5ca468ddf9deaf2100b7 (patch)
tree4a1930a215409c143c23630e89d0259675da7d5b /arch/x86/kvm/Kconfig
parentx86/entry: Cleanup idtentry_enter/exit (diff)
downloadlinux-72c3c0fe54a3f3ddea8f5ca468ddf9deaf2100b7.tar.xz
linux-72c3c0fe54a3f3ddea8f5ca468ddf9deaf2100b7.zip
x86/kvm: Use generic xfer to guest work function
Use the generic infrastructure to check for and handle pending work before transitioning into guest mode. This now handles TIF_NOTIFY_RESUME as well which was ignored so far. Handling it is important as this covers task work and task work will be used to offload the heavy lifting of POSIX CPU timers to thread context. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/20200722220520.979724969@linutronix.de
Diffstat (limited to 'arch/x86/kvm/Kconfig')
-rw-r--r--arch/x86/kvm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
index b277a2db6267..fbd5bd7a945a 100644
--- a/arch/x86/kvm/Kconfig
+++ b/arch/x86/kvm/Kconfig
@@ -42,6 +42,7 @@ config KVM
select HAVE_KVM_MSI
select HAVE_KVM_CPU_RELAX_INTERCEPT
select HAVE_KVM_NO_POLL
+ select KVM_XFER_TO_GUEST_WORK
select KVM_GENERIC_DIRTYLOG_READ_PROTECT
select KVM_VFIO
select SRCU