Merge "libvirt: Increase incremental and max sleep time during device detach" into stable/train

This commit is contained in:
Zuul 2021-04-24 02:38:04 +00:00 committed by Gerrit Code Review
commit 779596b5d8
1 changed files with 2 additions and 2 deletions

View File

@ -367,8 +367,8 @@ class Guest(object):
return devs return devs
def detach_device_with_retry(self, get_device_conf_func, device, live, def detach_device_with_retry(self, get_device_conf_func, device, live,
max_retry_count=7, inc_sleep_time=2, max_retry_count=7, inc_sleep_time=10,
max_sleep_time=30, max_sleep_time=60,
alternative_device_name=None, alternative_device_name=None,
supports_device_missing_error_code=False): supports_device_missing_error_code=False):
"""Detaches a device from the guest. After the initial detach request, """Detaches a device from the guest. After the initial detach request,