[PATCH v1 11/34] qemuDomainAttachDeviceMknodHelper: Create more files in a single go
jtomko at redhat.com
Fri Jul 24 15:04:24 UTC 2020
On a Wednesday in 2020, Michal Privoznik wrote:
>So far, when attaching a device needs two or more /dev nodes
>created into a domain, we fork off and run the helper for every
>node separately. For majority of devices this is okay, because
>they need no or one node created anyway. But the idea is to use
>this attach code to build the namespace when starting a domain,
>in which case there will be way more nodes than one.
>To achieve this, the recursive approach for handling symlinks has
>to be turned into an iterative one.
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> src/qemu/qemu_domain_namespace.c | 298 +++++++++++++++++++------------
> 1 file changed, 185 insertions(+), 113 deletions(-)
Reviewed-by: Ján Tomko <jtomko at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: not available
More information about the libvir-list