]> 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:21:10 +0000 (17:21 +0200)
commit2136327e23a7c87e7a75e4fd69faa5b2e8771d38
tree1a5d49f3e901f69d2418ef7c25a252fc8ea0dd03
parent64919d978e4cc910a4475f77c0f04b866051935d
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.
src/qemu/qemu_migration.c