tty small fixes

Submitted by Dmitry Safonov on April 27, 2016, 5:10 p.m.

Details

Reviewer None
Submitted April 27, 2016, 5:10 p.m.
Last Updated April 28, 2016, 3:57 a.m.
Revision 1

Cover Letter

In the second patch I add serial tty driver.
That's for devices like RPI or other boards, to which one connects
with serial cable. On those boards C/R for processes now work only
if you login with ssh, but not in case if you use serial cable.
That's bad, as I don't always connect my boards to LAN and get to
them through network.
That's also valid for qemu VMs.
I was bored to set a virtual bridge or VTE or anything just to
test if criu works on qemu-system-aarch64, so I fixed C/R with
serial line attached to /dev/ttyAMA0

Dmitry Safonov (2):
  tty: fix /dev/tty{1,63} minor number
  tty: add serial driver & popular serial majors

 criu/include/tty.h |  4 ++++
 criu/tty.c         | 14 +++++++++++++-
 images/tty.proto   |  1 +
 3 files changed, 18 insertions(+), 1 deletion(-)
  

Revisions

Patches download mbox

Tests