Skip to content

Qemu guest agent support#533

Open
hrosenfeld wants to merge 2 commits into
omniosorg:masterfrom
hrosenfeld:qemu-guest-agent
Open

Qemu guest agent support#533
hrosenfeld wants to merge 2 commits into
omniosorg:masterfrom
hrosenfeld:qemu-guest-agent

Conversation

@hrosenfeld
Copy link
Copy Markdown

This code was written by Patrick van der Linden of EFit Partners. My part in this is helping with review and integration.

The first commit extends socat to support I/O multiplexing to/from stdout/stdin in addition to a TCP socket, while then 2nd adds a ksh script to talk to the qemu guest agent.

At this time, this pull request should be regarded as a request for comments, not as code that's completely ready for integration.

This allows the built-in socat of the bhyve brand to allow I/O
multiplexing between stdin/stdout and a UNIX domain socket belonging
to the VM, such as a virtual COM port.

Unfortunately, the original socat implementation wasn't easily
adaptable for this, so the result looks a bit like two different
socat implementations merged in one.
This adds a new ksh script to /usr/lib/brand/bhyve, which can be used
to talk to a qemu-guest-agent inside the guest listening on the 2nd
serial port (COM2 in Windows parlance).

This change depends on the socat changes in the previous commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant