mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-24 05:25:18 +00:00
qemu: Remove explicit VNC XML cleanup
This only exists for a certain cleanup path in StartVMDaemon, but is unneeded since domain_conf.c handles this for us automatically.
This commit is contained in:
parent
b6992818c6
commit
4da188ea3d
@ -3577,10 +3577,6 @@ cleanup:
|
||||
driver->securityDriver->domainReleaseSecurityLabel)
|
||||
driver->securityDriver->domainReleaseSecurityLabel(vm);
|
||||
qemuRemoveCgroup(driver, vm, 1);
|
||||
if ((vm->def->ngraphics == 1) &&
|
||||
vm->def->graphics[0]->type == VIR_DOMAIN_GRAPHICS_TYPE_VNC &&
|
||||
vm->def->graphics[0]->data.vnc.autoport)
|
||||
vm->def->graphics[0]->data.vnc.port = -1;
|
||||
if (logfile != -1)
|
||||
close(logfile);
|
||||
vm->def->id = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user