]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: Report stderr from qemu-bridge-helper
authorCole Robinson <crobinso@redhat.com>
Thu, 10 Sep 2015 16:35:00 +0000 (12:35 -0400)
committerCole Robinson <crobinso@redhat.com>
Fri, 11 Sep 2015 16:57:42 +0000 (12:57 -0400)
commitdb35beaa1d276cc229dcbbc8460ce2fccdda5084
tree898a381e00a025d453189e289d6285a42ad27c6f
parent427067f7ed880abb053ffe8f5b904b0be4af8195
qemu: command: Report stderr from qemu-bridge-helper

There's a couple reports of things failing in this area (bug 1259070),
but it's tough to tell what's going wrong without stderr from
qemu-bridge-helper. So let's report stderr in the error message

Couple new examples:

virbr0 is inactive:
internal error: /usr/libexec/qemu-bridge-helper --use-vnet --br=virbr0 --fd=21: failed to communicate with bridge helper: Transport endpoint is not connected
stderr=failed to get mtu of bridge `virbr0': No such device

bridge isn't on the ACL:
internal error: /usr/libexec/qemu-bridge-helper --use-vnet --br=br0 --fd=21: failed to communicate with bridge helper: Transport endpoint is not connected
stderr=access denied by acl file
src/qemu/qemu_command.c