aboutgitcodebugslistschat
path: root/tap.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-05-12 08:35:36 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-05-12 08:35:36 +0200
commit5307faa05997a525fc978308ff994a7595b2a9c5 (patch)
tree697f8c85fd27f06dc36b5cf18ab1eed95380a9c8 /tap.c
parent7503332a1eb811559d3a3eb97f53ba240ea631d5 (diff)
downloadpasst-5307faa05997a525fc978308ff994a7595b2a9c5.tar
passt-5307faa05997a525fc978308ff994a7595b2a9c5.tar.gz
passt-5307faa05997a525fc978308ff994a7595b2a9c5.tar.bz2
passt-5307faa05997a525fc978308ff994a7595b2a9c5.tar.lz
passt-5307faa05997a525fc978308ff994a7595b2a9c5.tar.xz
passt-5307faa05997a525fc978308ff994a7595b2a9c5.tar.zst
passt-5307faa05997a525fc978308ff994a7595b2a9c5.zip
qrap: Strip network devices from command line, set them up according to machine
The previous approach wasn't really robust: adding a -netdev option without libvirt knowing could result in clashes with other devices. Drop network devices from command line, check the available busses and addresses from all -device options according to the -machine parameter, and add a virtio-net device using an available address or bus. Then, add a corresponding -netdev socket option. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tap.c')
0 files changed, 0 insertions, 0 deletions