[libvirt] [PATCH v2 21/23] qemu-process: prepare slirp-helper

Michal Privoznik mprivozn at redhat.com
Fri Sep 6 11:36:12 UTC 2019


On 8/8/19 4:55 PM, marcandre.lureau at redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau at redhat.com>
> 
> When the network interface is of "user" type, and QEMU has the "-net
> socket,fd=" datagram support, call qemuInterfacePrepareSlirp() to
> probe and associate a slirp-helper with the interface.
> 
> The usage of automated slirp-helper can be prevented with
> disableSlirp (in particular when resuming a
> VM that didn't start with slirp-helper before).
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
> ---
>   src/qemu/qemu_interface.c | 27 +++++++++++++++++++++++++++
>   src/qemu/qemu_interface.h |  4 ++++
>   src/qemu/qemu_process.c   | 16 +++++++++++++---
>   3 files changed, 44 insertions(+), 3 deletions(-)
> 

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

Michal




More information about the libvir-list mailing list