]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: escape literal IPv6 address in NBD migration
authorJán Tomko <jtomko@redhat.com>
Fri, 31 May 2013 11:24:06 +0000 (13:24 +0200)
committerJán Tomko <jtomko@redhat.com>
Fri, 31 May 2013 15:28:31 +0000 (17:28 +0200)
commit894f784948a93760629de3cb195c69ef4f4b831f
treeb6f31fd699aeff8c9d8bc7394a2caf0aa01e7aa0
parent0ecc5ad70d7b416a4f98b89781e5b7a5666ca125
qemu: escape literal IPv6 address in NBD migration

A literal IPv6 must be escaped, otherwise migration fails with:
unable to execute QEMU command 'drive-mirror': address resolution failed
for f0::0d:5901: Servname not supported for ai_socktype
since QEMU treats everything after the first ':' as the port.
(cherry picked from commit 2136327e23a7c87e7a75e4fd69faa5b2e8771d38)
src/qemu/qemu_migration.c