[PATCH 2/6] qemu: reorganize qemuValidateDomainDeviceDefNetwork()