mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 22:55:23 +00:00
qemu: remove superfluous setting of addrs->nbuses
This is already set by virDomainPCIAddressSetAlloc().
This commit is contained in:
parent
9b4122bf2e
commit
d4afd34110
@ -558,7 +558,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
|
||||
|
Loading…
Reference in New Issue
Block a user