In the host() function, an available port is located, bound, then released well before starting the qemu process. However, during the interval, another process could easily grab the port, causing an exception to be raised.
host()
Suggestion: Don't release the port once bound, and/or include the qemu child process execution within the for tries in range(0, 30) loop.
for tries in range(0, 30)
Is this now resolved by PR #45?
yeppers.
Metadata Update from @cevich: - Issue status updated to: Closed (was: Open)