-
Notifications
You must be signed in to change notification settings - Fork 424
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
2.2 : the variable %console-port% #2804
Comments
I have added a %guest-cid% variable however this will always be an unique integer between 3 and 65535 whatever the %console-port% value is. |
Sorry, I'm annoying you. I prefer that %guest-cid% is equal to %console-port% because i can easily identify each guest with this number (the popup of gns3 shows this value). (We try to write in C++ a virtual wifi which uses vsock to communicate. And i hope that i will can write a script which uses your API to know the coordinate of each VM) |
Ok should be good now, %guest-cid% is equal to %console-port% by default. |
Thank you :-) |
Hi
I believe that GNS3-gui doesn't show the variable %console-port% in the tips of "Additional setting" of Qemu.
I have a problem with the value of this variable when the console type of the VM is "none". The value of the console port is "none" : it is not a number, then qemu-system-x86_64 doesn't like it and stop.
I have tried with 0 but qemu-system-x86_64 doesn't like it too because it wants that the cid is > 2.
Can you create a variable %guest-cid% which is equal to %console-port%. But if the %console-port% is "none", %guest-cid% is equal to 3 (+ an increasing number if you have that, to identify each VM)
(PS : i have do a pull request on vpcs)
The text was updated successfully, but these errors were encountered: