Skip to content

Attach display adapters to Windows guests - #468

Draft
sjmiller609 wants to merge 1 commit into
hypeship/windows-browser-expfrom
hypeship/windows-display-adapter
Draft

Attach display adapters to Windows guests#468
sjmiller609 wants to merge 1 commit into
hypeship/windows-browser-expfrom
hypeship/windows-display-adapter

Conversation

@sjmiller609

Copy link
Copy Markdown
Collaborator

summary

  • add an optional display adapter to the hypervisor-neutral VM configuration
  • attach QEMU standard VGA to Windows guests
  • back the display with a per-instance Unix-domain VNC socket so Windows keeps an interactive console without exposing a TCP listener

why

A QEMU Windows guest with no display backend does not retain an interactive console desktop. Desktop-session processes therefore cannot start or continue after external remote-desktop clients disconnect.

tests

  • go test ./lib/hypervisor/qemu
  • go test ./lib/instances -run TestBuildWindowsHypervisorConfig -count=1
  • make build
  • booted a Windows guest with -device VGA -display none -vnc unix:<instance>/display.sock and verified the interactive console survives without a connected display client

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