mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 07:17:44 +00:00
qemu: remove leftover virResetLastError
As of commit 5d29ca0
:
qemu: switch PCI address set from hash table to an array
There is no error to be reset.
This commit is contained in:
parent
78948e1c80
commit
6c555027dd
@ -1770,7 +1770,6 @@ qemuValidateDevicePCISlotsPIIX3(virDomainDefPtr def,
|
|||||||
VIR_DEBUG("PCI address 0:0:2.0 in use, future addition of a video"
|
VIR_DEBUG("PCI address 0:0:2.0 in use, future addition of a video"
|
||||||
" device will not be possible without manual"
|
" device will not be possible without manual"
|
||||||
" intervention");
|
" intervention");
|
||||||
virResetLastError();
|
|
||||||
} else if (virDomainPCIAddressReserveSlot(addrs, &tmp_addr, flags) < 0) {
|
} else if (virDomainPCIAddressReserveSlot(addrs, &tmp_addr, flags) < 0) {
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user