mirror of https://gitee.com/openkylin/libvirt.git
Invert condition in qemuDomainDefAddDefaultDevices
For all the other machine types, we use a positive condition. Be more positive and use it for i440fx too.
This commit is contained in:
parent
90f27f07ed
commit
ef0f90d1b8
|
@ -1753,9 +1753,8 @@ qemuDomainDefAddDefaultDevices(virDomainDefPtr def,
|
|||
addDefaultUSB = false;
|
||||
break;
|
||||
}
|
||||
if (!qemuDomainMachineIsI440FX(def))
|
||||
break;
|
||||
addPCIRoot = true;
|
||||
if (qemuDomainMachineIsI440FX(def))
|
||||
addPCIRoot = true;
|
||||
break;
|
||||
|
||||
case VIR_ARCH_ARMV7L:
|
||||
|
|
Loading…
Reference in New Issue