[PATCH 12/37] qemu: domain: Add qemuFDPass helpers into network private data
Ján Tomko
jtomko at redhat.com
Wed May 11 09:38:57 UTC 2022
On a Tuesday in 2022, Peter Krempa wrote:
>Prepare for the upcoming refactor to use qemuFDPass for all the network
>related file descriptors:
>
> - tapfds
> - vhostfds
> - slirp
> - vdpa
>
>This patch adds the private data variables and a utility function to
>clear it. Clearing is useful since we don't really need the data once
>the VM is running so we save some memory.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_command.c | 3 +++
> src/qemu/qemu_domain.c | 15 +++++++++++++++
> src/qemu/qemu_domain.h | 8 ++++++++
> src/qemu/qemu_hotplug.c | 3 +++
> 4 files changed, 29 insertions(+)
>
Reviewed-by: Ján Tomko <jtomko at redhat.com>
Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220511/241f368a/attachment.sig>
More information about the libvir-list
mailing list