]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: Release auto-allocated spice ports
authorJim Fehlig <jfehlig@suse.com>
Mon, 7 Feb 2022 20:57:07 +0000 (13:57 -0700)
committerJim Fehlig <jfehlig@suse.com>
Tue, 8 Feb 2022 17:40:40 +0000 (10:40 -0700)
commit18ec405a36e24c86abe1104699c0bffdc91d5169
tree51b6dbcd62aca25d1fb9b9e5d1df4de1482238a6
parent3ef9b51b10e52886e8fe8d75e36d0714957616b7
libxl: Release auto-allocated spice ports

While VNC ports auto-allocated by the libxl driver are released in
libxlDomainCleanup, spice ports are overlooked. Rework the existing
logic to release any auto-allocated graphics ports, not just the VNC
port of the first graphics device.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/libxl/libxl_domain.c