Re: [Xen-devel] [PATCH v2 5/8] tools/livepatch: Remove pointless retry loop

2016-12-13 Thread Wei Liu
On Wed, Dec 14, 2016 at 07:51:57AM +, Ross Lagerwall wrote: > The default timeout in the hypervisor for a livepatch operation is 30 ms, > but xen-livepatch currently waits for up to 30 seconds for the operation > to complete. Instead, remove the retry loop and simply wait for 2 * 30 ms > for th

[Xen-devel] [PATCH v2 5/8] tools/livepatch: Remove pointless retry loop

2016-12-13 Thread Ross Lagerwall
The default timeout in the hypervisor for a livepatch operation is 30 ms, but xen-livepatch currently waits for up to 30 seconds for the operation to complete. Instead, remove the retry loop and simply wait for 2 * 30 ms for the operation to complete. The extra period is to account for the time to