diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2012-08-16 16:00:19 -0400 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2012-08-23 03:57:54 -0400 |
commit | 90993cdd1800dc6ef9587431a0c625b978584e81 (patch) | |
tree | 246850e7f537b23a860523590f0a93a257fa0880 /arch/x86/Kconfig | |
parent | 4d8b81abc47b83a1939e59df2fdb0e98dfe0eedd (diff) |
x86: KVM guest: merge CONFIG_KVM_CLOCK into CONFIG_KVM_GUEST
The distinction between CONFIG_KVM_CLOCK and CONFIG_KVM_GUEST is
not so clear anymore, as demonstrated by recent bugs caused by poor
handling of on/off combinations of these options.
Merge CONFIG_KVM_CLOCK into CONFIG_KVM_GUEST.
Reported-By: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 8ec3a1aa4abd..a42e2e99caae 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -573,23 +573,18 @@ config PARAVIRT_TIME_ACCOUNTING | |||
573 | 573 | ||
574 | source "arch/x86/xen/Kconfig" | 574 | source "arch/x86/xen/Kconfig" |
575 | 575 | ||
576 | config KVM_CLOCK | ||
577 | bool "KVM paravirtualized clock" | ||
578 | select PARAVIRT | ||
579 | select PARAVIRT_CLOCK | ||
580 | ---help--- | ||
581 | Turning on this option will allow you to run a paravirtualized clock | ||
582 | when running over the KVM hypervisor. Instead of relying on a PIT | ||
583 | (or probably other) emulation by the underlying device model, the host | ||
584 | provides the guest with timing infrastructure such as time of day, and | ||
585 | system time | ||
586 | |||
587 | config KVM_GUEST | 576 | config KVM_GUEST |
588 | bool "KVM Guest support" | 577 | bool "KVM Guest support (including kvmclock)" |
578 | select PARAVIRT | ||
589 | select PARAVIRT | 579 | select PARAVIRT |
580 | select PARAVIRT_CLOCK | ||
581 | default y if PARAVIRT_GUEST | ||
590 | ---help--- | 582 | ---help--- |
591 | This option enables various optimizations for running under the KVM | 583 | This option enables various optimizations for running under the KVM |
592 | hypervisor. | 584 | hypervisor. It includes a paravirtualized clock, so that instead |
585 | of relying on a PIT (or probably other) emulation by the | ||
586 | underlying device model, the host provides the guest with | ||
587 | timing infrastructure such as time of day, and system time | ||
593 | 588 | ||
594 | source "arch/x86/lguest/Kconfig" | 589 | source "arch/x86/lguest/Kconfig" |
595 | 590 | ||