Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Provide websocket support via qemu #30

Open
cdrage opened this issue Jan 14, 2025 · 1 comment
Open

Feature request: Provide websocket support via qemu #30

cdrage opened this issue Jan 14, 2025 · 1 comment

Comments

@cdrage
Copy link

cdrage commented Jan 14, 2025

QEMU has built-in websocket support, and podman machine uses qemu.

It would be highly beneficial if macadam could provide somehow websocket support by passing in:

      '-serial',
      `websocket:127.0.0.1:${websocketPort},server,nowait`,

To the QEMU command.

This allows tools such as Podman Desktop to easily consume / use, as we already have "xterm" addon / UI support as seen as by one of our extensions: https://github.com/podman-desktop/extension-bootc/blob/main/packages/frontend/src/lib/disk-image/DiskImageDetailsVirtualMachine.svelte#L66

Unsure with regards to the implementation of this, but this could be a good way for node/js/ts applications such as Podman Desktop to easily interact with VM's brought up by podman machine.

@cdrage cdrage changed the title Provide websocket support via qemu Feature request: Provide websocket support via qemu Jan 14, 2025
@cfergeau
Copy link
Owner

This would also need to be added to vfkit on top of crc-org/vfkit#113, and to hyperv if that's possible at all.

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

No branches or pull requests

2 participants