This revision was automatically updated to reflect the committed changes.
Closed by commit rS305898: Add virtio-console support to bhyve. (authored by
jceel).
CHANGED PRIOR TO COMMIT
https://reviews.freebsd.org/D7185?vs=20401=20402#toc
REPOSITORY
rS FreeBSD src repository
CHANGES SINCE
jceel updated this revision to Diff 20401.
jceel added a comment.
Cast basename() argument to char *.
REPOSITORY
rS FreeBSD src repository
CHANGES SINCE LAST UPDATE
https://reviews.freebsd.org/D7185?vs=18284=20401
REVISION DETAIL
https://reviews.freebsd.org/D7185
AFFECTED FILES
Jakub Klama wrote:
if it's never going to appear as /dev/console or any other
tty-like device to the guest, then i won't care what it looks like
on the host. however, you said it could carry resize events, which
leads me to believe that the name (vertio-console) is not wrong,
and it is a tty
> Wiadomość napisana przez Paul Vixie w dniu 12.07.2016, o
> godz. 02:39:
>
> Jakub Klama wrote:
>
>> It doesn't speak any protocol. virtio-console is a pipe. it pushes
>> bytes back and forth. Name is indeed unfortunate, it should have
>> been called virtio-pipe, but
Jakub Klama wrote:
It doesn't speak any protocol. virtio-console is a pipe. it pushes
bytes back and forth. Name is indeed unfortunate, it should have
been called virtio-pipe, but virtio-console is how the virtio
specification calls it.
if it's never going to appear as /dev/console or any
> Wiadomość napisana przez Paul Vixie w dniu 11.07.2016, o
> godz. 23:53:
>
>
>
> Jakub Klama wrote:
>> nmdm(4) emulates a serial port. how could one pass ioctls and signals via
>> serial port?
>
> i think if bhyve arranged for its virtio_console device to be its control
> Wiadomość napisana przez Peter Grehan w dniu 11.07.2016,
> o godz. 23:52:
>
> Hi Jakub,
>
>> The purpose of virtio-console is to create arbitrary bidirectional,
>> host-to-guest communication channels that bypass guest's network
>> stack (don't require working networking
Jakub Klama wrote:
nmdm(4) emulates a serial port. how could one pass ioctls and signals via
serial port?
i think if bhyve arranged for its virtio_console device to be its
control terminal, it would receive SIGWINCH from the host kernel, which
it could propagate to the guest's
Hi Jakub,
The purpose of virtio-console is to create arbitrary bidirectional,
host-to-guest communication channels that bypass guest's network
stack (don't require working networking in the guest).
Could virtio-vsock be a better solution for this ? Docker's hyperkit
has an implementation,
> Wiadomość napisana przez Paul Vixie w dniu 11.07.2016, o
> godz. 20:32:
>>> nmdm could theoretically (as pty and pts both do) support
>>> TIOCGWINSZ and SIGWINCH, though? or perhaps bhyve's virtio_console
>>> device could offer pts(4) support?
>>
>> Yeah, virtio_console
Jakub Klama wrote:
... What I meant is that virtio-console can be used as a
replacement for TCP/IP communication between host and guest (at least in
some applications). For example, it can be used by the "guest additions"
code to talk to the host.
so, kermit? :-)
nmdm could theoretically
> Jakub Klama wrote:
>> The purpose of virtio-console is to create arbitrary bidirectional,
>> host-to-guest communication
>> channels that bypass guest's network stack (don't require working networking
>> in the guest).
>
> thanks. i had no idea that the existing console support required a
Jakub Klama wrote:
The purpose of virtio-console is to create arbitrary bidirectional,
host-to-guest communication
channels that bypass guest's network stack (don't require working networking in
the guest).
thanks. i had no idea that the existing console support required a
networking
> Wiadomość napisana przez Paul Vixie w dniu 11.07.2016, o
> godz. 19:27:
>
> fwiw, bhyve's existing console support is working fine for me. i use rtty
> (from ports). my configuration looks like this:
>
> [mm1.redbarn:amd64] ls -l /usr/local/rtty/dev
> total 3
> lrwxr-xr-x
fwiw, bhyve's existing console support is working fine for me. i use
rtty (from ports). my configuration looks like this:
[mm1.redbarn:amd64] ls -l /usr/local/rtty/dev
total 3
lrwxr-xr-x 1 root wheel 11 May 18 2014 family@ -> /dev/nmdm2A
lrwxr-xr-x 1 root wheel 11 May 17 2014 guests@ ->
jceel created this revision.
jceel added reviewers: grehan, trasz.
jceel added a subscriber: freebsd-virtualization-list.
jceel set the repository for this revision to rS FreeBSD src repository.
Herald added a subscriber: imp.
REVISION SUMMARY
Adds virtio-console device support to bhyve,
16 matches
Mail list logo