This is already set by virDomainPCIAddressSetAlloc(). --- src/qemu/qemu_domain_address.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/qemu/qemu_domain_address.c b/src/qemu/qemu_domain_address.c index d2a3237..3926b18 100644 --- a/src/qemu/qemu_domain_address.c +++ b/src/qemu/qemu_domain_address.c @@ -556,7 +556,6 @@ qemuDomainPCIAddressSetCreate(virDomainDefPtr def, if ((addrs = virDomainPCIAddressSetAlloc(nbuses)) == NULL) return NULL; - addrs->nbuses = nbuses; addrs->dryRun = dryRun; /* As a safety measure, set default model='pci-root' for first pci -- 2.7.4 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list