Re: [PATCH 12/37] qemu: domain: Add qemuFDPass helpers into network private data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
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@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux