]> xenbits.xensource.com Git - libvirt.git/commitdiff
mock:qemuDomainGetUnplugTimeout: Remove unused attribute for '@vm'
authorPeter Krempa <pkrempa@redhat.com>
Thu, 23 Apr 2020 08:32:22 +0000 (10:32 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 23 Apr 2020 13:57:36 +0000 (15:57 +0200)
'@vm' is used to use a different timeout for ppc64 guests.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/qemuhotplugmock.c

index 8e5b07788ddc038571817d19ca7aecf2974305c4..8fe7fe7448232904275e9034f559ac33362318d4 100644 (file)
@@ -39,7 +39,7 @@ init_syms(void)
 }
 
 unsigned long long
-qemuDomainGetUnplugTimeout(virDomainObjPtr vm G_GNUC_UNUSED)
+qemuDomainGetUnplugTimeout(virDomainObjPtr vm)
 {
     /* Wait only 100ms for DEVICE_DELETED event. Give a greater
      * timeout in case of PSeries guest to be consistent with the