-
Notifications
You must be signed in to change notification settings - Fork 128
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
VNC subcommand in virtletctl #613
Conversation
efa3dcd
to
d863810
Compare
Review status: 0 of 5 files reviewed at latest revision, 12 unresolved discussions. pkg/tools/vnc.go, line 40 at r1 (raw file):
// vncCommand provides access to the VNC console of a VM pod pkg/tools/vnc.go, line 47 at r1 (raw file):
... that provides access to the VNC console of a VM pod pkg/tools/vnc.go, line 52 at r1 (raw file):
Provide access to the VNC console of a VM pod pkg/tools/vnc.go, line 57 at r1 (raw file):
I'd put it this way: This command forwards a local port to the VNC port used by the specified VM pod. If no local port number is provided, a random available port is picked instead. The port number is displayed after the forwarding is set up, after which the commands enters an endless loop until it's interrupted with Ctrl-C. pkg/tools/vnc.go, line 107 at r1 (raw file):
while expected to return a value of a form ... pkg/tools/vnc.go, line 109 at r1 (raw file):
instea of expected %q pkg/tools/vnc.go, line 111 at r1 (raw file):
instead of expected %q pkg/tools/vnc.go, line 113 at r1 (raw file):
instead of expected %q pkg/tools/vnc.go, line 116 at r1 (raw file):
I think it's called "display number" not "display port offset" in VNC. pkg/tools/vnc.go, line 117 at r1 (raw file):
besides "display port offset" -> "display number" remark above, s/maximal/max/ pkg/tools/vnc.go, line 118 at r1 (raw file):
virsh returned %a a a display number which is expected to be in range 0 .. %d pkg/tools/vnc.go, line 132 at r1 (raw file):
Press Ctrl-C or kill the process to stop. Comments from Reviewable |
c7bd479
to
33aa3fe
Compare
Review status: 0 of 5 files reviewed at latest revision, 12 unresolved discussions. pkg/tools/vnc.go, line 40 at r1 (raw file): Previously, ivan4th (Ivan Shvedunov) wrote…
Done. pkg/tools/vnc.go, line 47 at r1 (raw file): Previously, ivan4th (Ivan Shvedunov) wrote…
Done. pkg/tools/vnc.go, line 52 at r1 (raw file): Previously, ivan4th (Ivan Shvedunov) wrote…
Done. pkg/tools/vnc.go, line 57 at r1 (raw file): Previously, ivan4th (Ivan Shvedunov) wrote…
Done. pkg/tools/vnc.go, line 107 at r1 (raw file): Previously, ivan4th (Ivan Shvedunov) wrote…
Done. pkg/tools/vnc.go, line 109 at r1 (raw file): Previously, ivan4th (Ivan Shvedunov) wrote…
Done. pkg/tools/vnc.go, line 111 at r1 (raw file): Previously, ivan4th (Ivan Shvedunov) wrote…
Done. pkg/tools/vnc.go, line 113 at r1 (raw file): Previously, ivan4th (Ivan Shvedunov) wrote…
Done. pkg/tools/vnc.go, line 116 at r1 (raw file): Previously, ivan4th (Ivan Shvedunov) wrote…
Done. pkg/tools/vnc.go, line 117 at r1 (raw file): Previously, ivan4th (Ivan Shvedunov) wrote…
Done. pkg/tools/vnc.go, line 118 at r1 (raw file): Previously, ivan4th (Ivan Shvedunov) wrote…
Done. pkg/tools/vnc.go, line 132 at r1 (raw file): Previously, ivan4th (Ivan Shvedunov) wrote…
Done. Comments from Reviewable |
Reviewed 2 of 2 files at r1, 5 of 5 files at r2. Comments from Reviewable |
Review status: all files reviewed at latest revision, 1 unresolved discussion. pkg/tools/vnc_test.go, line 72 at r2 (raw file):
vnc command Comments from Reviewable |
Review status: 4 of 5 files reviewed at latest revision, 1 unresolved discussion. pkg/tools/vnc_test.go, line 72 at r2 (raw file): Previously, ivan4th (Ivan Shvedunov) wrote…
Done. Comments from Reviewable |
Reviewed 1 of 1 files at r3. Comments from Reviewable |
Reviewed 4 of 5 files at r2, 1 of 1 files at r3. Comments from Reviewable |
This command needs to be rebased on top of master after merging #598 on which it depends.
Todo:
This change is