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

2016-12-12 Thread Wei Liu
On Mon, Dec 12, 2016 at 04:18:08PM +, 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 v1 5/7] tools/livepatch: Remove pointless retry loop

2016-12-12 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