Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2014 21:26:59 +0400
From:      Roman Bogorodskiy <novel@FreeBSD.org>
To:        Peter Grehan <grehan@freebsd.org>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: bhyve: allow specifiying tty by fd
Message-ID:  <20140409172657.GB1313@kloomba>
In-Reply-To: <5318BF7F.4060306@freebsd.org>
References:  <20140305130030.GA40560@dev.san.ru> <5318BF7F.4060306@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--f2QGlHpHGjS2mn6Y
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

  Peter Grehan wrote:

> Hi Roman,
> > Currently bhyve(8) allows to specify either stdio or device path as a
> > TTY device. However, it could be useful to specify a TTY device by file
> > descriptor, e.g. when bhyve is being executed in an automated way by
> > other application, so a result of openpty(3) could be passed to it.
> >
> > Attached a poc patch for that. It allows to specify fd this way:
> >
> > bhyve <snip>  -s 31,lpc -l com1,fd=3D19 vm0
>=20
>   Yes, useful idea, and will become more relevant in the capsicum world=
=20
> of passing fd's to a sandboxed bhyve.
>=20
>   Thanks: I'll get this submitted.

Hi Peter!

Any news on that?

Thanks,

Roman Bogorodskiy

--f2QGlHpHGjS2mn6Y
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (FreeBSD)

iQEcBAEBAgAGBQJTRYLhAAoJEMltX/4IwiJq6AoIAK+OHJ8unohLc+5PW9fINKDK
rfwMGYQnUR/fOTO68m05XGIIKkgap0EHvsNY0PS3DAtfi3646BTHC2vRV2LBX6Dx
VOLZ4lZeubLcttzIZsZnXBDN8hPrNJAUY6kFPtAxKaDLCOetGplEVd3nM8CuTILj
vPfnvlEW/5ULl+xnLCmGUMLco0qWepL8Vud2iskLEJ9vU8ZC7kUh3u8YgueNQDEC
qZjUMW0sRdsibcjG/nwVyqzo+rIIwg+P+X0nWipryE4j3wxYaktWuJsyVUJJmQi9
9ZWznnCxhqELZ3GQN6ewkK4/mlgYIvbHdQQvT75q+ubC30WkMewzbkuKqyqeFtg=
=kZIP
-----END PGP SIGNATURE-----

--f2QGlHpHGjS2mn6Y--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140409172657.GB1313>