|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 0/3] Change XEN_DOMCTL_setvcpuaffinity interface
Today the XEN_DOMCTL_setvcpuaffinity hypercall will not only change the affinity settings of a vcpu, it will return the new effective settings, too. In case an error happens during this hypercall, the expectation of the caller is that the affinity of the vcpu didn't change. This isn't true, however, if passing the new effective affinity back to the user is failing. Instead of making error handling in the hypervisor even more complex, just change the interface by NOT passing back the new affinity. It can easily be obtained by another XEN_DOMCTL_getvcpuaffinity call if needed. Juergen Gross (3): tools/libxl: don't rely on xc_vcpu_setaffinity() returned cpumaps xen: don't let XEN_DOMCTL_setvcpuaffinity return the new affinities tools/libxenctrl: rename parameters of xc_vcpu_setaffinity() tools/include/xenctrl.h | 26 +++++----------------- tools/libs/ctrl/xc_domain.c | 26 ++++++++++------------ tools/libs/light/libxl_sched.c | 9 ++++++++ xen/common/sched/core.c | 40 ++++++++-------------------------- xen/include/public/domctl.h | 9 ++------ 5 files changed, 38 insertions(+), 72 deletions(-) -- 2.54.0
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |