]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Remove qemu_hotplugpriv.h and qemuDomainRemoveDeviceWaitTime
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 18 Oct 2019 18:36:33 +0000 (15:36 -0300)
committerCole Robinson <crobinso@redhat.com>
Wed, 13 Nov 2019 20:03:40 +0000 (15:03 -0500)
commit2fe78a833ee67f70228f9c992904147faab5cc1b
treecf3222478f10068bc88188c8befcec765bda4fa9
parente03e27ee087e7de75786b11ab42b9224fa0d4185
qemu: Remove qemu_hotplugpriv.h and qemuDomainRemoveDeviceWaitTime

qemu_hotplugpriv.h is a header file created to share a global variable
called 'qemuDomainRemoveDeviceWaitTime', declared in qemu_hotplug.c,
to other files that would want to change the timeout value
(currently, only tests/qemuhotplugtest.c).

Previous patch deprecated the variable, using qemu_driver->unplugTimeout
to set the timeout instead. This means that the header file is now
unused, and can be safely discarded.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/qemu/Makefile.inc.am
src/qemu/qemu_hotplug.c
src/qemu/qemu_hotplugpriv.h [deleted file]
tests/qemuhotplugtest.c