xen/sched: only allow schedulers with all mandatory functions available
authorJuergen Gross <jgross@suse.com>
Tue, 28 May 2019 10:32:14 +0000 (12:32 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 11 Jun 2019 16:42:52 +0000 (17:42 +0100)
commitec25b3c0261c5d2cd59b645004178313ac3fe974
tree0e1bb4770ea8828cdac7179f36e26df1a5e82272
parentf093199132605220ad27cb516e12d12a36f02760
xen/sched: only allow schedulers with all mandatory functions available

Some functions of struct scheduler are mandatory. Test those in the
scheduler initialization loop to be present and drop schedulers not
complying.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Dario Faggioli <dfaggioli@suse.com>
xen/common/schedule.c