[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: No PTYs with linux-2.6-xen.hg



[mail will be delayed due to dumb mailing list policy]

Hans-Christian Armingeon <johnny@xxxxxxxxxx> writes:

> Hi there,
> 
> I am having the same problem.
> Is anyone working on that issue?

This patch will fix it. It also reenables other useful
character drivers. Only softdog is still MIA.

However there are other problems still. e.g. current Xen
seems to have broken balloning again.

-Andi

diff -u linux-2.6-xen.hg/drivers/char/Kconfig-o 
linux-2.6-xen.hg/drivers/char/Kconfig
--- linux-2.6-xen.hg/drivers/char/Kconfig-o     2005-11-16 01:37:04.000000000 
+0100
+++ linux-2.6-xen.hg/drivers/char/Kconfig       2005-12-12 07:32:18.000000000 
+0100
@@ -4,6 +4,8 @@
 
 menu "Character devices"
 
+if !XEN || XEN_PHYSDEV_ACCESS
+
 config VT
        bool "Virtual terminal" if EMBEDDED
        select INPUT
@@ -415,6 +417,8 @@
 
 source "drivers/serial/Kconfig"
 
+endif
+
 config UNIX98_PTYS
        bool "Unix98 PTY support" if EMBEDDED
        default y
@@ -469,6 +473,8 @@
          When not in use, each legacy PTY occupies 12 bytes on 32-bit
          architectures and 24 bytes on 64-bit architectures.
 
+if !XEN || XEN_PHYSDEV_ACCESS
+
 config PRINTER
        tristate "Parallel printer support"
        depends on PARPORT
@@ -932,6 +938,8 @@
        tristate "NEC VR4100 series General-purpose I/O Unit support"
        depends on CPU_VR41XX
 
+endif
+
 config RAW_DRIVER
        tristate "RAW driver (/dev/raw/rawN) (OBSOLETE)"
        help
@@ -943,6 +951,8 @@
           Applications should simply open the device (eg /dev/hda1)
           with the O_DIRECT flag.
 
+if !XEN || XEN_PHYSDEV_ACCESS
+
 config HPET
        bool "HPET - High Precision Event Timer" if (X86 || IA64)
        default n
@@ -974,6 +984,8 @@
          exposed to the user.  If this applies to your hardware,
          say N here.
 
+endif
+
 config MAX_RAW_DEVS
        int "Maximum number of RAW devices to support (1-8192)"
        depends on RAW_DRIVER
@@ -999,7 +1011,11 @@
          The mmtimer device allows direct userspace access to the
          Altix system timer.
 
+if !XEN || XEN_PHYSDEV_ACCESS
+
 source "drivers/char/tpm/Kconfig"
 
+endif
+
 endmenu
 
diff -u linux-2.6-xen.hg/drivers/Kconfig-o linux-2.6-xen.hg/drivers/Kconfig
--- linux-2.6-xen.hg/drivers/Kconfig-o  2005-11-16 01:37:04.000000000 +0100
+++ linux-2.6-xen.hg/drivers/Kconfig    2005-12-12 07:11:52.000000000 +0100
@@ -49,9 +49,12 @@
 # input before char - char/joystick depends on it. As does USB.
 
 source "drivers/input/Kconfig"
+endif
 
 source "drivers/char/Kconfig"
 
+if !XEN || XEN_PHYSDEV_ACCESS
+
 source "drivers/i2c/Kconfig"
 
 source "drivers/w1/Kconfig"

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.