@@ -119,4 +119,17 @@ config KVM_MMU_AUDIT
This option adds a R/W kVM module parameter 'mmu_audit', which allows
auditing of KVM MMU events at runtime.
+config KVM_VIRT_SUSPEND_TIMING
+ bool "Virtual suspend time injection"
+ depends on KVM=y
+ default n
+ help
+ This option makes the host's suspension reflected on the guest's clocks.
+ In other words, guest's CLOCK_MONOTONIC will stop and
+ CLOCK_BOOTTIME keeps running during the host's suspension.
+ This feature will only be effective when both guest and host enable
+ this option.
+
+ If unsure, say N.
+
endif # VIRTUALIZATION
The config option can be used to enable virtual suspend time injection support on kvm hosts. Signed-off-by: Hikaru Nishida <hikalium@chromium.org> --- arch/x86/kvm/Kconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+)