-- a/src/qemu/qemu_command.c
++ b/src/qemu/qemu_command.c
if (virDomainDeviceInfoIterate(def, qemuCollectPCIAddress, addrs) < 0)
goto error;
/* first 3 slots are reserved for hardcoded devices */
addrs->nextslot = 3;
return addrs;
no_memory: