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

[win-pv-devel] [PATCH 00/14] Add support for secondary consoles



From: Owen Smith <owen.smith@xxxxxxxxxx>

Additional PV consoles can be defined. This series will allow the xencons
driver to enumerate and expose additional consoles. The primary console is
used as a console shell by the xencons_tty process, and can access a command
line inside the guest (subject to guest user authentication). Additional
consoles can be used for other functionallity that requires a character
stream into/out of the guest.
Currently there are no defined uses for additional consoles, but it could 
be used for services such as clipboard sharing, or additional diagnostics.

Owen Smith (14):
  chmod 777 msbuild.bat
  Refactor: Move console handler to console.h/.c
  Add IOCTLs to get Instance, Name and Protocol
  Make the monitor service multi-console aware
  Add a short Sleep between CreateFile calls
  Enumerate ~/device/console for non-default consoles
  Expose console interface from Pdo
  Add boilerplate frontend
  add boilerplate ring
  Implement ring protocol
  ConsoleDisable cannot be called at DISPATCH
  Report a better device name
  Fix BUG on hibernate/shutdown
  IoCsqInsertIrpEx already calls IoMarkIrpPending

 include/cache_interface.h                |  233 ++++
 include/evtchn_interface.h               |  357 ++++++
 include/gnttab_interface.h               |  287 +++++
 include/xen-types.h                      |   55 +
 include/xen-version.h                    |   37 +
 include/xen-warnings.h                   |   42 +
 include/xen.h                            |   45 +
 include/xen/public/arch-x86/xen-x86_32.h |  169 +++
 include/xen/public/arch-x86/xen-x86_64.h |  202 +++
 include/xen/public/arch-x86/xen.h        |  338 +++++
 include/xen/public/errno.h               |  124 ++
 include/xen/public/grant_table.h         |  684 ++++++++++
 include/xen/public/io/console.h          |   51 +
 include/xen/public/io/ring.h             |  326 +++++
 include/xen/public/io/xenbus.h           |   80 ++
 include/xen/public/trace.h               |  337 +++++
 include/xen/public/xen-compat.h          |   44 +
 include/xen/public/xen.h                 |  995 +++++++++++++++
 include/xen/xen/errno.h                  |   18 +
 include/xencons_device.h                 |   17 +
 msbuild.bat                              |    0
 src/monitor/monitor.c                    | 1239 ++++++++++--------
 src/tty/tty.c                            |    7 +-
 src/xencons.inf                          |    2 +-
 src/xencons/console.c                    |  324 +++++
 src/xencons/console.h                    |   80 ++
 src/xencons/driver.c                     |    6 +
 src/xencons/driver.h                     |   12 +-
 src/xencons/fdo.c                        | 1093 ++++++++++++----
 src/xencons/fdo.h                        |   47 +
 src/xencons/frontend.c                   | 1291 +++++++++++++++++++
 src/xencons/frontend.h                   |  113 ++
 src/xencons/mutex.h                      |   82 ++
 src/xencons/pdo.c                        | 2047 ++++++++++++++++++++++++++++++
 src/xencons/pdo.h                        |  114 ++
 src/xencons/ring.c                       | 1103 ++++++++++++++++
 src/xencons/ring.h                       |   96 ++
 vs2015/xencons/xencons.vcxproj           |    4 +
 38 files changed, 11319 insertions(+), 782 deletions(-)
 create mode 100755 include/cache_interface.h
 create mode 100755 include/evtchn_interface.h
 create mode 100755 include/gnttab_interface.h
 create mode 100755 include/xen-types.h
 create mode 100755 include/xen-version.h
 create mode 100755 include/xen-warnings.h
 create mode 100755 include/xen.h
 create mode 100755 include/xen/public/arch-x86/xen-x86_32.h
 create mode 100755 include/xen/public/arch-x86/xen-x86_64.h
 create mode 100755 include/xen/public/arch-x86/xen.h
 create mode 100755 include/xen/public/errno.h
 create mode 100755 include/xen/public/grant_table.h
 create mode 100755 include/xen/public/io/console.h
 create mode 100755 include/xen/public/io/ring.h
 create mode 100755 include/xen/public/io/xenbus.h
 create mode 100755 include/xen/public/trace.h
 create mode 100755 include/xen/public/xen-compat.h
 create mode 100755 include/xen/public/xen.h
 create mode 100755 include/xen/xen/errno.h
 mode change 100644 => 100755 msbuild.bat
 create mode 100755 src/xencons/console.c
 create mode 100755 src/xencons/console.h
 create mode 100755 src/xencons/frontend.c
 create mode 100755 src/xencons/frontend.h
 create mode 100644 src/xencons/mutex.h
 create mode 100755 src/xencons/pdo.c
 create mode 100755 src/xencons/pdo.h
 create mode 100755 src/xencons/ring.c
 create mode 100755 src/xencons/ring.h

-- 
2.8.3


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/win-pv-devel

 


Rackspace

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