]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Set correct migrate host in client_migrate_info
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 10 Apr 2013 15:16:06 +0000 (17:16 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 11 Apr 2013 10:32:17 +0000 (12:32 +0200)
commit7f15ebc7a2b599ab10dbc15bca6f823591213e67
tree25fd9eff35be6b794a2a7e86210dbdc02b2d7544
parent74bff2509080912ea8abf1de8fd95fa2412b659a
qemu: Set correct migrate host in client_migrate_info

https://bugzilla.redhat.com/show_bug.cgi?id=920441

Currently, we are discarding listen attribute from qemu cookie even though
we strive to gather it. This result in not so cool bug: if user have
different networks, one for management/migration, and one for VNC/SPICE we
pass incorrect host to the qemu in client_migrate_info. What we actually
pass is remote hostname, while we should be passing remote listen address.
It doesn't matter as long as these two are the same, but they don't need
necessary to be like that.
src/conf/domain_conf.c
src/qemu/qemu_migration.c