]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainAttachNetDevice: Don't construct network device properties under monitor...
authorPeter Krempa <pkrempa@redhat.com>
Mon, 9 May 2022 14:39:48 +0000 (16:39 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 16 May 2022 07:15:46 +0000 (09:15 +0200)
commit3e9cc6e78e40a1f7c17fa3bc96b04389b5f25f1c
tree764f8192f2e43f838f77ed7d4e39bf69a9f16fea
parent29067596f205902504cedc6958b2b02316bc2b07
qemuDomainAttachNetDevice: Don't construct network device properties under monitor lock

After the 'qemuFDPass' code was refactored we no longer need to hand off
the FD to qemu before we know the path for it.

Thus the call to qemuBuildHostNetProps can be moved outside of the
monitor critical section.

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_hotplug.c