Merge "libvirt: Increase incremental and max sleep time during device detach" into stable/ussuri
This commit is contained in:
commit
23712dc69a
|
@ -355,8 +355,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,
|
||||||
|
|
Loading…
Reference in New Issue