mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
qemu: fix typo in vnc port releasing
Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com> Reviewed-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
51c02bd4f9
commit
30f9a64cbd
@ -7207,7 +7207,7 @@ void qemuProcessStop(virQEMUDriverPtr driver,
|
||||
if (graphics->data.vnc.autoport) {
|
||||
virPortAllocatorRelease(graphics->data.vnc.port);
|
||||
} else if (graphics->data.vnc.portReserved) {
|
||||
virPortAllocatorRelease(graphics->data.spice.port);
|
||||
virPortAllocatorRelease(graphics->data.vnc.port);
|
||||
graphics->data.vnc.portReserved = false;
|
||||
}
|
||||
if (graphics->data.vnc.websocketGenerated) {
|
||||
|
Loading…
Reference in New Issue
Block a user