mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 22:55:23 +00: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)
|
||||
{
|
||||
if (qemuDomainIsPSeries(vm->def))
|
||||
|
Loading…
Reference in New Issue
Block a user