]> xenbits.xensource.com Git - libvirt.git/commit
qemu: honour fatal errors dealing with qemu slirp helper
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 15 Oct 2020 11:12:15 +0000 (12:12 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 27 Oct 2020 12:03:19 +0000 (12:03 +0000)
commit99a1cfc43889c6d425a64013a12b234dde8cff1e
treef295e991489e006ccedbfa7d273e16bd8a26baab
parentae23a87d85cfc2a964123d9bd44157a411428c0a
qemu: honour fatal errors dealing with qemu slirp helper

Currently all errors from qemuInterfacePrepareSlirp() are completely
ignored by the callers. The intention is that missing qemu-slirp binary
should cause the caller to fallback to the built-in slirp impl.

Many of the possible errors though should indeed be considered fatal.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_hotplug.c
src/qemu/qemu_interface.c
src/qemu/qemu_interface.h
src/qemu/qemu_process.c
src/qemu/qemu_slirp.c