[PATCH v4 05/25] [NEW] qemu: remove superfluous setting of addrs->nbuses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]