kola spawn (platform qemu) should have an option to allow networking
Currently the qemu platform does not set up networking such that qemu can reach the outside world. This is great for tests, but obnoxious for using kola spawn when debugging. There should be a mechanism for allowing qemu to talk to the outside world.
I think this would be a great addition to --qemu-options, something like an allow_internet_connection field.
dumb question.. if we started using libvirt as a backend instead of qemu directly would we get networking for free?
We can get networking relatively easily with qemu. IIRC (someone correct me if I'm wrong) the qemu platform intentionally doesn't have networking to the outside world so qemu tests would not be dependent on things on the internet (which might go down and cause flakes).
I'm not very familiar with libvirt; so I can't really answer your question directly.