mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemuDomainGetUnplugTimeout: Add G_GNUC_NO_INLINE
The function is mocked in qemuhotplugmock.so. Recent clang versions decided to inline it so the mock stopped working resulting in qemuhotplugtest wasting 15 seconds waiting for timeouts. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
6ed1219244
commit
2ab8dba58c
@ -5122,7 +5122,7 @@ qemuDomainResetDeviceRemoval(virDomainObjPtr vm)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
unsigned long long
|
unsigned long long G_GNUC_NO_INLINE
|
||||||
qemuDomainGetUnplugTimeout(virDomainObjPtr vm)
|
qemuDomainGetUnplugTimeout(virDomainObjPtr vm)
|
||||||
{
|
{
|
||||||
if (qemuDomainIsPSeries(vm->def))
|
if (qemuDomainIsPSeries(vm->def))
|
||||||
|
Loading…
Reference in New Issue
Block a user