[libvirt] [PATCHv2] qemu: fix graphics port allocation
Eric Blake
eblake at redhat.com
Wed Feb 27 23:17:46 UTC 2013
On 02/27/2013 04:51 AM, Ján Tomko wrote:
> Only release ports that have been allocated before.
>
> This fixes these issues:
> * trying to release ports when qemuProcessStart fails before port
> allocation
> * trying to release the SPICE TLS port if spice_tls is 0
> * failing to release SPICE port with autoport=off (when only one
> of them is -1)
> ---
> v1: https://www.redhat.com/archives/libvir-list/2013-February/msg01464.html
> Use a pair of booleans in domain private data instead of a new field
> in the domain definition.
Closer, but where is this information saved across libvirtd restarts?
Hint: qemu_domain.c:qemuDomainObjPrivateXML{Format,Parse}()
I think this counts as a bug fix, so it's worth trying to get a v3 in
time for the 1.0.3 release.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130227/20b58843/attachment-0001.sig>
More information about the libvir-list
mailing list