qemuDomainDeviceNetDefPostParse: Switch order of conditions
qemuDomainDeviceNetDefPostParse: Switch order of conditions

A few commits back (in v6.4.0-131-gbdb8f2e418) the post parse
function for domain interface was changed so that it doesn't fill
in model for hostdev types of interfaces (including network type
interfaces which would end up hostdevs).

While the idea is sound, the execution can be a bit better:
virDomainNetResolveActualType() which is used to determine
runtime type of given interface is heavy gun - it connects to
network driver, fetches network XML, parses it. This all is
followed by check whether the interface doesn't already have
model set (from domain XML).

If we switch the order of these two checks then the short circuit
evaluation will ensure the expensive check is done only if really
needed.

This commit in fact fixes qemuxml2xmltest which due to lacking
fake network driver tries to connect to network:///session and
start the virtnetworkd. Fortunately, because of
v6.3.0-25-gf28fbb05d3 it fails to do so and
virDomainNetResolveActualType() returns -1. The only reason we
don't see the test failing is because our input XMLs have model
and thus we are saved by the latter (now former) check.

Signed-off-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>
Reviewed-by: Laine Stump <c23361c43fbf79fed83e8b76173707b083d6caf5@redhat.com>

jardasgit/libvirt,jardasgit/libvirt,zippy2/libvirt,olafhering/libvirt,nertpinx/libvirt,nertpinx/libvirt,jfehlig/libvirt,olafhering/libvirt,libvirt/libvirt,libvirt/libvirt,nertpinx/libvirt,crobinso/libvirt,zippy2/libvirt,olafhering/libvirt,libvirt/libvirt,crobinso/libvirt,jfehlig/libvirt,olafhering/libvirt,crobinso/libvirt,nertpinx/libvirt,crobinso/libvirt,zippy2/libvirt,jardasgit/libvirt,jfehlig/libvirt,libvirt/libvirt,jardasgit/libvirt,zippy2/libvirt,jfehlig/libvirt,jardasgit/libvirt,nertpinx/libvirt