[PATCH 7/9] qemu: use switch instead of if in qemuProcessPrepareDomainNetwork()