]> xenbits.xensource.com Git - people/royger/xen.git/commit
libxc: do some retries in xc_cpupool_removecpu() for EBUSY case
authorJuergen Gross <jgross@suse.com>
Thu, 24 Mar 2016 17:44:50 +0000 (18:44 +0100)
committerJuergen Gross <jgross@suse.com>
Thu, 24 Mar 2016 17:50:11 +0000 (18:50 +0100)
commit1ef6beea187bca8d11152b6c7d987b2b9450f936
treebb088a10358881b6e0e5f1f31ab43516cac4e1a9
parent0d42d461c21685258ac9c17bec7eaeb9ac2fce4c
libxc: do some retries in xc_cpupool_removecpu() for EBUSY case

The hypervisor might return EBUSY when trying to remove a cpu from a
cpupool when a domain running in this cpupool has pinned a vcpu
temporarily. Do some retries in this case, perhaps the situation
cleans up.

Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/xc_cpupool.c