Spice ports
Spice ports
I have several VMs runable on my machine, and as such they are booted when required. I normally connect using the remote viewer over a spice port (5900 upwards). Is there any way to tie a specific port to a specific VM? Currently I need to use cockpit to find out which port a particular VM is attached to, and it seems almost random for any given boot.
Re: Spice ports
Yes, edit the xml and tell it to use a specific port but be aware that if you have conflicts then a 2nd VM will just refuse to start...
That's for a vnc console but spice should have something similar.
Edit: oh and autoport='no'
Code: Select all
<graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1'>
Edit: oh and autoport='no'
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
[solved] Re: Spice ports
Thanks for the prompt reply. After spending a few hours this afternoon trying to sort things out, and after you kind advice I started drawing up a schedule for which ports should go to each machine. Then I noticed that there was a virt-viewer which did nearly the same as remote-viewer but didn't appear in the menus. I say "nearly the same", but with one crucial difference, it allows you to specify the target by name, not port. I've now set up a submenu "Virtual machine consoles" with an entry for each machine and life looks a lot simpler. Thanks once again for the pointer, I'd still be looking at the tree, not the wood, otherwise.