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,8 +1753,7 @@ qemuDomainDefAddDefaultDevices(virDomainDefPtr def,
addDefaultUSB = false;
break;
}
if (!qemuDomainMachineIsI440FX(def))
break;
if (qemuDomainMachineIsI440FX(def))
addPCIRoot = true;
break;