mbox series

[0/5] Implement a set of hotkeys for temporary autoboot override

Message ID 20180703063447.8338-1-jk@ozlabs.org
Headers show
Series Implement a set of hotkeys for temporary autoboot override | expand

Message

Jeremy Kerr July 3, 2018, 6:34 a.m. UTC
This series implements a set of function keys to temporarily apply an
autoboot policy (ie, only boot from certain device types). These
mappings are:

      F10: Only autoboot from disk
      F11: Only autoboot from USB devices
      F12: Only autoboot from network

One quirk of these keys is that they need to *not* interrupt the
autoboot process (unlike all existing key inputs).

Jeremy Kerr (5):
  protocol: Add definition and serialisation for temporary autoboot
  discover/handler: Split autoboot matching into a new function
  discover/handler: Implement temporary autoboot messages
  ui/ncurses: Implement non-boot-cancelling keys
  ui/ncurses: Implement F10-F12 for autoboot device control

 discover/device-handler.c     | 122 +++++++++++++++++++++++++++++++++++-------
 discover/device-handler.h     |   2 +
 discover/discover-server.c    |  16 ++++++
 lib/pb-protocol/pb-protocol.c |  70 ++++++++++++++++++++++++
 lib/pb-protocol/pb-protocol.h |   6 +++
 ui/common/discover-client.c   |  18 +++++++
 ui/common/discover-client.h   |   4 ++
 ui/ncurses/nc-cui-help.c      |   9 ++++
 ui/ncurses/nc-cui.c           |  65 +++++++++++++++++++++-
 ui/ncurses/nc-cui.h           |   1 +
 10 files changed, 292 insertions(+), 21 deletions(-)