tools: Delete XEN_DOMCTL_disable_migrate
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 11 Feb 2020 20:27:15 +0000 (20:27 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 18 Sep 2020 19:40:52 +0000 (20:40 +0100)
commitbaa4d064e91b6d2bcfe400bdf71f83b961e4c28e
treeb03f95da029e7f4b17d398f2ce179127deb99fc6
parentc729d54331ffb05abe93ed2349377092f134fdbd
tools: Delete XEN_DOMCTL_disable_migrate

It is conceptually wrong for this information to exist in the hypervisor in
the first place.  Only the toolstack is capable of correctly reasoning about
the non-migrateability of guests.

This hypercall has only ever existed to control the visibility of the
Invariant TSC flag to the guest.  Now that we have properly disentanged that
and moved ITSC into the guests CPUID policy, delete this hypercall.

Furthermore, this fixes a corner case where Xen would override the toolstacks
choice of ITSC for a xenstore stubdomain.  That said, init-xenstore-domain
doesn't currently ask for ITSC, and MiniOS doesn't know what ITSC is either,
so nothing actually changes in practice.

Bump the DOMCTL_INTERFACE_VERSION for 4.15

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
12 files changed:
tools/libs/ctrl/include/xenctrl.h
tools/libs/ctrl/xc_domain.c
tools/libxl/libxl_dom.c
tools/python/xen/lowlevel/xc/xc.c
xen/arch/arm/domctl.c
xen/arch/x86/cpuid.c
xen/arch/x86/domctl.c
xen/common/domain.c
xen/include/public/domctl.h
xen/include/xen/sched.h
xen/xsm/flask/hooks.c
xen/xsm/flask/policy/access_vectors