Mailing List Archive

Temporary fix to include PTY support in domU builds.
# HG changeset patch
# User kaf24@firebug.cl.cam.ac.uk
# Node ID c5fd98fcb127f5de28312ed8a36e67b31c74dca2
# Parent bf176086255baefd27f223a9a5b88c27896fa7ce
Temporary fix to include PTY support in domU builds.

Signed-off-by: Keir Fraser <keir@xensource.com>

diff -r bf176086255b -r c5fd98fcb127 buildconfigs/linux-defconfig_xenU_x86_32
--- a/buildconfigs/linux-defconfig_xenU_x86_32 Sat Feb 4 09:58:28 2006
+++ b/buildconfigs/linux-defconfig_xenU_x86_32 Mon Feb 6 13:52:45 2006
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.16-rc2-xenU
-# Fri Feb 3 16:57:27 2006
+# Mon Feb 6 13:25:40 2006
#
CONFIG_X86_32=y
CONFIG_SEMAPHORE_SLEEPERS=y
@@ -381,6 +381,9 @@
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
+CONFIG_UNIX98_PTYS=y
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256

#
# SN Devices
diff -r bf176086255b -r c5fd98fcb127 buildconfigs/linux-defconfig_xenU_x86_64
--- a/buildconfigs/linux-defconfig_xenU_x86_64 Sat Feb 4 09:58:28 2006
+++ b/buildconfigs/linux-defconfig_xenU_x86_64 Mon Feb 6 13:52:45 2006
@@ -600,6 +600,9 @@
# Wan interfaces
#
# CONFIG_WAN is not set
+CONFIG_UNIX98_PTYS=y
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256

#
# ATM drivers
diff -r bf176086255b -r c5fd98fcb127 linux-2.6-xen-sparse/drivers/Kconfig
--- a/linux-2.6-xen-sparse/drivers/Kconfig Sat Feb 4 09:58:28 2006
+++ b/linux-2.6-xen-sparse/drivers/Kconfig Mon Feb 6 13:52:45 2006
@@ -77,6 +77,20 @@
source "drivers/infiniband/Kconfig"
endif

+if XEN && !XEN_PHYSDEV_ACCESS
+# Gross hack. Fix later by allowing unprivileged guest to include
+# char/Kconfig without breaking the build.
+config UNIX98_PTYS
+ bool
+ default y
+config LEGACY_PTYS
+ bool
+ default y
+config LEGACY_PTY_COUNT
+ int
+ default "256"
+endif
+
source "drivers/sn/Kconfig"

source "drivers/edac/Kconfig"

_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xensource.com
http://lists.xensource.com/xen-changelog