Tests for network xml options.

If vm start fail as expected, it's better not use logging.error, and raise the origial Exception if not expected, such as:
```
except virt_vm.VMStartError, details:
    if start_error or restart_error:
        logging.info("Start vm faill as expected:\n%s", details)
    else:
        raise error.TestFail(detail)
```