domctl: add force flag to xen_domctl_vcpuaffinity for undoing pin override
authorJuergen Gross <jgross@suse.com>
Wed, 9 Mar 2016 15:50:29 +0000 (16:50 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 9 Mar 2016 15:50:29 +0000 (16:50 +0100)
commit882b186d56f1b294b57ea95dd1d83bc25def3c60
tree99afe1cefd772d0546c5ca5cab19f29890afdd19
parent8fa0fca9f3fdaac1aead9cf61d678a0d8cce02e2
domctl: add force flag to xen_domctl_vcpuaffinity for undoing pin override

Add a XEN_VCPUAFFINITY_FORCE flag to xen_domctl_vcpuaffinity structure
which will allow to undo a SCHEDOP_pin_override in case of a driver
error of the hardware domain which didn't do the expected
SCHEDOP_pin_override with cpu < 0 which would have done the undo
operation.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/common/domctl.c
xen/include/public/domctl.h