]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Blank out the 'listenAddr' parameter if empty string
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 18 May 2011 13:52:26 +0000 (09:52 -0400)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 19 May 2011 11:12:45 +0000 (07:12 -0400)
commit4bfe396e1409d79fedba18339790e6031bfd5612
treeeb9c500c8b19dc89a09eef207e8d6f9ffc9ca0a4
parent8fcbc0c63c571f38cca516fceee2527c062f6005
Blank out the 'listenAddr' parameter if empty string

Some bogus apps are generating a VNC/SPICE/RFB listen attribute
with no content. This then causes a failure with the graphics
migration cookie parsing. Blank out the 'listenAddr' parameter
after parsing domain XML if it is the empty string, so the host
default takes over

* src/qemu/qemu_migration.c: Blank out listenAddr parameter
  if empty
src/conf/domain_conf.c