1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/instances
catborise 7fe79463fc fix(instances): saving a SPICE console's settings keeps it SPICE
The console type list offers VNC and Serial only, so the page of a SPICE
VM showed VNC and any save, of the keymap alone, switched the console:
libvirt refused the definition when the VM had a SPICE channel, and
without one the VM silently got a new VNC console. A console type the
panel does not create is now offered as it is, and kept on save.

A switch from SPICE that is chosen removes the SPICE channels, USB
redirection and smartcards libvirt refuses without SPICE graphics and
mutes SPICE audio. A new VNC console keeps the keymap and a password VNC
can take; a longer one is replaced by a generated password.

The console settings were read from the first graphics device that had
each attribute: with VNC and SPICE devices the page showed VNC's port
with SPICE's password. All are read from the first device, the one the
settings change.
2026-11-13 22:49:21 +03:00
..
api fix(instances): the REST API's list of all VMs reads the hosts first 2026-11-13 16:07:01 +03:00
migrations fix(instances): a VM name of any length libvirt takes is kept 2026-11-10 13:11:22 +03:00
templates fix(instances): a VNC password the browser console can send, kept as set 2026-11-13 22:49:12 +03:00
templatetags fix(instances): a disk resize form grows the disk it showed 2026-11-12 22:09:34 +03:00
tests fix(instances): saving a SPICE console's settings keeps it SPICE 2026-11-13 22:49:21 +03:00
__init__.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
addresses.py fix(instances): one guest's bad address no longer ends a search or the VM report 2026-11-13 16:07:12 +03:00
apps.py format python code with black 2022-11-02 08:54:35 +03:00
forms.py fix(instances): saving a SPICE console's settings keeps it SPICE 2026-11-13 22:49:21 +03:00
jobs.py fix(instances): a new VM's disk cache goes with the disk I/O of Settings 2026-11-13 13:58:46 +03:00
models.py fix(instances): a failed power cycle says the VM stays off; templates have no autostart 2026-11-11 15:17:59 +03:00
report.py perf: the Logs and VM report downloads are written row by row 2026-11-05 18:58:13 +03:00
states.py feat(instances): the Power tab shows the VM's state and where each action takes it 2026-11-03 19:22:52 +03:00
urls.py perf(instances): a VM page does not wait for the guest agent's addresses 2026-11-07 15:42:49 +03:00
utils.py fix(instances): a host that does not answer no longer holds the VM lists 2026-11-13 16:07:01 +03:00
views.py fix(instances): a VNC password the browser console can send, kept as set 2026-11-13 22:49:12 +03:00