]> xenbits.xensource.com Git - libvirt.git/commit
qemu: process: Separate setup of network device objects
authorPeter Krempa <pkrempa@redhat.com>
Fri, 1 Dec 2023 21:48:55 +0000 (22:48 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 4 Jan 2024 21:26:10 +0000 (22:26 +0100)
commit2da71d8e43c59431c0a621e7065dee02199f418a
tree2adfc579c0083f7a323caadbfff38c71ae273692
parent8ea1aba680781b755929b2d124f1ba49d9c16466
qemu: process: Separate setup of network device objects

Separate the SLIRP bits from 'qemuProcessNetworkPrepareDevices' and do
the setup of the internal data when setting up domain data.

This will allow tests to use the same code path to lookup data for a
network.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_process.c