提交 30f9a64c 编写于 作者: N Nikolay Shirokovskiy

qemu: fix typo in vnc port releasing

Signed-off-by: NNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
上级 51c02bd4
...@@ -7207,7 +7207,7 @@ void qemuProcessStop(virQEMUDriverPtr driver, ...@@ -7207,7 +7207,7 @@ void qemuProcessStop(virQEMUDriverPtr driver,
if (graphics->data.vnc.autoport) { if (graphics->data.vnc.autoport) {
virPortAllocatorRelease(graphics->data.vnc.port); virPortAllocatorRelease(graphics->data.vnc.port);
} else if (graphics->data.vnc.portReserved) { } else if (graphics->data.vnc.portReserved) {
virPortAllocatorRelease(graphics->data.spice.port); virPortAllocatorRelease(graphics->data.vnc.port);
graphics->data.vnc.portReserved = false; graphics->data.vnc.portReserved = false;
} }
if (graphics->data.vnc.websocketGenerated) { if (graphics->data.vnc.websocketGenerated) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册