WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Temporary fix to include PTY support in domU builds.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Temporary fix to include PTY support in domU builds.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 06 Feb 2006 18:00:10 +0000
Delivery-date: Mon, 06 Feb 2006 18:11:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID c5fd98fcb127f5de28312ed8a36e67b31c74dca2
# Parent  bf176086255baefd27f223a9a5b88c27896fa7ce
Temporary fix to include PTY support in domU builds.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Temporary fix to include PTY support in domU builds., Xen patchbot -unstable <=