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:
Ján Tomko 2016-05-03 12:05:27 +02:00
parent 90f27f07ed
commit ef0f90d1b8

View File

@ -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: