xen: allow console_io hypercalls from certain DomUs
authorStefano Stabellini <sstabellini@kernel.org>
Tue, 13 Nov 2018 16:45:49 +0000 (08:45 -0800)
committerJulien Grall <julien.grall@arm.com>
Wed, 14 Nov 2018 19:24:52 +0000 (19:24 +0000)
commitb9a4fadf94d09a4087ce655055d6091d3da8b8c9
tree8788c7abf3b5eade150a4df1cfe87828fdeb82e1
parent5dbbaa0fe121716e868294ac67a3712007843352
xen: allow console_io hypercalls from certain DomUs

Introduce an is_console option to allow certain classes of domUs to use
the Xen console. Specifically, it will be used to give console access to
all domUs started from Xen from information on device tree.

Signed-off-by: Stefano Stabellini <stefanos@xilinx.com>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Acked-by: Jan Beulich <jbeulich@suse.com>
CC: andrew.cooper3@citrix.com
CC: George.Dunlap@eu.citrix.com
CC: ian.jackson@eu.citrix.com
CC: jbeulich@suse.com
CC: konrad.wilk@oracle.com
CC: tim@xen.org
CC: wei.liu2@citrix.com
CC: dgdegra@tycho.nsa.gov
xen/include/xen/sched.h
xen/include/xsm/dummy.h