summaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorJeremy Fitzhardinge2008-06-25 06:19:14 +0200
committerIngo Molnar2008-07-08 13:11:03 +0200
commit97349135fea7f0ba8464534433df3bfd1dc0e9a6 (patch)
tree7eb615f8c4b83a8327da92b96d95a44f8f54f101 /arch/x86/Kconfig
parentx86: preallocate and prepopulate separately (diff)
downloadkernel-qcow2-linux-97349135fea7f0ba8464534433df3bfd1dc0e9a6.tar.gz
kernel-qcow2-linux-97349135fea7f0ba8464534433df3bfd1dc0e9a6.tar.xz
kernel-qcow2-linux-97349135fea7f0ba8464534433df3bfd1dc0e9a6.zip
x86/paravirt: add debugging for missing operations
Rather than just jumping to 0 when there's a missing operation, raise a BUG. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: xen-devel <xen-devel@lists.xensource.com> Cc: Stephen Tweedie <sct@redhat.com> Cc: Eduardo Habkost <ehabkost@redhat.com> Cc: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 9441e46cb49b..67e5275f03c8 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -435,6 +435,13 @@ config PARAVIRT_CLOCK
endif
+config PARAVIRT_DEBUG
+ bool "paravirt-ops debugging"
+ depends on PARAVIRT && DEBUG_KERNEL
+ help
+ Enable to debug paravirt_ops internals. Specifically, BUG if
+ a paravirt_op is missing when it is called.
+
config MEMTEST
bool "Memtest"
depends on X86_64