
On Thu, 2018-11-29 at 21:12 +0100, infos@nafets.de wrote:
However, I notice that you are using '--network none' and so of course there is no network connectivity inside the guest. My own attempts at fixing this were unsuccessful, in that I can get a PCI device such as rtl8139 or even virtio-net-pci to be detected by the guest, but the corresponding drivers are not included in the kernel downloaded from the GitHub repository linked above; the versatilepb board's own integrated network device (smc91c111), on the other hand, seems not to support instantiation via -device and is thus not usable without adding hacks to libvirt. Did you manage to get network functionality working some other way?
No, I did not get network going yet. I saw the same two options, either hack libvirt to be able to deal with default NIC or add virtio support to the kernel.
I gave the second option a try and confirmed it works; based on those results, I've opened https://github.com/dhruvvyas90/qemu-rpi-kernel/pull/63 Let's see whether or not the maintainer likes the approach :) In the meantime, I have tweaked your patches as agreed upon and pushed them. Congratulations on your first contribution to libvirt! -- Andrea Bolognani / Red Hat / Virtualization