mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
qemu: Remove now obsolete assignment of default network card model for s390 hosts
This effectively reverts commit 539d73dbf6
as the
changes aren't needed after introduction of the XML post parse callbacks.
This commit is contained in:
parent
74ba039f82
commit
b0216da8ee
@ -919,11 +919,6 @@ qemuDomainPrimeS390VirtioDevices(virDomainDefPtr def,
|
||||
}
|
||||
|
||||
for (i = 0; i < def->nnets ; i++) {
|
||||
if ((def->os.arch == VIR_ARCH_S390 ||
|
||||
def->os.arch == VIR_ARCH_S390X) &&
|
||||
def->nets[i]->model == NULL) {
|
||||
def->nets[i]->model = strdup("virtio");
|
||||
}
|
||||
if (STREQ(def->nets[i]->model,"virtio") &&
|
||||
def->nets[i]->info.type == VIR_DOMAIN_DEVICE_ADDRESS_TYPE_NONE) {
|
||||
def->nets[i]->info.type = type;
|
||||
|
Loading…
Reference in New Issue
Block a user