freebsd-dev/sys/dev/xen
Roger Pau Monné c203fa6940 xen: add and enable Xen console for PVH guests
This adds and enables the PV console used on XEN kernels to
GENERIC/XENHVM kernels in order for it to be used on PVH.

Approved by: gibbs
Sponsored by: Citrix Systems R&D

dev/xen/console/console.c:
 - Define console_page.
 - Move xc_printf debug function from i386 XEN code to generic console
   code.
 - Rework xc_printf.
 - Use xen_initial_domain instead of open-coded checks for Dom0.
 - Gate the attach of the PV console to PV(H) guests.

dev/xen/console/xencons_ring.c:
 - Allow the PV Xen console to output earlier by directly signaling
   the event channel in start_info if the event channel is not yet
   initialized.
 - Use HYPERVISOR_start_info instead of xen_start_info.

i386/include/xen/xen-os.h:
 - Remove prototype for xc_printf since it's now declared in global
   xen-os.h

i386/xen/xen_machdep.c:
 - Remove previous version of xc_printf.
 - Remove definition of console_page (now it's defined in the console
   itself).
 - Fix some printf formatting errors.

x86/xen/pv.c:
 - Add some early boot debug messages using xc_printf.
 - Set console_page based on the value passed in start_info.

xen/xen-os.h:
 - Declare console_page and add prototype for xc_printf.
2014-03-11 10:09:23 +00:00
..
balloon Improve robustness of the Xen balloon driver. 2013-11-15 16:35:28 +00:00
blkback dtrace sdt: remove the ugly sname parameter of SDT_PROBE_DEFINE 2013-11-26 08:46:27 +00:00
blkfront Allow FreeBSD to be booted from CDROM media on XenServer 6.2 and 2013-10-13 02:34:20 +00:00
console xen: add and enable Xen console for PVH guests 2014-03-11 10:09:23 +00:00
control On XenServer the "halt" message is used instead of "poweroff", which 2013-11-09 03:07:48 +00:00
netback Somehow fix LINT-NOIP. 2013-11-01 18:42:03 +00:00
netfront Fix typo in r257515. 2013-11-10 09:36:51 +00:00
pcifront More BUS_PROBE_NOWILDCARD sweeping. Some devices here (if_ath_ahb and siba) 2013-10-29 14:19:42 +00:00
timer More BUS_PROBE_NOWILDCARD sweeping. Some devices here (if_ath_ahb and siba) 2013-10-29 14:19:42 +00:00
xenpci Add support for suspend/resume/migration operations when running as a 2013-09-20 05:06:03 +00:00