]> xenbits.xensource.com Git - libvirt.git/commit
qemu: slirp: Pass FDs to qemu via qemuFDPass in the network private data
authorPeter Krempa <pkrempa@redhat.com>
Tue, 10 May 2022 14:45:12 +0000 (16:45 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 16 May 2022 07:15:46 +0000 (09:15 +0200)
commitc8633d35ca9a2918efb9fa5154e293e585baff21
tree0355fd62e377a22e0db6ffe1a976539334cf5ef2
parent812a36557d6cfa95b6d43ef98cefde0fbda18c94
qemu: slirp: Pass FDs to qemu via qemuFDPass in the network private data

Populate the 'slirpfd' qemuFDPass structure inside the private data for
passing the fd to qemu rather than using out-of-band variables.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_command.h
src/qemu/qemu_hotplug.c
src/qemu/qemu_slirp.c