]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Try several network devices when looking for a default
authorAndrea Bolognani <abologna@redhat.com>
Mon, 7 Sep 2015 06:51:00 +0000 (08:51 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 10 Sep 2015 09:15:38 +0000 (11:15 +0200)
commit75036c69df7a64f97f3716396f34f78de027f38b
tree2f80f0d14f90914bf1ab3ff1b2e047097f25dda7
parentfedbb015a9084aa4dfa674cdfd813865cd3542ad
qemu: Try several network devices when looking for a default

Up until now, the default has been rtl8139, but no check was in
place to make sure that device was actually available.

Now we try rtl8139, e1000 and virtio-net in turn, checking for
availability before using any of them: this means we have a much
better chance for the guest to be able to boot.
src/qemu/qemu_domain.c