xen: introduce XEN_DOM0 as a silent option
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 2 Sep 2010 14:47:32 +0000 (15:47 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 22 Oct 2010 20:25:43 +0000 (21:25 +0100)
Add XEN_DOM0 to arch/x86/xen/Kconfig as a silent compile time option
that gets enabled when xen and basic x86, acpi and pci support are
selected.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/Kconfig

index 68128a1b401a30a9316b0a9cfa35369c88f9e81a..a234b9a71ab461ce63eab7deece3c1d9a534ffce 100644 (file)
@@ -13,6 +13,16 @@ config XEN
          kernel to boot in a paravirtualized environment under the
          Xen hypervisor.
 
+config XEN_DOM0
+       def_bool y
+       depends on XEN && PCI_XEN && SWIOTLB_XEN
+       depends on X86_LOCAL_APIC && X86_IO_APIC && ACPI && PCI
+
+# Dummy symbol since people have come to rely on the PRIVILEGED_GUEST
+# name in tools.
+config XEN_PRIVILEGED_GUEST
+       def_bool XEN_DOM0
+
 config XEN_PVHVM
        def_bool y
        depends on XEN